mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Debug new entities not being added to hass
This commit is contained in:
@@ -38,7 +38,7 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
|
||||
new_entity = InsteonPLMOpenClosedDevice(device, state_key)
|
||||
|
||||
if new_entity is not None:
|
||||
async_add_devices(new_entity)
|
||||
async_add_devices([new_entity])
|
||||
|
||||
|
||||
class InsteonPLMSwitchDevice(SwitchDevice):
|
||||
|
Reference in New Issue
Block a user