Skip to content

Commit

Permalink
0.24.0b1 (#703)
Browse files Browse the repository at this point in the history
* Fix temperature sensors (#702)

* Bump asusrouter to `1.1.0b1`

* Bump version to `0.24.0b1`
  • Loading branch information
Vaskivskyi authored Nov 13, 2023
1 parent 732b143 commit 3ae4dd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion custom_components/asusrouter/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ async def _get_data_sysinfo(self) -> dict[str, Any]:
async def _get_data_temperature(self) -> dict[str, Any]:
"""Get temperarture data from the device."""

return await self._get_data(AsusData.TEMPERATURE)
return await self._get_data_modern(AsusData.TEMPERATURE)

async def _get_data_wan(self) -> dict[str, Any]:
"""Get WAN data from the device."""
Expand Down
8 changes: 4 additions & 4 deletions custom_components/asusrouter/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@
}
LABELS_TEMPERATURE = {
"cpu": "Temperature CPU",
str(Wlan.FREQ_2G): "Temperature 2.4 GHz",
str(Wlan.FREQ_5G): "Temperature 5 GHz",
str(Wlan.FREQ_5G2): "Temperature 5 GHz-2",
str(Wlan.FREQ_6G): "Temperature 6 GHz",
Wlan.FREQ_2G: "Temperature 2.4 GHz",
Wlan.FREQ_5G: "Temperature 5 GHz",
Wlan.FREQ_5G2: "Temperature 5 GHz-2",
Wlan.FREQ_6G: "Temperature 6 GHz",
}
LABELS_WLAN = {
WLAN_2GHZ: LABEL_WLAN_2GHZ,
Expand Down
4 changes: 2 additions & 2 deletions custom_components/asusrouter/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/Vaskivskyi/ha-asusrouter/issues",
"loggers": ["asusrouter"],
"requirements": ["asusrouter==1.1.0b0"],
"requirements": ["asusrouter==1.1.0b1"],
"ssdp": [
{
"manufacturer": "ASUSTeK Computer Inc."
}
],
"version": "0.24.0b0"
"version": "0.24.0b1"
}

0 comments on commit 3ae4dd0

Please sign in to comment.