Skip to content

Commit 3ae4dd0

Browse files
authored
0.24.0b1 (#703)
* Fix temperature sensors (#702) * Bump asusrouter to `1.1.0b1` * Bump version to `0.24.0b1`
1 parent 732b143 commit 3ae4dd0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

custom_components/asusrouter/bridge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ async def _get_data_sysinfo(self) -> dict[str, Any]:
374374
async def _get_data_temperature(self) -> dict[str, Any]:
375375
"""Get temperarture data from the device."""
376376

377-
return await self._get_data(AsusData.TEMPERATURE)
377+
return await self._get_data_modern(AsusData.TEMPERATURE)
378378

379379
async def _get_data_wan(self) -> dict[str, Any]:
380380
"""Get WAN data from the device."""

custom_components/asusrouter/const.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@
221221
}
222222
LABELS_TEMPERATURE = {
223223
"cpu": "Temperature CPU",
224-
str(Wlan.FREQ_2G): "Temperature 2.4 GHz",
225-
str(Wlan.FREQ_5G): "Temperature 5 GHz",
226-
str(Wlan.FREQ_5G2): "Temperature 5 GHz-2",
227-
str(Wlan.FREQ_6G): "Temperature 6 GHz",
224+
Wlan.FREQ_2G: "Temperature 2.4 GHz",
225+
Wlan.FREQ_5G: "Temperature 5 GHz",
226+
Wlan.FREQ_5G2: "Temperature 5 GHz-2",
227+
Wlan.FREQ_6G: "Temperature 6 GHz",
228228
}
229229
LABELS_WLAN = {
230230
WLAN_2GHZ: LABEL_WLAN_2GHZ,

custom_components/asusrouter/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"iot_class": "local_polling",
99
"issue_tracker": "https://github.com/Vaskivskyi/ha-asusrouter/issues",
1010
"loggers": ["asusrouter"],
11-
"requirements": ["asusrouter==1.1.0b0"],
11+
"requirements": ["asusrouter==1.1.0b1"],
1212
"ssdp": [
1313
{
1414
"manufacturer": "ASUSTeK Computer Inc."
1515
}
1616
],
17-
"version": "0.24.0b0"
17+
"version": "0.24.0b1"
1818
}

0 commit comments

Comments
 (0)