1
0
mirror of https://github.com/natekspencer/hacs-oasis_mini.git synced 2025-11-17 17:43:41 -05:00

Updates to handle firmware version 0.71 and other improvements

This commit is contained in:
Nathan Spencer
2024-07-18 13:03:19 -06:00
parent 4186755a92
commit 0d539888e5
12 changed files with 260 additions and 131 deletions

View File

@@ -32,6 +32,8 @@ class OasisMiniCoordinator(DataUpdateCoordinator[str]):
async def _async_update_data(self):
try:
async with async_timeout.timeout(10):
if not self.device.mac_address:
await self.device.async_get_mac_address()
if not self.device.serial_number:
await self.device.async_get_serial_number()
if not self.device.software_version: