Hi,
I try to automate my night
i use panasonic_viera component and i have two weird things
- if i restart HA with my tv off, HA don’t see my tv. if my tv is on HA catch it.
- when i test state of media_player automation doesn’t start.
- alias: "Allume chambre le soir"
trigger:
- platform: state
entity_id: media_player.panasonic_viera
from: 'on'
to: 'off'
condition:
- condition: state
entity_id: input_boolean.tvoffchambre
state: 'on'
action:
service: light.turn_on
entity_id: light.chambre
data:
brightness: 255