Skip to content

Commit

Permalink
Merge branch 'master' into feature/linear_comp
Browse files Browse the repository at this point in the history
  • Loading branch information
KartoffelToby authored Jan 3, 2025
2 parents 4f65d36 + 9bcac87 commit 894bf90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions custom_components/better_thermostat/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ async def async_get_config_entry_diagnostics(
trv = hass.states.get(trv_id["trv"])
if trv is None:
continue
# TODO: this does nothing but return trv_id["integration"] as adapter_name
# -> removing this for now, to fix diagnostic export
# _adapter_name = await load_adapter(
# hass, trv_id["integration"], trv_id["trv"], True
# )
# trv_id["adapter"] = _adapter_name
_adapter_name = await load_adapter(
hass, trv_id["integration"], trv_id["trv"], False
)
trv_id["adapter"] = _adapter_name
if trv_id["adapter"] is None:
trv_id["adapter"] = "unknown"
trvs[trv_id["trv"]] = {
"name": trv.name,
"state": trv.state,
"attributes": trv.attributes,
"bt_config": trv_id["advanced"],
# "bt_adapter": trv_id["adapter"],
"bt_adapter": trv_id["adapter"],
"bt_integration": trv_id["integration"],
"model": trv_id["model"],
}
Expand Down
2 changes: 1 addition & 1 deletion custom_components/better_thermostat/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"iot_class": "local_push",
"issue_tracker": "https://github.com/KartoffelToby/better_thermostat/issues",
"requirements": [],
"version": "1.7.0-beta1"
"version": "1.7.0-dev"
}

0 comments on commit 894bf90

Please sign in to comment.