guerrerotook / securitas-direct-new-api

This repository contains the new securitas direct API that can be integrated in Home Assistant
Apache License 2.0
76 stars 30 forks source link

More devices or entities found by integration #178

Closed Apollon16 closed 8 months ago

Apollon16 commented 8 months ago

Hello,

Since yesterday, the integration no longer works in my home. I got a message telling me that the api was no longer in use. I thought it might be a problem with my HA integration. I reinstalled everything but since then no device or entity has been detected.

Do you have the same problem? Do you know what the problem is? Do you think you can solve it?

Thanks Capture d'écran 2023-12-14 111044

danise76 commented 8 months ago

Hi.

Could you check if its similar to the #179 that i set. Can you check in the logs for the error messages from the Securitas integration?

Looks like another change in the Securitas Api, asking for a header now in the requests.

Thanks.

Daniel

Hello,

Since yesterday, the integration no longer works in my home. I got a message telling me that the api was no longer in use. I thought it might be a problem with my HA integration. I reinstalled everything but since then no device or entity has been detected.

Do you have the same problem? Do you know what the problem is? Do you think you can solve it?

Thanks Capture d'écran 2023-12-14 111044

Apollon16 commented 8 months ago

Hello,

I can confirm that we have the same problem.

Error while setting up securitas platform for alarm_control_panel Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/securitas/alarm_control_panel.py", line 61, in async_setup_entry current_state: CheckAlarmStatus = await client.update_overview( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/securitas/__init__.py", line 397, in update_overview status.status, ^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'status'