I have a remote relay/temperature sensor that acts as a thermostat and communicates via MQTT with HA. It maintains a target temperature that is set within HA. I have tried to setup automations, to lower the target temperature overnight, and another to reset it in the morning, using the format below:
automation:
- alias: Reduce the target temperature overnight
initial_state: True
hide_entity: False
trigger:
platform: time
minutes: '50'
condition:
condition: time
after: '21:45:00'
before: '06:00:00'
action:
service: climate.set_temperature
data:
temperature: 14
- alias: Reset the target temperature
initial_state: True
hide_entity: True
trigger:
platform: time
after: '06:00:00'
action:
service: climate.set_temperature
data:
temperature: 20.5
this works ok, but the change is not recorded in the history. it is displayed in the climates state in the UI but the history component shows the target temperature permanently low, i.e. 14°. Have I missed a config? Thanks