Closed hmdrmch closed 1 year ago
:wave: @hmdrmch, it is checked whether there is a bug. Please have some patience. This action was performed automatically.
:wave: @hmdrmch, we found the bug, it will be fixed shortly. This action was performed automatically.
It still happens on V2.7.5. Only now I can't toggle the switch off. Before it was the other way around.
Logger: homeassistant.components.websocket_api.http.connection Source: custom_components/xplora_watch/switch.py:199 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 16:55:23 (2 occurrences) Last logged: 16:55:36
[140077349118128] PyXploraApi.setDisableSilentTime() got an unexpected keyword argument 'silent_id' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service await service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call await result File "/config/custom_components/xplora_watch/switch.py", line 199, in async_turn_off silents = await self.coordinator.controller.setDisableSilentTime(silent_id=self._silent[ATTR_ID]) TypeError: PyXploraApi.setDisableSilentTime() got an unexpected keyword argument 'silent_id'
Sorry, I have an error in the library, I will fix it as soon as possible.
What version of Integration has the issue?
V2.7.3
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4993 Installed Version | 1.30.1 Stage | running Available Repositories | 1291 Downloaded Repositories | 41Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okDashboards
dashboards | 2 -- | -- resources | 21 views | 5 mode | storageRecorder
oldest_recorder_run | February 13, 2023 at 23:05 -- | -- current_recorder_run | February 23, 2023 at 12:10 database_engine | mysql database_version | 10.11.2Checklist
Describe the issue
Toggling the Watch Silent switch on returns an error. It is possible to turn them off, but they won't turn on within Home Assistant.
Reproduction steps
Debug logs