HmIP-MOD-HO Fehler beim Ansteuern aus HA heraus

Open Source Hausautomation

Moderator: Co-Administratoren

Antworten
Garbsen
Beiträge: 295
Registriert: 12.07.2017, 21:08
Hat sich bedankt: 1 Mal
Danksagung erhalten: 14 Mal

HmIP-MOD-HO Fehler beim Ansteuern aus HA heraus

Beitrag von Garbsen » 11.02.2022, 08:51

Der Sensor zeigt an, dass das Garagentor offen steht, obwohl es geschlossen ist. Beim Ansteuern wird im Log folgender Fehler gezeigt:

Code: Alles auswählen

 Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/hahm/cover.py:210 
Integration: Home Assistant WebSocket API (documentation, issues) 
First occurred: 08:46:18 (2 occurrences) 
Last logged: 08:46:31

[281473250769264] object NoneType can't be used in 'await' expression
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 190, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1630, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1667, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 668, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 927, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call
    await result
  File "/config/custom_components/hahm/cover.py", line 210, in async_close_cover
    await self._hm_entity.close_cover()
  File "/usr/local/lib/python3.9/site-packages/hahomematic/devices/cover.py", line 324, in close_cover
    await self._e_door_command.send_value(GARAGE_DOOR_COMMAND_CLOSE)
TypeError: object NoneType can't be used in 'await' expression

512 Kanäle in 101 Geräten und 145 CUxD-Kanäle in 19 CUxD-Geräten:
--------------------------------------------
http://www.eq-3.de/service/downloads.html
Tips und Tricks für Anfänger: viewtopic.php?t=22801
Programmlogik: viewtopic.php?f=31&t=4251
Webui-Handbuch: https://www.eq-3.de/Downloads/eq3/downl ... h_eQ-3.pdf
Script und Linksammlung: viewtopic.php?f=26&t=27907

Antworten

Zurück zu „Home Assistant“