From 5b3d094a1ef6ae01f1833629d8af4ee6728e9b6b Mon Sep 17 00:00:00 2001 From: Daniel Pervan Date: Tue, 14 Jul 2020 22:47:05 +0200 Subject: [PATCH] Fix Fibaro HC light switches not being configured as Light entities (#37690) --- homeassistant/components/fibaro/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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