1 parent c8b7cce commit 1e55292Copy full SHA for 1e55292
1 file changed
custom_components/victron_mqtt/hub.py
@@ -79,7 +79,7 @@ def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None:
79
# Convert string device type exclusions to DeviceType instances
80
excluded_device_strings = config.get(CONF_EXCLUDED_DEVICES, [])
81
excluded_device_types: list[DeviceType] = [
82
- dt.code
+ dt
83
for device_string in excluded_device_strings
84
if (dt := DeviceType.from_code(device_string)) is not None
85
]
0 commit comments