Hi.
I’m trying to create an automation where the display on the thermostat is turned off (dimmed to zero) at night.
But I receive an error while running it.
First, when I try to create the automation, if the brightness is set to 0, I get this error:
Message malformed: not a valid value for dictionary value @ data['type']
If I set the value to other than 0, I’m able to save the automation, but when I’m running it, the trace says:
Executed: October 18, 2021, 10:00:05 AM
Error: 'type'
The complete automation looks like this:
alias: Turn off light on thermostat at 22
description: ''
trigger:
- platform: time
at: '22:00:00'
condition: []
action:
- device_id: 54bd3648e0e54ab1afbd95370bc36886
domain: zwave_js
type: set_config_parameter
parameter: 14
bitmask: null
subtype: 21-112-0-14 (Button brightness - dimmed state)
value: 0
- device_id: 54bd3648e0e54ab1afbd95370bc36886
domain: zwave_js
type: set_config_parameter
parameter: 15
bitmask: null
subtype: 21-112-0-15 (Button brightness - active state)
value: 0
- device_id: 54bd3648e0e54ab1afbd95370bc36886
domain: zwave_js
type: set_config_parameter
parameter: 16
bitmask: null
subtype: 21-112-0-16 (Display brightness - dimmed state)
value: 0
- device_id: 54bd3648e0e54ab1afbd95370bc36886
domain: zwave_js
type: set_config_parameter
parameter: 17
bitmask: null
subtype: 21-112-0-17 (Display brightness - active state)
value: 0
mode: single
What could be wrong? Is it a bug, or is it me?
Thanks.