diff --git a/homeassistant/components/switch/abode.py b/homeassistant/components/switch/abode.py index 63fe6b9f7b8..0ce1ddc59f8 100644 --- a/homeassistant/components/switch/abode.py +++ b/homeassistant/components/switch/abode.py @@ -27,7 +27,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): # Get all regular switches that are not excluded or marked as lights for device in data.abode.get_devices(generic_type=CONST.TYPE_SWITCH): - if data.is_excluded(device) or not data.is_light(device): + if data.is_excluded(device) or data.is_light(device): continue devices.append(AbodeSwitch(data, device))