I’m fiddling with this topic again because the connectivity with WiFi is really bad.
And this settings actually work. I will continue expanding this settings.
mqtt:
sensor:
- name: "Shelly-TRV Bad Target_t"
unit_of_measurement: "°C"
#expire_after: 86400
device_class: temperature
icon: mdi:home-thermometer-outline
qos: 1
state_topic: "shellies/shellytrv-8CF6811CA673/status"
value_template: "{{ value_json.target_t.value }}"
- name: "Shelly-TRV Bad Temperatur"
unit_of_measurement: "°C"
#expire_after: 86400
device_class: temperature
icon: mdi:home-thermometer-outline
qos: 1
state_topic: "shellies/shellytrv-8CF6811CA673/status"
value_template: "{{ value_json.tmp.value }}"
- name: "Shelly-TRV Bad Batterie"
unit_of_measurement: "%"
#expire_after: 86400
device_class: battery
icon: mdi:battery
qos: 1
state_topic: "shellies/shellytrv-8CF6811CA673/info"
value_template: "{{ value_json.bat.value }}"
This is how I set the target_t
service: mqtt.publish
data:
qos: "1"
retain: false
topic: shellies/shellytrv-8CF6811CA673/thermostat/0/command/target_t
payload_template: "{{ states('input_number.temperatur_ziel_hoch')|float(0) }}"