better_thermostat icon indicating copy to clipboard operation
better_thermostat copied to clipboard

if TRV does not provide current_temperature parameter it is considered as unavailable in BT

Open AlfaBravoX opened this issue 1 year ago • 13 comments

Prerequisites

Model name of your Devices: [Danfoss LC-13 ]

hvac_modes:
  - heat
min_temp: 4
max_temp: 28
current_temperature: null
temperature: 4
friendly_name: Hala
supported_features: 1

Output from Home Assistant Device Diagnostic from BT

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.9.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.5",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Prague",
    "os_name": "Linux",
    "os_version": "6.1.21-v8",
    "supervisor": "2023.09.2",
    "host_os": "Home Assistant OS 10.5",
    "docker_version": "23.0.6",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "better_thermostat": {
      "version": "1.2.2",
      "requirements": []
    },
    "hacs": {
      "version": "1.32.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "climate_group": {
      "version": "1.0.0",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "better_thermostat",
    "name": "Better Thermostat",
    "after_dependencies": [
      "climate"
    ],
    "codeowners": [
      "@kartoffeltoby"
    ],
    "config_flow": true,
    "dependencies": [
      "climate",
      "recorder"
    ],
    "documentation": "https://github.com/KartoffelToby/better_thermostat",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/KartoffelToby/better_thermostat/issues",
    "requirements": [],
    "version": "1.2.2",
    "is_built_in": false
  },
  "data": {
    "info": {
      "name": "Test Hala BT",
      "temperature_sensor": "sensor.teplota_cimra",
      "off_temperature": 18,
      "window_sensors": null,
      "humidity_sensor": null,
      "outdoor_sensor": null,
      "weather": null,
      "window_off_delay": 0,
      "model": "LC-13"
    },
    "thermostat": {
      "climate.hala": {
        "name": "Hala",
        "state": "heat",
        "attributes": {
          "hvac_modes": [
            "heat"
          ],
          "min_temp": 4,
          "max_temp": 28,
          "current_temperature": null,
          "temperature": 23,
          "friendly_name": "Hala",
          "supported_features": 1
        },
        "bt_config": {
          "calibration": "target_temp_based",
          "calibration_mode": "no_calibration",
          "protect_overheating": false,
          "no_off_system_mode": false,
          "heat_auto_swapped": false,
          "child_lock": false,
          "homaticip": false
        },
        "bt_adapter": "zwave_js",
        "bt_integration": "zwave_js",
        "model": "LC-13"
      }
    },
    "external_temperature_sensor": {
      "entity_id": "sensor.teplota_cimra",
      "state": "20.6",
      "attributes": {
        "unit_of_measurement": "\u00b0C",
        "device_class": "temperature",
        "friendly_name": "Teplota cimra"
      },
      "last_changed": "2023-09-14T05:40:32.202339+00:00",
      "last_updated": "2023-09-14T05:40:32.202339+00:00",
      "context": {
        "id": "01HA9393AAEM4X56X8HSDN47KC",
        "parent_id": null,
        "user_id": null
      }
    },
    "window_sensor": "-"
  }
} 
{
  "id": 14,
  "name": "Hala",
  "loc": "",
  "values": [
    {
      "id": "14-67-0-setpoint-1",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 67,
      "commandClassName": "Thermostat Setpoint",
      "endpoint": 0,
      "property": "setpoint",
      "propertyName": "setpoint",
      "propertyKey": 1,
      "propertyKeyName": "Heating",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Setpoint (Heating)",
      "ccSpecific": {
        "setpointType": 1
      },
      "stateless": false,
      "commandClassVersion": 2,
      "unit": "°C",
      "list": false,
      "value": 23,
      "lastUpdate": 1694671307925,
      "newValue": 23
    },
    {
      "id": "14-70-0-overrideType",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 70,
      "commandClassName": "Climate Control Schedule",
      "endpoint": 0,
      "property": "overrideType",
      "propertyName": "overrideType",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Override type",
      "stateless": false,
      "commandClassVersion": 1,
      "list": true,
      "states": [
        {
          "text": "None",
          "value": 0
        },
        {
          "text": "Temporary",
          "value": 1
        },
        {
          "text": "Permanent",
          "value": 2
        }
      ],
      "value": 0,
      "lastUpdate": 1694671307765,
      "newValue": 0
    },
    {
      "id": "14-70-0-overrideState",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 70,
      "commandClassName": "Climate Control Schedule",
      "endpoint": 0,
      "property": "overrideState",
      "propertyName": "overrideState",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Override state",
      "stateless": false,
      "commandClassVersion": 1,
      "min": -12.8,
      "list": false,
      "value": "Unused",
      "lastUpdate": 1694671307771,
      "newValue": "Unused"
    },
    {
      "id": "14-114-0-manufacturerId",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "manufacturerId",
      "propertyName": "manufacturerId",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Manufacturer ID",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 2,
      "lastUpdate": 1693935698092,
      "newValue": 2
    },
    {
      "id": "14-114-0-productType",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "productType",
      "propertyName": "productType",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Product type",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 5,
      "lastUpdate": 1693935698110,
      "newValue": 5
    },
    {
      "id": "14-114-0-productId",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "productId",
      "propertyName": "productId",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Product ID",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 4,
      "lastUpdate": 1693935698121,
      "newValue": 4
    },
    {
      "id": "14-117-0-local",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 117,
      "commandClassName": "Protection",
      "endpoint": 0,
      "property": "local",
      "propertyName": "local",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Local protection state",
      "stateless": false,
      "commandClassVersion": 2,
      "list": true,
      "states": [
        {
          "text": "Unprotected",
          "value": 0
        },
        {
          "text": "NoOperationPossible",
          "value": 2
        }
      ],
      "value": 0,
      "lastUpdate": 1693935701430,
      "newValue": 0
    },
    {
      "id": "14-117-0-rf",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 117,
      "commandClassName": "Protection",
      "endpoint": 0,
      "property": "rf",
      "propertyName": "rf",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "RF protection state",
      "stateless": false,
      "commandClassVersion": 2,
      "list": false,
      "value": 0,
      "lastUpdate": 1693935701437,
      "newValue": 0
    },
    {
      "id": "14-117-0-exclusiveControlNodeId",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 117,
      "commandClassName": "Protection",
      "endpoint": 0,
      "property": "exclusiveControlNodeId",
      "propertyName": "exclusiveControlNodeId",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Node ID with exclusive control",
      "stateless": false,
      "commandClassVersion": 2,
      "min": 1,
      "max": 232,
      "list": false,
      "lastUpdate": 1694565710993
    },
    {
      "id": "14-117-0-timeout",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 117,
      "commandClassName": "Protection",
      "endpoint": 0,
      "property": "timeout",
      "propertyName": "timeout",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "RF protection timeout",
      "stateless": false,
      "commandClassVersion": 2,
      "min": 0,
      "max": 255,
      "list": false,
      "lastUpdate": 1694565710993
    },
    {
      "id": "14-128-0-level",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 0,
      "property": "level",
      "propertyName": "level",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Battery level",
      "stateless": false,
      "commandClassVersion": 1,
      "min": 0,
      "max": 100,
      "unit": "%",
      "list": false,
      "value": 84,
      "lastUpdate": 1694671307852,
      "newValue": 84
    },
    {
      "id": "14-128-0-isLow",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 0,
      "property": "isLow",
      "propertyName": "isLow",
      "type": "boolean",
      "readable": true,
      "writeable": false,
      "label": "Low battery level",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": false,
      "lastUpdate": 1694671307858,
      "newValue": false
    },
    {
      "id": "14-132-0-wakeUpInterval",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 132,
      "commandClassName": "Wake Up",
      "endpoint": 0,
      "property": "wakeUpInterval",
      "propertyName": "wakeUpInterval",
      "type": "number",
      "readable": false,
      "writeable": true,
      "label": "wakeUpInterval (property)",
      "default": 300,
      "stateless": false,
      "commandClassVersion": 2,
      "min": 60,
      "max": 1800,
      "step": 60,
      "list": false,
      "value": 300,
      "lastUpdate": 1693935700464,
      "newValue": 300
    },
    {
      "id": "14-132-0-controllerNodeId",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 132,
      "commandClassName": "Wake Up",
      "endpoint": 0,
      "property": "controllerNodeId",
      "propertyName": "controllerNodeId",
      "type": "any",
      "readable": true,
      "writeable": false,
      "label": "Node ID of the controller",
      "stateless": false,
      "commandClassVersion": 2,
      "list": false,
      "value": 1,
      "lastUpdate": 1693935700566,
      "newValue": 1
    },
    {
      "id": "14-134-0-libraryType",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "libraryType",
      "propertyName": "libraryType",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Library type",
      "stateless": false,
      "commandClassVersion": 1,
      "list": true,
      "states": [
        {
          "text": "Unknown",
          "value": 0
        },
        {
          "text": "Static Controller",
          "value": 1
        },
        {
          "text": "Controller",
          "value": 2
        },
        {
          "text": "Enhanced Slave",
          "value": 3
        },
        {
          "text": "Slave",
          "value": 4
        },
        {
          "text": "Installer",
          "value": 5
        },
        {
          "text": "Routing Slave",
          "value": 6
        },
        {
          "text": "Bridge Controller",
          "value": 7
        },
        {
          "text": "Device under Test",
          "value": 8
        },
        {
          "text": "N/A",
          "value": 9
        },
        {
          "text": "AV Remote",
          "value": 10
        },
        {
          "text": "AV Device",
          "value": 11
        }
      ],
      "value": 6,
      "lastUpdate": 1693935698355,
      "newValue": 6
    },
    {
      "id": "14-134-0-protocolVersion",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "protocolVersion",
      "propertyName": "protocolVersion",
      "type": "string",
      "readable": true,
      "writeable": false,
      "label": "Z-Wave protocol version",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": "3.67",
      "lastUpdate": 1693935698363,
      "newValue": "3.67"
    },
    {
      "id": "14-134-0-firmwareVersions",
      "nodeId": 14,
      "toUpdate": false,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "firmwareVersions",
      "propertyName": "firmwareVersions",
      "type": "string[]",
      "readable": true,
      "writeable": false,
      "label": "Z-Wave chip firmware versions",
      "stateless": false,
      "commandClassVersion": 1,
      "list": false,
      "value": [
        "1.1"
      ],
      "lastUpdate": 1693935698371,
      "newValue": [
        "1.1"
      ]
    }
  ],
  "groups": [],
  "neighbors": [],
  "ready": true,
  "available": true,
  "hassDevices": {},
  "failed": false,
  "inited": true,
  "eventsQueue": [
    {
      "time": "2023-09-14T05:18:14.094Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:18:14.100Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:18:14.116Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:18:14.133Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:18:14.139Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:18:14.155Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:18:14.221Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:18:14.227Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:18:14.296Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:18:15.346Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T05:23:04.492Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:23:04.499Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:23:04.514Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:23:04.529Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:23:04.536Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:23:04.553Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:23:04.617Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:23:04.623Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:23:04.687Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:23:05.736Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T05:27:54.924Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:27:54.931Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:27:54.949Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:27:54.965Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:27:54.971Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:27:54.987Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:27:55.052Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:27:55.058Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:27:55.124Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:27:56.173Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T05:32:45.339Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:32:45.345Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:32:45.362Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:32:45.379Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:32:45.386Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:32:45.404Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:32:45.474Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:32:45.482Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:32:45.550Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:32:46.600Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T05:37:35.727Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:37:35.733Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:37:35.749Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:37:35.765Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:37:35.771Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:37:35.789Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:37:35.873Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:37:35.883Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:37:35.964Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:37:37.034Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T05:42:26.133Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:42:26.139Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:42:26.154Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:42:26.170Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:42:26.176Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:42:26.192Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:42:26.254Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:42:26.260Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:42:26.328Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:42:27.385Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T05:47:16.517Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:47:16.523Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:47:16.539Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:47:16.556Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:47:16.563Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:47:16.579Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:47:16.647Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:47:16.654Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:47:16.722Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:47:17.773Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T05:52:06.886Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:52:06.892Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:52:06.908Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:52:06.923Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:52:06.929Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:52:06.945Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:52:07.015Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:52:07.022Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:52:07.088Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:52:08.137Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T05:56:57.295Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:56:57.304Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:56:57.320Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:56:57.336Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T05:56:57.342Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T05:56:57.358Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T05:56:57.420Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T05:56:57.426Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T05:56:57.491Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T05:56:58.538Z",
      "event": "sleep",
      "args": [
        2
      ]
    },
    {
      "time": "2023-09-14T06:01:47.728Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T06:01:47.734Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T06:01:47.754Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T06:01:47.769Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideType",
          "endpoint": 0,
          "newValue": 0,
          "prevValue": 0,
          "propertyName": "overrideType"
        }
      ]
    },
    {
      "time": "2023-09-14T06:01:47.775Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Climate Control Schedule",
          "commandClass": 70,
          "property": "overrideState",
          "endpoint": 0,
          "newValue": "Unused",
          "prevValue": "Unused",
          "propertyName": "overrideState"
        }
      ]
    },
    {
      "time": "2023-09-14T06:01:47.792Z",
      "event": "wake up",
      "args": [
        1
      ]
    },
    {
      "time": "2023-09-14T06:01:47.856Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "level",
          "endpoint": 0,
          "newValue": 84,
          "prevValue": 84,
          "propertyName": "level"
        }
      ]
    },
    {
      "time": "2023-09-14T06:01:47.862Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Battery",
          "commandClass": 128,
          "property": "isLow",
          "endpoint": 0,
          "newValue": false,
          "prevValue": false,
          "propertyName": "isLow"
        }
      ]
    },
    {
      "time": "2023-09-14T06:01:47.929Z",
      "event": "value updated",
      "args": [
        {
          "commandClassName": "Thermostat Setpoint",
          "commandClass": 67,
          "property": "setpoint",
          "propertyKey": 1,
          "endpoint": 0,
          "newValue": 23,
          "prevValue": 23,
          "propertyName": "setpoint",
          "propertyKeyName": "Heating"
        }
      ]
    },
    {
      "time": "2023-09-14T06:01:48.979Z",
      "event": "sleep",
      "args": [
        2
      ]
    }
  ],
  "status": "Asleep",
  "interviewStage": "Complete",
  "priorityReturnRoute": {},
  "customReturnRoute": {},
  "prioritySUCReturnRoute": false,
  "customSUCReturnRoutes": [],
  "hexId": "0x0002-0x0005-0x0004",
  "dbLink": "https://devices.zwave-js.io/?jumpTo=0x0002:0x0005:0x0004:1.1",
  "manufacturerId": 2,
  "productId": 4,
  "productType": 5,
  "deviceConfig": {
    "filename": "/data/db/devices/0x0002/lc-13.json",
    "isEmbedded": true,
    "manufacturer": "Danfoss",
    "manufacturerId": 2,
    "label": "LC-13",
    "description": "Living Connect Z Thermostat",
    "devices": [
      {
        "productType": 5,
        "productId": 4
      },
      {
        "productType": 32773,
        "productId": 1
      },
      {
        "productType": 32773,
        "productId": 2
      }
    ],
    "firmwareVersion": {
      "min": "0.0",
      "max": "255.255"
    },
    "preferred": false,
    "associations": {},
    "compat": {
      "queryOnWakeup": [
        [
          "Battery",
          "get"
        ],
        [
          "Thermostat Setpoint",
          "get",
          1
        ]
      ]
    }
  },
  "productLabel": "LC-13",
  "productDescription": "Living Connect Z Thermostat",
  "manufacturer": "Danfoss",
  "firmwareVersion": "1.1",
  "protocolVersion": 3,
  "nodeType": 1,
  "endpointsCount": 0,
  "endpoints": [
    {
      "index": 0,
      "label": "Root Endpoint"
    }
  ],
  "isSecure": false,
  "security": "None",
  "supportsSecurity": false,
  "supportsBeaming": true,
  "isControllerNode": false,
  "isListening": false,
  "isFrequentListening": false,
  "isRouting": true,
  "keepAwake": false,
  "maxDataRate": 40000,
  "deviceClass": {
    "basic": 4,
    "generic": 8,
    "specific": 4
  },
  "lastActive": 1694671307922,
  "firmwareCapabilities": {
    "firmwareUpgradable": false
  },
  "deviceId": "2-4-5",
  "hasDeviceConfigChanged": false,
  "batteryLevels": {
    "0": 84
  },
  "minBatteryLevel": 84,
  "supportsTime": true,
  "statistics": {
    "commandsTX": 748,
    "commandsRX": 2206,
    "commandsDroppedRX": 0,
    "commandsDroppedTX": 0,
    "timeoutResponse": 0,
    "lwr": {
      "protocolDataRate": 2,
      "repeaters": [],
      "rssi": -71,
      "repeaterRSSI": []
    },
    "lastSeen": "2023-09-14T06:01:47.922Z",
    "rtt": 37.6,
    "rssi": -70
  },
  "_name": "Hala",
  "applicationRoute": false
}

Description

I was trying to add Danfoss LC-13 under BT and I always ended up as BT is unavailable. LC-13 integration is provided by z-wave JS UI

zwave-js-ui: 8.25.1
zwave-js: 11.14.2
home id: 4189742917
home hex: 0xf9ba6745

If parameter current_temperature in Home assistant device config template is NULL or the current_temperature is not included in config at all, BT shows as unavailable.

If you force current_temperature to some INT number BT suddenly starting to work.

Steps to Reproduce

  1. ADD LC-13 via ZJUI
  2. Add LC-13 node to BT
  3. You see this as unavailable
  4. add some integer to current_temperature variable as push set state button.
  5. check BT and you will see it is working

Expected behavior:

BT wont state wont depend on current_temperature is there or not

Actual behavior:

BT is unavailable if current_temperature is null or missing

Versions

BT 1.22, HASS 2023.9.2

Additional Information

AlfaBravoX avatar Sep 14 '23 06:09 AlfaBravoX

current_temperature shouldn't be null. i don't know why it is. I see there is a temperature attribute. Maybe we need to add a fallback for cases like this?

wtom avatar Sep 14 '23 08:09 wtom

this TRV does not have internal temperature sensor by design, so null is relevant, I think BT should just consider external sensor presence is fine and should not make itself Unavailable

What I tried I added to home assistant

homeassistant:
  customize_glob:
    climate.myNodeId:
      min_temp: 4
      max_temp: 28
      current_temperature: {{ states() etc pseudocode }}

and it worked for this LC-13 Zwave entity, BT was partially happy and set as available, but on UI card instead of real temperature, the template with brackets was seen. not acceptible solution.

AlfaBravoX avatar Sep 14 '23 08:09 AlfaBravoX

A lot of code is depending on the current_temperature value. So i think, we will not change anything here.

wtom avatar Sep 14 '23 13:09 wtom

I spend two weeks of digging deep in to it and found at least 4 long running forums in different websites where people were addressing this and were unable to find out solution to have BT working with Danfoss TRVs like that. These TRVs are quite popular for solid quality, long life time and price and I bet there must be thousands of them installed in Home Assistant setups without chance to use BT together. Even if the fix seems to be complex, i really appreciate code is fixed so TRVs without internal temperature sensor will work with awesome BT!

AlfaBravoX avatar Sep 14 '23 14:09 AlfaBravoX

The only thing to make it work, is to then disable the calibration modes in BT. It will just send the target temperature from BT to the TRV, without any adjustments. But of course all the other functions would work.

wtom avatar Sep 15 '23 17:09 wtom

I have disabled the calibration modes in BT since beginning, but BT still shows Unavailable, thats I opened this topic. image

AlfaBravoX avatar Sep 15 '23 18:09 AlfaBravoX

I mean the calibration type. 😉

wtom avatar Sep 15 '23 21:09 wtom

I dont have other option then "Target Temperature Based" , any idea?

image

AlfaBravoX avatar Sep 16 '23 07:09 AlfaBravoX

No we need to implement that for TRVs that don't have any internal temperature.

wtom avatar Sep 16 '23 07:09 wtom

ah, ok got that. really appreciate if you guys wil make it.

AlfaBravoX avatar Sep 16 '23 07:09 AlfaBravoX

Hi, does this prevent LC-13 TRVs being used?

m4rkireland avatar Oct 28 '23 12:10 m4rkireland

@m4rkireland yes, it pretty much does

maybe it would be possible to work around it by using https://community.home-assistant.io/t/update-current-temperature-for-z-wave-thermostats/32834

xpavli44 avatar Oct 28 '23 15:10 xpavli44

Just to report back, after running this add-on in AppDaemon (though I believe standard python_script: is available) https://github.com/bieniu/ha-ad-thermostats-update, my LC-13 TRVs have gone from unavailable to actually looking like they are working. More investigation required but looks promising so far.

m4rkireland avatar Nov 02 '23 23:11 m4rkireland