YAML Newbie, stuck on what should be an easy question (using state attributes instead of numeric value)