config for Trv01:
## BluTrv01 Thermostat mqtt settings
- climate:
name: "BluTrv01Climate"
unique_id: "aa:44:77:37:c0:23"
current_temperature_topic: "shellyblugwg3-aacdb0784278/status/bthomesensor:203"
current_temperature_template: "{{ value_json.value }}"
max_temp: 30
min_temp: 4
temp_step: 0.1
temperature_state_topic: "shellyblugwg3-aacdb0784278/status/bthomesensor:202"
temperature_state_template: "{{ value_json.value }}"
temperature_command_template: "{{ {'id': 0, 'src': 'homeassistant', 'method': 'BluTRV.Call', 'params': {'id': 200, 'method': 'TRV.SetTarget', 'params': {'id': 0, 'target_C': value | round(1)}}} | to_json }}"
temperature_command_topic: "shellyblugwg3-aacdb0784278/rpc"
mode_state_topic: "shellyblugwg3-aacdb0784278/status/bthomesensor:202"
mode_state_template: "{{ 'off' if value_json.value == 4 else 'heat' }}"
modes: ["heat", "off"]
mode_command_topic: "shellyblugwg3-aacdb0784278/rpc"
mode_command_template: "{% set target = 4 if value == 'off' else 21 %}{{ {'id': 0, 'src': 'homeassistant', 'method': 'BluTRV.Call', 'params': {'id': 200, 'method': 'TRV.SetTarget', 'params': {'id': 0, 'target_C': target}}} | to_json }}"
availability:
- topic: "shellyblugwg3-aacdb0784278/online"
payload_available: "true"
payload_not_available: "false"
- topic: "shellyblugwg3-aacdb0784278/status/rpc"
value_template: "{%if value_json.mqtt.connected%}online{%else%}offline{%endif%}"
device:
connections:
- - bluetooth
- aa:44:77:37:c0:23
name: BluTrv01Climate
model: Shelly BLU TRV
model_id: SBTR-EU867E
manufacturer: Allterco Robotics