From 4e4ed0cf364d9ce0a395a6f51218ec1d34e55fee Mon Sep 17 00:00:00 2001 From: cryptk <421501+cryptk@users.noreply.github.com> Date: Tue, 11 Jun 2024 12:51:57 -0500 Subject: [PATCH] feat: add support for COLOR_LOGIC_2_5 lights (#105) --- custom_components/omnilogic_local/light.py | 2 +- custom_components/omnilogic_local/manifest.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/omnilogic_local/light.py b/custom_components/omnilogic_local/light.py index fd54a6e..3e6c23f 100644 --- a/custom_components/omnilogic_local/light.py +++ b/custom_components/omnilogic_local/light.py @@ -59,7 +59,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e light.msp_config.name, ) match light.msp_config.type: - case ColorLogicLightType.UCL: + case ColorLogicLightType.UCL | ColorLogicLightType.TWO_FIVE: entities.append(OmniLogicLightEntity(coordinator=coordinator, context=system_id)) case _: _LOGGER.warning( diff --git a/custom_components/omnilogic_local/manifest.json b/custom_components/omnilogic_local/manifest.json index b258ab3..caa5961 100644 --- a/custom_components/omnilogic_local/manifest.json +++ b/custom_components/omnilogic_local/manifest.json @@ -13,9 +13,9 @@ "issue_tracker": "https://github.com/cryptk/haomnilogic-local/issues", "loggers": ["pyomnilogic_local"], "requirements": [ - "python_omnilogic_local==0.13.2" + "python_omnilogic_local==0.14.0" ], "ssdp": [], - "version": "0.7.4", + "version": "0.7.5", "zeroconf": [] }