Target temperature change not being logged when changed via automation

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

No one? Seems like a fairly common setup, so are other climate setups logging the climate.set_temperature changes correctly, or am I missing something fundamental? Appears to be some issues with generic thermostat anyway, in terms of how the data is displayed, as the graphs in history show:

  • a flatline ‘Heating current temperature’
  • the (correct) ‘Temperature’
  • ‘Heating target temperature’ that does not reflect current state as set by climate.set_temperature and as displayed within climate state in frontend

whilst the frontend pop-up climate state history graph shows:

  • (correct) ‘Heating current temperature’
  • ‘Heating target temperature’ states that have been manually set, but no changes set via climate.set_temperature

Any corroboration/suggestions? thanks

EDIT: the lack of history for target temp has been resolved with the update to 0.31.1. Cools