diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index fd2a9d39c00..44e55b37faa 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -227,10 +227,7 @@ class FibaroController: device_type = "sensor" # Switches that control lights should show up as lights - if ( - device_type == "switch" - and device.properties.get("isLight", "false") == "true" - ): + if device_type == "switch" and device.properties.get("isLight", False): device_type = "light" return device_type