diff --git a/homepilot/manager.py b/homepilot/manager.py index d284e3b..5f39309 100644 --- a/homepilot/manager.py +++ b/homepilot/manager.py @@ -36,7 +36,7 @@ async def async_build_manager(api: HomePilotApi): manager.devices = { id_type["did"]: await HomePilotManager.async_build_device(manager.api, id_type) for id_type in await manager.get_device_ids_types() - if id_type["type"] in ["-1", "1", "2", "3", "4", "5", "8", "10", "73", "74", "75", "76"] + if id_type["type"] in ["-1", "1", "2", "3", "4", "5", "8", "10", "70", "71", "72", "73", "74", "75", "76"] } try: manager.scenes = { @@ -66,6 +66,12 @@ async def async_build_device(api, id_type): return await HomePilotCover.async_build_from_api(api, id_type["did"]) if id_type["type"] == "10": return await HomePilotWallController.async_build_from_api(api, id_type["did"]) + if id_type["type"] == "70": + return await HomePilotLight.async_build_from_api(api, id_type["did"]) + if id_type["type"] == "71": + return await HomePilotLight.async_build_from_api(api, id_type["did"]) + if id_type["type"] == "72": + return await HomePilotLight.async_build_from_api(api, id_type["did"]) if id_type["type"] == "73": return await HomePilotLight.async_build_from_api(api, id_type["did"]) if id_type["type"] == "74": diff --git a/setup.py b/setup.py index 9fe792c..3074f6c 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="pyrademacher", - version="0.14.2", + version="0.14.3", author="Pedro Ribeiro", author_email="pedroeusebio@gmail.com", description="Control devices connected to your Rademacher Homepilot "