they were suggesting an eve energy plug, a physical device to control the power going to your TV. You won't necessarily use it to turn the power going to your TV on and off, but they let you monitor power usage in real time, so you should be able to tell from that if the TV is on or not. You have to use the eve app to create that automation, since the home app won't let you trigger on power usage.
the aTV won't show in the eve app. it doesn't support multimedia devices. I'm pretty sure it just started supporting TVs with iOS 18.
Is your TV smart at all? the plugin says "This plugin should support ALL the TV models supported by Panasonic's own "Panasonic TV Remote TV 3" mobile app"
Homebridge plugin for Panasonic™ Viera™ TVs (includes support for 2018 and later models) - GitHub - AntonioMeireles/homebridge-vieramatic: Homebridge plugin for Panasonic™ Viera™ TVs (includes sup...
github.com
So right now it sounds like your options are
--trying eve energy, and seeing if power usage change will work for you. I have an extra one at home, I can try it on my TV (LG OLED) to see if it works, but might be a couple days.
--homebridge
-- with a Panasonic plugin if your TV supports it
-- with an appleTV plugin.
The eve energy will be the easiest to set up.
Homebridge with the Panasonic plugin will give you the closest to a native homekit TV, as you'll be able to control power and inputs using homekit. You could also trigger different scenes if you change from HDMI1 to HDMI2.
homebridge will require you to be running a computer 24/7, a raspberry pi will work. Or it's also supported on some NAS devices. you can also run it on any windows, Mac, or linux computer as long as it's awake all the time.