diff --git a/homeassistant/components/bsblan/climate.py b/homeassistant/components/bsblan/climate.py index dc403611da2..39eab6e7e0a 100644 --- a/homeassistant/components/bsblan/climate.py +++ b/homeassistant/components/bsblan/climate.py @@ -106,6 +106,10 @@ class BSBLANClimate( @property def current_temperature(self) -> float | None: """Return the current temperature.""" + if self.coordinator.data.current_temperature.value == "---": + # device returns no current temperature + return None + return float(self.coordinator.data.current_temperature.value) @property diff --git a/homeassistant/components/bsblan/manifest.json b/homeassistant/components/bsblan/manifest.json index 0e945d13d48..5abb888513d 100644 --- a/homeassistant/components/bsblan/manifest.json +++ b/homeassistant/components/bsblan/manifest.json @@ -4,6 +4,7 @@ "codeowners": ["@liudger"], "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/bsblan", + "integration_type": "device", "iot_class": "local_polling", "loggers": ["bsblan"], "requirements": ["python-bsblan==0.5.11"] diff --git a/homeassistant/generated/integrations.json b/homeassistant/generated/integrations.json index ebe16947a51..6bc96ea15bc 100644 --- a/homeassistant/generated/integrations.json +++ b/homeassistant/generated/integrations.json @@ -703,7 +703,7 @@ }, "bsblan": { "name": "BSB-Lan", - "integration_type": "hub", + "integration_type": "device", "config_flow": true, "iot_class": "local_polling" },