ok, it’s been holding steady for nearly 12 hours now, so the workaround seems to be ok. The workaround code currently looks like this:
alias: StudyTRVFix
description: ''
trigger:
- platform: mqtt
topic: zigbee2mqtt/StudyTRV
condition: []
action:
- service: mqtt.publish
data:
topic: '{{ trigger.topic }}/set/occupied_heating_setpoint'
payload_template: '{{ state_attr(''climate.studytrv'', ''occupied_heating_setpoint'') }}'
mode: single
I need to see if I can make it trigger on any TRV update, not just the study one, and then see if I can pass the TRV that triggered it into the payload template.