I’m having trouble with an automation. It works but throws an error. It’s about a Bosch Radiator Thermostat II that I’ve connected via Zigbee2MQTT. The automation is supposed to send the external temperature to the thermostat every 10 minutes. For this, I have the following YAML code.
triggers:
- minutes: /10
trigger: time_pattern
conditions: []
actions:
- action: number.set_value
metadata: {}
data:
value: >-
{{
states('sensor.xiaomi_temperatur_feuchtigkeit_wohnzimmer_temperature')
}}
target:
device_id: 48dcde30b46b359c50fad282d0d45621
entity_id: number.heizkorperthermostat_wohnzimmer_remote_temperature
mode: single
When the automation runs, it sends the values to the thermostat’s remote_temperature
, but for some reason, it also sends them to display_ontime
. In the trace, the following error message appears.
Fehler: Value 21.5 for number.heizkorperthermostat_wohnzimmer_display_brightness is outside valid range 0.0 - 10.0
Ergebnis:
params:
domain: number
service: set_value
service_data:
value: 21.5
device_id:
- 48dcde30b46b359c50fad282d0d45621
entity_id:
- number.heizkorperthermostat_wohnzimmer_remote_temperature
target:
device_id:
- 48dcde30b46b359c50fad282d0d45621
entity_id:
- number.heizkorperthermostat_wohnzimmer_remote_temperature
running_script: false
Am I doing something wrong? I would really appreciate any information.