Hey there, this script stopped working after the most recent update. The error logs showed this message, when the script initially tried to decrease brightness, starting last night:
error: unsupported operand type(s) for +=: ‘nonetype’ and ‘int’ home assistant
So I deleted and recreated the script, having found similar issues fixed in the same way since updating to major release Core 7, but now it just doesn’t execute - no errors, it runs the first action, then does nothing.
sequence:
- type: turn_on
device_id: 1889e75b724cf08a32723b7fa7a299e4
entity_id: light.master_bedroom_light_2
domain: light
brightness_pct: 30
- wait_template: '00:05:00'
- device_id: 1889e75b724cf08a32723b7fa7a299e4
domain: light
entity_id: light.master_bedroom_light_2
type: brightness_decrease
- wait_template: '00:05:00'
- device_id: 1889e75b724cf08a32723b7fa7a299e4
domain: light
entity_id: light.master_bedroom_light_2
type: brightness_decrease
- wait_template: '00:05:00'
- type: turn_off
device_id: 1889e75b724cf08a32723b7fa7a299e4
entity_id: light.master_bedroom_light_2
domain: light
mode: single
alias: Bedtime Lights
Again, the only changes I’ve made were the Core 7.4 update. Any help is much appreciated!