I have integrated this thermostat with Node-Red and mqtt into HA. I can control it also manually but with automation I don’t get the option to change the target temperature.
Do I use the correct sensor type to achieve my goal to control the targetTemperature or do I misconfigured a topic content.
topic: homeassistant/climate/eui-70b3d52dd3015cd5/climate/config
{
"device": {
"identifiers": [
"lora2nodered2mqtt_eui-70b3d52dd3015cd5"
],
"manufacturer": "MClimate",
"model": "Vicki - LoRaWAN Smart Radiator Thermostat",
"name": "eui-70b3d52dd3015cd5"
},
"object_id": "eui-70b3d52dd3015cd5",
"unique_id": "eui-70b3d52dd3015cd5_climate_lora2nodered2mqtt",
"name": null,
"modes": [
"auto"
],
"temperature_unit": "C",
"temp_step": 1,
"json_attributes_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/get",
"mode_state_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/get",
"mode_state_template": "{{ value_json.system_mode if value_json.system_mode==\"off\" else \"auto\"}}",
"action_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/get",
"action_template": "{% set values = {\"heat\":\"heating\"} %}{{ values[value_json.running_state] }}",
"current_temperature_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/get",
"current_temperature_template": "{{ value_json.sensorTemperature }}",
"temperature_state_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/get",
"temperature_state_template": "{{ value_json.targetTemperature }}",
"temperature_command_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/set/targetTemperature",
"mode_command_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/set/system_mode"
}
topic: homeassistant/sensor/eui-70b3d52dd3015cd5/battery/config
{
"device": {
"identifiers": [
"lora2nodered2mqtt_eui-70b3d52dd3015cd5"
],
"manufacturer": "MClimate",
"model": "Vicki - LoRaWAN Smart Radiator Thermostat",
"name": "eui-70b3d52dd3015cd5"
},
"object_id": "eui-70b3d52dd3015cd5_battery",
"unique_id": "eui-70b3d52dd3015cd5_battery_lora2nodered2mqtt",
"enabled_by_default": true,
"state_class": "measurement",
"device_class": "battery",
"entity_category": "diagnostic",
"unit_of_measurement": "%",
"state_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/get",
"json_attributes_topic": "lora2nodered2mqtt/eui-70b3d52dd3015cd5/get",
"value_template": "{{ value_json.battery }}"
}