09-29-2024 03:11 AM
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?
09-30-2024 12:38 AM
Anyone?
10-07-2024 10:03 PM
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.
10-08-2024 12:43 AM
Yea im in aus too maybe it's a regional thing... who knows... no responses so far...i have given up
10-29-2024 07:35 PM
The same is true for me in the U.S.
10-30-2024 04:43 AM
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