Debug new entities not being added to hass
This commit is contained in:
parent
07814b4f14
commit
55fb724d06
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue