Open nagtegaal opened 1 month ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (websocket_api
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
websocket_api documentation websocket_api source (message by IssueLinks)
Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (motion_blinds
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
motion_blinds documentation motion_blinds source (message by IssueLinks)
The problem
`Logger: homeassistant.components.websocket_api.http.connection Bron: components/websocket_api/commands.py:245 integratie: Home Assistant WebSocket API (documentatie, problemen) Eerst voorgekomen: 09:16:17 (3 gebeurtenissen) Laatst gelogd: 09:16:33
[140087296356512] Unexpected exception [140087172268672] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/motion_blinds/cover.py", line 213, in async_open_cover await self.hass.async_add_executor_job(self._blind.Open) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/motionblinds/motion_blinds.py", line 1354, in Open self._parse_response(response) File "/usr/local/lib/python3.12/site-packages/motionblinds/motion_blinds.py", line 1205, in _parse_response self._battery_voltage <= 0.0 or self._battery_level >= 200.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: '>=' not supported between instances of 'NoneType' and 'float'`
What version of Home Assistant Core has the issue?
2024.9.2
What was the last working version of Home Assistant Core?
N/A
What type of installation are you running?
Home Assistant OS
Integration causing the issue
motion blinds
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
None