Group sequential add_entities calls in Skybeacon (#187524)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Joost Lekkerkerker
2026-10-20 09:52:56 -04:00
committed by GitHub
co-authored by Claude
parent 7c524427b9
commit e69dc7376f
+1 -2
View File
@@ -63,8 +63,7 @@ def setup_platform(
_LOGGER.debug("Setting up")
mon = Monitor(hass, mac, name)
add_entities([SkybeaconTemp(name, mon)])
add_entities([SkybeaconHumid(name, mon)])
add_entities([SkybeaconTemp(name, mon), SkybeaconHumid(name, mon)])
def monitor_stop(_service_or_event):
"""Stop the monitor thread."""