mirror of
https://github.com/natekspencer/hacs-oasis_mini.git
synced 2025-12-06 18:44:14 -05:00
Add helper to check for device initializtion instead of first status
This commit is contained in:
@@ -74,7 +74,7 @@ def setup_platform_from_coordinator(
|
||||
|
||||
for device in devices:
|
||||
serial = device.serial_number
|
||||
if not serial or serial in known_serials:
|
||||
if not device.is_initialized or not serial or serial in known_serials:
|
||||
continue
|
||||
|
||||
known_serials.add(serial)
|
||||
|
||||
Reference in New Issue
Block a user