Debug new entities not being added to hass

This commit is contained in:
Tom Harris 2018-02-21 01:33:59 -05:00
parent 07814b4f14
commit 55fb724d06

View file

@ -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):