Dear all,
i have a problem with my HUB HARMONY.
i know the new update of Home Assistant have changed some settings in Harmony Hub, i have read a lot of tread a lot of person have problem and bug after this update and i have try all solution without resultat !
i have error :
Updating harmony remote took longer than the scheduled update interval 0:00:05
12:36 helpers/entity_platform.py (WARNING)
## Log Details (WARNING)
Sun Dec 23 2018 12:36:44 GMT+0100 (heure normale d’Europe centrale)
Updating harmony remote took longer than the scheduled update interval 0:00:05
Update for remote.lgtv fails
12:36 deps/lib/python3.6/site-packages/pyharmony/client.py (ERROR)
Log Details (ERROR)
Sun Dec 23 2018 12:36:56 GMT+0100 (heure normale d’Europe centrale)
Update for remote.lgtv fails
Traceback (most recent call last):
File "/opt/Home-Assistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/opt/Home-Assistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 347, in async_device_update
await self.async_update()
File "/opt/Home-Assistant/lib/python3.6/site-packages/homeassistant/components/remote/harmony.py", line 205, in async_update
activity_id = await self._client.get_current_activity()
File "/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/CONFIG_DIR/deps/lib/python3.6/site-packages/pyharmony/client.py", line 234, in get_current_activity
'vnd.logitech.harmony/vnd.logitech.harmony.engine'
File "/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/CONFIG_DIR/deps/lib/python3.6/site-packages/pyharmony/client.py", line 184, in _send_request
return await self._wait_response(msgid)
File "/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/CONFIG_DIR/deps/lib/python3.6/site-packages/pyharmony/client.py", line 190, in _wait_response
response_json = await self._websocket.recv()
File "/opt/Home-Assistant/lib/python3.6/site-packages/websockets/protocol.py", line 298, in recv
raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
Error doing job: Task exception was never retrieved
12:36 deps/lib/python3.6/site-packages/pyharmony/client.py (ERROR)
Log Details (ERROR)
Sun Dec 23 2018 12:36:56 GMT+0100 (heure normale d’Europe centrale)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/opt/Home-Assistant/lib/python3.6/asyncio/tasks.py", line 179, in _step
result = coro.send(None)
File "/opt/Home-Assistant/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 277, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/opt/Home-Assistant/lib/python3.6/site-packages/homeassistant/components/remote/harmony.py", line 240, in async_turn_on
await self._client.start_activity(activity_id)
File "/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/CONFIG_DIR/deps/lib/python3.6/site-packages/pyharmony/client.py", line 289, in start_activity
response = await self._wait_response(msgid)
File "/share/CACHEDEV1_DATA/.qpkg/Home-Assistant/CONFIG_DIR/deps/lib/python3.6/site-packages/pyharmony/client.py", line 190, in _wait_response
response_json = await self._websocket.recv()
File "/opt/Home-Assistant/lib/python3.6/site-packages/websockets/protocol.py", line 298, in recv
raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
i think all error provided by SWITCHES.YAML because when i use scripts.yaml for change channel no problem, but after i use commande in switches.yaml nothing works i need restart my home assistant for my hub work again…
anybody have a idea or solution ?
it’s a exemple for my switches.yaml :
# Android TV
androidtv:
value_template: "{{ is_state_attr('remote.lgtv', 'current_activity', 'Android Tv') }}"
turn_on:
service: remote.turn_on
data:
entity_id: remote.lgtv
activity: 'Android Tv'
turn_off:
service: remote.turn_on
data:
entity_id: remote.lgtv
activity: 'PowerOff'
it’s a exemple for my scripts.yaml :
volumeup:
alias: "Volume Up"
sequence:
- service: remote.send_command
data_template:
entity_id: remote.lgtv
device: 51830162
command: ["VolumeUp"]
thank you in advance for your help