New configuration with HVAC action support (firmware 20250109-090619/1.5.0-beta1-g16e0ef4
for BLU Gateway required)
mqtt:
- climate:
name: "Shelly BLU TRV Thermostat"
unique_id: "112233445566"
current_temperature_topic: "shellyblugwg3-aabbccddeeff/status/blutrv:200"
current_temperature_template: "{{value_json.current_C}}"
max_temp: 30
min_temp: 4
temp_step: 0.1
temperature_state_topic: "shellyblugwg3-aabbccddeeff/status/blutrv:200"
temperature_state_template: "{{value_json.target_C}}"
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-aabbccddeeff/rpc"
mode_state_topic: "shellyblugwg3-aabbccddeeff/status/blutrv:200"
mode_state_template: "heat"
modes: ["heat"]
action_topic: "shellyblugwg3-aabbccddeeff/status/blutrv:200"
action_template: "{% if value_json.pos > 0 %}heating{% else %}idle{% endif %}"
availability:
- topic: "shellyblugwg3-aabbccddeeff/status/blutrv:200"
value_template: "{% if value_json.rpc %}online{% else %}offline{% endif %}"
device:
connections:
- - bluetooth
- 11:22:33:44:55:66
name: Shelly BLU TRV
model: Shelly BLU TRV
model_id: SBTR-EU867E
manufacturer: Allterco Robotics
112233445566
- BLU TRV ID
aabbccddeeff
- BLU Gateway ID
200
- BLU TRV ID from BLU Gateway webpanel