Skip to content

Commit 9afb327

Browse files
authored
Disable some sensors by heatpump type
1 parent 33cc5ab commit 9afb327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/luxtronik/sensor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ async def async_setup_entry(
378378
),
379379
]
380380

381-
if device_info.model != 'LD7':
381+
if device_info.get('model') != 'LD7':
382382
entities += [
383383
LuxtronikSensor(
384384
hass,

0 commit comments

Comments
 (0)