Hi, I’m trying to add my son’s twinkly string lights to HA. I added the integration and entered the IP address of the lights. It adds the device name, but I don’t have any devices or entities to control the lights. Is there something I’m missing?
Just did a restart and noticed this in the logs.
Logger: homeassistant.components.light
Source: helpers/aiohttp_client.py:73
Integration: Light (documentation, issues)
First occurred: 12:14:07 PM (1 occurrences)
Last logged: 12:14:07 PM
twinkly: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 537, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 784, in async_device_update
await self.async_update()
File "/usr/src/homeassistant/homeassistant/components/twinkly/light.py", line 299, in async_update
await self.async_update_movies()
File "/usr/src/homeassistant/homeassistant/components/twinkly/light.py", line 319, in async_update_movies
movies = await self._client.get_saved_movies()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ttls/client.py", line 443, in get_saved_movies
return await self._get("movies")
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ttls/client.py", line 191, in _get
return await r.json()
^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 73, in json
return await super().json(*args, loads=loads, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1120, in json
return loads(stripped.decode(encoding))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
orjson.JSONDecodeError: unexpected control character in string: line 1 column 364 (char 363)