Media_player panasonic automation state

Hi,

I try to automate my night :confused:
i use panasonic_viera component and i have two weird things

  1. if i restart HA with my tv off, HA don’t see my tv. if my tv is on HA catch it.
  2. 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

Hey hokagegano,

did you solve this? I’m finding the same issue.

Thanks.

D