I setup an automation in #HomeAssistant yesterday that when you pause or turn off the TV, and the lights in the room are off, it'll turn one on so you can see in the dark room.

My wife, upon seeing it run (I didn't tell her I'd set it up), looked at me and said "I knew I was marrying a geek, but you're trying to outdo yourself".

I'm taking this as a challenge.

@slace that’s a good one. How? I use Apple TV almost exclusively and I think that limits me somewhat. Have good light scenes when the TV goes on/off but mid-show interactivity is low.
@Chris Don't have an AppleTV so I don't know what it's HA integration is like, but for mine I get a variety of states for the TV depending on what you press.
@slace oh nice, from the telly itself? My TV is not very smart so I use an IR blaster and third party remote that talks to it via HA instead of letting the TV think it’s in charge of anything. Might be SOL on this one.

@Chris Yeah, it's a new TV with Google TV built in, so that's what's reporting it.

Apple TV reports being a media player (https://www.home-assistant.io/integrations/apple_tv/#media_player) so you might get more state options.

I need to tweak it a bit though, as when I accidentally changed inputs, it thought it went off, when really it was just the "Google TV" part that was off, but my Xbox would be where I'm now at.

Apple TV

Instructions on how to integrate Apple TV devices into Home Assistant.

Home Assistant
@slace every time HASS goes a bit nuts (because I mis configured something) all I can think of is the old IT Crowd scene with the lie detector or whatever it was “the needle’s flipping out!!”
@Chris hah yeah I have some of that with the lights in the kids bedrooms. Sometimes the reported state is not matching the visual state