Refactoring
###Fix * Refactoring done based on home assistant style guidelines and suggestions submitted on the core pull request version of this integration * Added new sensors to strings json and disabled by default
This commit is contained in:
@@ -79,7 +79,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
|
||||
scan_interval = entry.options.get(CONF_SCAN_INTERVAL)
|
||||
coordinators = {
|
||||
serial: OwletCoordinator(hass, sock, scan_interval)
|
||||
serial: OwletCoordinator(hass, sock, scan_interval, entry)
|
||||
for (serial, sock) in socks.items()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user