Skip to content

Automations failing to set temperature #1960

Description

@kp-bit

Description

I've been using 1.7.0 for a while, but it suddenly stopped working. Upgraded to 1.8.0-Beta-14 which at least was able to talk to both the TRVs and Better Thermostat UI.

After upgrading it get these errors, and can't seem to find any documentation on changed syntax:
The automation "Target Temperature Home" (automation.target_temperature_home) has an unknown action: better_thermostat.set_temp_target_temperature

Steps to Reproduce

  1. Use better_thermostat.set_temp_target_temperature to set TRV temperature

Expected behavior:

Temperature change.

Actual behavior:

Error is thrown.

Versions and HW

Home Assistant: 2026.3.1
Better Thermostat: 1.8.0-Beta-14

TRV(s): Danfoss Ally eTRV0103

Debug data

diagnostic data

{
"endpoints": {
      "1": {
        "profile_id": 260,
        "device_type": {
          "name": "THERMOSTAT",
          "id": 769
        },
        "in_clusters": [
          {
            "cluster_id": "0x0000",
            "endpoint_attribute": "basic",
            "attributes": [
              {
                "id": "0x0004",
                "name": "manufacturer",
                "zcl_type": "string",
                "value": "Danfoss"
              },
              {
                "id": "0x0005",
                "name": "model",
                "zcl_type": "string",
                "value": "eTRV0103"
              }
            ]
          },
          {
            "cluster_id": "0x0001",
            "endpoint_attribute": "power",
            "attributes": [
              {
                "id": "0x0021",
                "name": "battery_percentage_remaining",
                "zcl_type": "uint8",
                "value": 158
              },
              {
                "id": "0x0033",
                "name": "battery_quantity",
                "zcl_type": "uint8",
                "unsupported": true
              },
              {
                "id": "0x0031",
                "name": "battery_size",
                "zcl_type": "enum8",
                "unsupported": true
              },
              {
                "id": "0x0020",
                "name": "battery_voltage",
                "zcl_type": "uint8",
                "value": 30
              }
            ]
          },
          {
            "cluster_id": "0x0003",
            "endpoint_attribute": "identify",
            "attributes": []
          },
          {
            "cluster_id": "0x000a",
            "endpoint_attribute": "time",
            "attributes": [
              {
                "id": "0x0000",
                "name": "time",
                "zcl_type": "UTC",
                "value": 821366266
              },
              {
                "id": "0x0001",
                "name": "time_status",
                "zcl_type": "map8",
                "value": 2
              },
              {
                "id": "0x0002",
                "name": "time_zone",
                "zcl_type": "int32",
                "value": -3600
              }
            ]
          },
          {
            "cluster_id": "0x0020",
            "endpoint_attribute": "poll_control",
            "attributes": []
          },
          {
            "cluster_id": "0x0201",
            "endpoint_attribute": "thermostat",
            "attributes": [
              {
                "id": "0x0006",
                "name": "abs_max_cool_setpoint_limit",
                "zcl_type": "int16",
                "unsupported": true
              },
              {
                "id": "0x0004",
                "name": "abs_max_heat_setpoint_limit",
                "zcl_type": "int16",
                "value": 3500
              },
              {
                "id": "0x0005",
                "name": "abs_min_cool_setpoint_limit",
                "zcl_type": "int16",
                "unsupported": true
              },
              {
                "id": "0x0003",
                "name": "abs_min_heat_setpoint_limit",
                "zcl_type": "int16",
                "value": 500
              },
              {
                "id": "0x404c",
                "name": "adaptation_run_control",
                "zcl_type": "enum8",
                "value": 0
              },
              {
                "id": "0x404e",
                "name": "adaptation_run_settings",
                "zcl_type": "map8",
                "value": 1
              },
              {
                "id": "0x404d",
                "name": "adaptation_run_status",
                "zcl_type": "map8",
                "value": 2
              },
              {
                "id": "0x4020",
                "name": "control_algorithm_scale_factor",
                "zcl_type": "uint8",
                "value": 1
              },
              {
                "id": "0x001b",
                "name": "ctrl_sequence_of_oper",
                "zcl_type": "enum8",
                "value": 2
              },
              {
                "id": "0x4010",
                "name": "exercise_day_of_week",
                "zcl_type": "enum8",
                "value": 4
              },
              {
                "id": "0x4011",
                "name": "exercise_trigger_time",
                "zcl_type": "uint16",
                "value": 660
              },
              {
                "id": "0x4015",
                "name": "external_measured_room_sensor",
                "zcl_type": "int16",
                "value": -8000
              },
              {
                "id": "0x4003",
                "name": "external_open_window_detected",
                "zcl_type": "bool",
                "value": 0
              },
              {
                "id": "0x4030",
                "name": "heat_available",
                "zcl_type": "bool",
                "value": 1
              },
              {
                "id": "0x4031",
                "name": "heat_required",
                "zcl_type": "bool",
                "value": 0
              },
              {
                "id": "0x4032",
                "name": "load_balancing_enable",
                "zcl_type": "bool",
                "value": 0
              },
              {
                "id": "0x404a",
                "name": "load_estimate",
                "zcl_type": "int16",
                "value": -8000
              },
              {
                "id": "0x4040",
                "name": "load_room_mean",
                "zcl_type": "int16",
                "value": -8000
              },
              {
                "id": "0x0000",
                "name": "local_temperature",
                "zcl_type": "int16",
                "value": 2077
              },
              {
                "id": "0x0010",
                "name": "local_temperature_calibration",
                "zcl_type": "int8",
                "value": 0
              },
              {
                "id": "0x0018",
                "name": "max_cool_setpoint_limit",
                "zcl_type": "int16",
                "unsupported": true
              },
              {
                "id": "0x0016",
                "name": "max_heat_setpoint_limit",
                "zcl_type": "int16",
                "value": 2500
              },
              {
                "id": "0x0017",
                "name": "min_cool_setpoint_limit",
                "zcl_type": "int16",
                "unsupported": true
              },
              {
                "id": "0x0015",
                "name": "min_heat_setpoint_limit",
                "zcl_type": "int16",
                "value": 500
              },
              {
                "id": "0x4012",
                "name": "mounting_mode_active",
                "zcl_type": "bool",
                "value": 0
              },
              {
                "id": "0x4013",
                "name": "mounting_mode_control",
                "zcl_type": "bool",
                "value": 0
              },
              {
                "id": "0x0002",
                "name": "occupancy",
                "zcl_type": "map8",
                "unsupported": true
              },
              {
                "id": "0x0011",
                "name": "occupied_cooling_setpoint",
                "zcl_type": "int16",
                "unsupported": true
              },
              {
                "id": "0x0012",
                "name": "occupied_heating_setpoint",
                "zcl_type": "int16",
                "value": 1400
              },
              {
                "id": "0x4000",
                "name": "open_window_detection",
                "zcl_type": "enum8",
                "value": 1
              },
              {
                "id": "0x4014",
                "name": "orientation",
                "zcl_type": "bool",
                "value": 0
              },
              {
                "id": "0x0007",
                "name": "pi_cooling_demand",
                "zcl_type": "uint8",
                "unsupported": true
              },
              {
                "id": "0x0008",
                "name": "pi_heating_demand",
                "zcl_type": "uint8",
                "value": 0
              },
              {
                "id": "0x404f",
                "name": "preheat_status",
                "zcl_type": "bool",
                "value": 0
              },
              {
                "id": "0x4050",
                "name": "preheat_time",
                "zcl_type": "uint32",
                "value": 0
              },
              {
                "id": "0x4016",
                "name": "radiator_covered",
                "zcl_type": "bool",
                "value": 0
              },
              {
                "id": "0x404b",
                "name": "regulation_setpoint_offset",
                "zcl_type": "int8",
                "value": 0
              },
              {
                "id": "0x001e",
                "name": "running_mode",
                "zcl_type": "enum8",
                "unsupported": true
              },
              {
                "id": "0x0029",
                "name": "running_state",
                "zcl_type": "map16",
                "unsupported": true
              },
              {
                "id": "0x0030",
                "name": "setpoint_change_source",
                "zcl_type": "enum8",
                "value": 2
              },
              {
                "id": "0x001c",
                "name": "system_mode",
                "zcl_type": "enum8",
                "value": 4
              },
              {
                "id": "0x0013",
                "name": "unoccupied_cooling_setpoint",
                "zcl_type": "int16",
                "unsupported": true
              },
              {
                "id": "0x0014",
                "name": "unoccupied_heating_setpoint",
                "zcl_type": "int16",
                "unsupported": true
              },
              {
                "id": "0x4051",
                "name": "window_open_feature",
                "zcl_type": "bool",
                "value": 0
              }
            ]
          },
          {
            "cluster_id": "0x0204",
            "endpoint_attribute": "thermostat_ui",
            "attributes": [
              {
                "id": "0x0001",
                "name": "keypad_lockout",
                "zcl_type": "enum8",
                "value": 0
              },
              {
                "id": "0x4000",
                "name": "viewing_direction",
                "zcl_type": "enum8",
                "value": 0
              }
            ]
          },
          {
            "cluster_id": "0x0b05",
            "endpoint_attribute": "diagnostic",
            "attributes": [
              {
                "id": "0x4010",
                "name": "motor_step_counter",
                "zcl_type": "uint32",
                "value": 101209
              },
              {
                "id": "0x4000",
                "name": "sw_error_code",
                "zcl_type": "map16",
                "value": 0
              }
            ]
          }
        ],
        "out_clusters": [
          {
            "cluster_id": "0x0000",
            "endpoint_attribute": "basic",
            "attributes": []
          },
          {
            "cluster_id": "0x0019",
            "endpoint_attribute": "ota",
            "attributes": [
              {
                "id": "0x0002",
                "name": "current_file_version",
                "zcl_type": "uint32",
                "value": 32
              }
            ]
          }
        ]
      }
    },
}

debug log

graphs

Additional Information

Metadata

Metadata

Assignees

Labels

old versionan issue from an older versionunder investigationIf its not clear whats the problem

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions