zacs / ha-nfl

NFL game scores custom component for Home Assistant
42 stars 32 forks source link

automation state trigger by "last play" attribute #48

Closed jenniferlee1818 closed 8 months ago

jenniferlee1818 commented 8 months ago

When setting up my automation state trigger, "last_play" is missing from the attribute dropdown.

zacs commented 8 months ago

My guess is that when the attr is unavailable, it won't show up in the automations UI. I would just choose another attribute when you make the automation in the UI, then go into YAML editing mode and change nfl.whatever_you_randomly_picked to nfl.last_play.

jenniferlee1818 commented 8 months ago

Thanks that works. I guess I never knew that unavailable attributes don't show up in the UI. And in the attribute dropdown is "Attribution" just something odd I noticed.