I’ve got a flow where I’m trying to turn off my TV after a source has been on for a set amount of time.
Either the Amazon Launcher, HAL Launcher, or KODI is idle.
The Fire TV gives me the source in the payload under “data.new_state.attributes.source”
I’m trying to use a switch to filter out the sources mentioned above but can’t get it to work.
The switch is not working. Nothing comes out.
Here’s what i got.
![20%20PM](http://community-assets.home-assistant.io/original/3X/5/6/56ad73af375edd68105904aa684d1d6ecdae3bc4.png)
![28%20PM](http://community-assets.home-assistant.io/original/3X/c/3/c35b675913bc665475a3be84a566855ab29c3e8e.png)