@Ändroid_15
en omväg men det verkar fungera bättre om man använder skript editeraren i Google home
Kod:
metadata:
name: Timed change brightness and color
description: Example of scheduled change of light brightness and color
automations:
- starters:
- type: time.schedule
at: 07:00
weekdays:
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- Sunday
actions:
- type: device.command.OnOff
devices:
- stjärna2 - Julbelysning
on: true
- type: device.command.BrightnessAbsolute
devices:
- stjärna2 - Julbelysning
brightness: 60
- type: device.command.ColorAbsolute
devices:
- stjärna2 - Julbelysning
color:
name: candlelight
*till 99% skapat av Google Gemini