Closed AboveColin closed 1 month ago
Sensors are not visible if I update those 2 files, also my VINDSTYRKA sensors stop working
Sensors are not visible if I update those 2 files, also my VINDSTYRKA sensors stop working
Forgot to add the upgrade to the newest version of the dirigera package, the sensors should be available now! Could you add some logs of the error of the vindstyrka is causing? 😁
Lot of different errors if I update with your files
Lot of different errors if I update with your files
Hi! I updated some stuff, could you try again?
Lot of different errors if I update with your files
Hi! I updated some stuff, could you try again?
best way to update? download files and overwrite?
best way to update? download files and overwrite?
What you like the most: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
If you don't want to deal with git, I think downloading and overwriting manually is the easiest :)
I put a test instance up to do these tests, did a full copy paste:
Logger: homeassistant.helpers.frame Source: helpers/frame.py:155 First occurred: 15:08:58 (1 occurrences) Last logged: 15:08:58
Detected code that calls async_forward_entry_setups for integration dirigera_platform with title: IKEA Dirigera Hub : 192.168.179.71 and entry_id: 01J9C0Y75WWMJ1B0G4XDZJ3XY3, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Logger: homeassistant.components.sensor Source: helpers/entity_platform.py:361 integration: Sensor (documentation, issues) First occurred: 14:56:14 (1 occurrences) Last logged: 14:56:14
Error while setting up dirigera_platform platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/dirigera_platform/sensor.py", line 82, in async_setup_entry await hass.async_add_executor_job(hub.create_empty_scene,scene_name, controller.unique_id) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/dirigera_platform/dirigera_lib_patch.py", line 42, in create_empty_scene response_dict = self.post( ^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dirigera/hub/hub.py", line 131, in post response.raise_for_status() File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://192.168.179.71:8443/v1/scenes
It's complaining about scene's and I have one in HA but don't have any in the HUB
And nothing else in changed, no extra sensors and vindstyrka doesn't show anything anymore.
I put a test instance up to do these tests, did a full copy paste:
Logger: homeassistant.helpers.frame Source: helpers/frame.py:155 First occurred: 15:08:58 (1 occurrences) Last logged: 15:08:58
Detected code that calls async_forward_entry_setups for integration dirigera_platform with title: IKEA Dirigera Hub : 192.168.179.71 and entry_id: 01J9C0Y75WWMJ1B0G4XDZJ3XY3, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Logger: homeassistant.components.sensor Source: helpers/entity_platform.py:361 integration: Sensor (documentation, issues) First occurred: 14:56:14 (1 occurrences) Last logged: 14:56:14
Error while setting up dirigera_platform platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/dirigera_platform/sensor.py", line 82, in async_setup_entry await hass.async_add_executor_job(hub.create_empty_scene,scene_name, controller.unique_id) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/dirigera_platform/dirigera_lib_patch.py", line 42, in create_empty_scene response_dict = self.post( ^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dirigera/hub/hub.py", line 131, in post response.raise_for_status() File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://192.168.179.71:8443/v1/scenes
It's complaining about scene's and I have one in HA but don't have any in the HUB
And nothing else in changed, no extra sensors and vindstyrka doesn't show anything anymore.
that's weird, Are you sure it's related? I didn't change anything to scenes
Fixed this (unrelated) warning:
Detected code that calls async_forward_entry_setups for integration dirigera_platform with title: IKEA Dirigera Hub : 192.168.179.71 and entry_id: 01J9C0Y75WWMJ1B0G4XDZJ3XY3, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
And your VINDSTYRKA should now show up again :) Like i said before, I don't have any VINDSTYRKA to test out on, but it'll probably work correctly now again
Still broken, I give up and wait till the owner will fix his package, no idea why your updates doesn't show up and parts failing. thanks for the effort..
Have provided the fixes
Describe your changes
Added support for the inspelning. I don't have other IKEA plugs, so I can't test to know for sure if it broke the other plugs, so it would be nice if someone could test that out :) Feel free to comment if something needs to be altered 😁
Checklist before submitting a pull request
requirements.txt
andmanifest.json
Checklist for reviewer