cancel
Showing results for 
Search instead for 
Did you mean: 

Google tv streamer automation broken

JSAINI23
Community Member

So i had the following automation

# ------------------------------------------------------------------------------------------ #

# Lines starting with “#” are comments and will be ignored by the automation.

# Indentation determines hierarchy within the script.

# Visit g.co/home/script-editor-docs for full documentation.

# ------------------------------------------------------------------------------------------ #

 

metadata:

  name: tv light adjustment and brightness control

  description: Adjust light brightness when the TV is playing and raise brightness when TV is paused or stopped.

 

automations:

  # ---- STARTERS ---- #

  # Starter for when the TV is playing

  - starters:

      - type: device.state.MediaState

        state: playbackState

        is: PLAYING

        device: Living Room TV - Living Room

 

    condition:

      type: device.state.OnOff

      state: on

      is: true

      device: Floor Lamp - Living Room

 

    actions:

      - type: device.command.BrightnessAbsolute

        brightness: 30

        devices: Floor Lamp - Living Room

 

  # Starter for when the TV is paused or stopped

  - starters:

      - type: device.state.MediaState

        state: playbackState

        is: PAUSED

        device: Living Room TV - Living Room

 

      - type: device.state.MediaState

        state: playbackState

        is: STOPPED

        device: Living Room TV - Living Room

 

    condition:

      type: device.state.OnOff

      state: on

      is: true

      device: Floor Lamp - Living Room

 

    actions:

      - type: device.command.BrightnessAbsolute

        brightness: 100

        devices: Floor Lamp - Living Room

 

 

But since getting google tv streamer and ditching my old chromecast it says mediastate is not supported...can someone help?

 

5 REPLIES 5

JSAINI23
Community Member

Anyone?

Scott22
Community Member

Same here for me (in Australia) help would be appreciated 🙂

Also noticed that the "appSelector" trigger isn't working either but works when I use the old Chromecast again. 

JSAINI23
Community Member

Yea im in aus too maybe it's a regional thing... who knows... no responses so far...i have given up

CaptainKirk406
Community Member

The same is true for me in the U.S.

Man feels like  im soending more money to get less features. Not hapoy but it is what it is...i guess home assistant is the way to go