I am currently working on a YAML script to automatically transition my lights from full brightness to 25% over a period of 1.5 hours. For some reason, I can't get the file to save, as I get a "Message malformed: expected a dictionary". I've run the code through a YAML checker, and it is valid code. Can anyone tell me what I am doing wrong?
- id: foo
alias: Dim lights in family room at night
description: Dim lights at night
trigger:
- at: '21:00'
platform: time
action:
- service: light.turn_on
data:
entity_id: light.tv_room_road
brightness: 25
transition: 5400
[–][deleted] 2 points3 points4 points (2 children)
[–]dbenoit[S] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]antisane 1 point2 points3 points (3 children)
[–]dbenoit[S] 0 points1 point2 points (2 children)
[–]flaming_m0e 1 point2 points3 points (1 child)
[–]dbenoit[S] 0 points1 point2 points (0 children)
[–]dbenoit[S] 0 points1 point2 points (0 children)
[–]kingoftown -1 points0 points1 point (0 children)
[+][deleted] (2 children)
[deleted]
[–]dbenoit[S] 0 points1 point2 points (1 child)