It would be nice if the HDMI-CEC component could check if the TV was off/on and set a device to on or off.
Have you looked at:
Yes I am using it to send commands. if I manually turn on the TV I would like home assistant to know the cec device is on.
Ditto. If you come up with a solution, please post back here.