-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Divera Alarm Sensor not available #14
Comments
hi @JbbDE, that is interesting. Can you provide (anonymized) information about this. How are the alarm groups displayed in the app? |
Sorry to say, but I'm no expert with Divera, just using it about two weeks by now. |
thank you very much for the information. But I think we will find a solution for this in any case. |
I think, sometimes I might receive alarms from groups that belong to other units but include me. These will be relevant for me... |
hello @JbbDE . i have released a fix for now, so that the error no longer occurs for the time being. So that I can display the missing information, I need your support. https://api.divera247.com/?urls.primaryName=api%2Fv2%2Fpull#/Daten/get_api_v2_pull_all However, there is a lot of "private" information in there. In the response, please look for your alert.
There I am interested in the following values:
Please look for all these numbers in the server response. The same applies to the units. Under which path are they displayed and what does a section look like? |
Hi @fwmarcel , thank you for your fix! |
Hi @fwmarcel: I cannot find the DIVERA repository in HACS. Have you deleted it? |
@tobias161183 please do not use closed issues for other topics. The integration is still available |
This sensor is shown in home assistant as not provided by the Integration.
It only worked one time, when I reinstalled the integration.
This error is visible:
`Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: homeassistant.helpers.entity
Source: custom_components/divera/connector.py:118
Integration: Divera 24/7 (documentation, issues)
First occurred: 15. April 2023 um 09:23:56 (4375 occurrences)
Last logged: 21:51:33
Update for select.divera_user_status fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 550, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 755, in async_device_update
raise exc
File "/config/custom_components/divera/select.py", line 56, in async_update
await self._coordinator.async_request_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 200, in async_request_refresh
await self._debounced_refresh.async_call()
File "/usr/src/homeassistant/homeassistant/helpers/debounce.py", line 89, in async_call
await task
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 226, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 341, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 142, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 568, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 635, in _async_write_ha_state
attr.update(self.extra_state_attributes or {})
File "/config/custom_components/divera/sensor.py", line 66, in extra_state_attributes
return self._connector.get_last_alarm_attributes()
File "/config/custom_components/divera/connector.py", line 98, in get_last_alarm_attributes
"groups": list(groups),
File "/config/custom_components/divera/connector.py", line 118, in __search_group
group = self.data["data"]["cluster"]["group"][str(group_id)]
KeyError: '23636'
`
The text was updated successfully, but these errors were encountered: