Closed AndyZ2121 closed 2 years ago
Fixed.
Ничего не изменилось( "Подключились к чайнику, но сопряжение не удалось. Попробуйте снова." и те же ошибки... Может пообщаемся более предметно, расскажу подробнее...? Сейчас работает на ESP32, но очень хочется, что-бы заработала у меня эта интеграция.
Ничего не изменилось( "Подключились к чайнику, но сопряжение не удалось. Попробуйте снова." и те же ошибки... Может пообщаемся более предметно, расскажу подробнее...? Сейчас работает на ESP32, но очень хочется, что-бы заработала у меня эта интеграция.
Тогда мне нужен полный лог уровня debug, а то в первом сообщении и не ошибка даже.
Как это сделать, какие команды и куда вводить?
Как это сделать, какие команды и куда вводить?
В конфиге:
logger:
logs:
custom_components.skykettle: debug
Лог сохраняется в файл home-assistant.log
.
Надеюсь правильно? 2022-02-09 18:04:03 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:04 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:06 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:07 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:08 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:09 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self.child.sendline("char-write-cmd 0x000c 0100") 2022-02-09 18:04:09 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) 2022-02-09 18:04:09 WARNING (MainThread) [custom_components.skykettle.kettleconnection] Auth failed. You need to enable pairing mode on the kettle. 2022-02-09 18:04:09 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:33 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 87: await self.child.expect(r"[LE]> ", async=True) 2022-02-09 18:04:33 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 87: await self.child.expect(r"[LE]> ", async=True) 2022-02-09 18:04:33 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 87: await self.child.expect(r"[LE]> ", async=True) 2022-02-09 18:04:33 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:34 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self.child.sendline("char-write-cmd 0x000c 0100") 2022-02-09 18:04:34 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) 2022-02-09 18:04:34 WARNING (MainThread) [custom_components.skykettle.kettleconnection] Auth failed. You need to enable pairing mode on the kettle. 2022-02-09 18:04:34 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:46 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:46 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self.child.sendline("char-write-cmd 0x000c 0100") 2022-02-09 18:04:46 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) 2022-02-09 18:04:46 WARNING (MainThread) [custom_components.skykettle.kettleconnection] Auth failed. You need to enable pairing mode on the kettle. 2022-02-09 18:04:46 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:56 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:57 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self.child.sendline("char-write-cmd 0x000c 0100") 2022-02-09 18:04:57 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) 2022-02-09 18:04:57 WARNING (MainThread) [custom_components.skykettle.kettleconnection] Auth failed. You need to enable pairing mode on the kettle. 2022-02-09 18:04:57 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:05:06 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue for hassio doing blocking calls at homeassistant/components/hassio/handler.py, line 221: request = await self.websession.request( 2022-02-09 18:05:06 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue for hassio doing blocking calls at homeassistant/components/hassio/handler.py, line 221: request = await self.websession.request(
Мне нужен home-assistant.log
целиком.
Не вопрос: 2022-02-09 16:34:18 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration adaptive_lighting which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-02-09 16:34:18 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-02-09 16:34:18 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-02-09 16:34:18 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration yandex_station which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-02-09 16:34:18 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration yandex_smart_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-02-09 16:34:18 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration skykettle which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2022-02-09 16:34:32 WARNING (SyncWorker_4) [miio.device] Found an unsupported model 'philips.light.ceiling' for class 'Ceil'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/ 2022-02-09 16:34:40 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for s-light @ 172.16.0.131: Error connecting to ('172.16.0.131', 6053): [Errno 113] Connect call failed ('172.16.0.131', 6053) 2022-02-09 16:49:24 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (Go-http-client/2.0) 2022-02-09 16:49:24 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (Go-http-client/2.0) 2022-02-09 16:49:24 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (Go-http-client/2.0) 2022-02-09 16:49:24 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (Go-http-client/2.0) 2022-02-09 16:55:28 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:55:28 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:55:28 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:56:18 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:56:27 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:56:36 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:56:44 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:56:53 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:56:58 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:58:00 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 16:58:01 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 17:00:17 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 17:00:17 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.16.0.1 (172.16.0.1). (yandex-social-useragent/0.1) 2022-02-09 17:50:11 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_light_event_51): entity_id=['light.svet'], params=rgb_color=(255, 181, 118)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(**filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONFCOLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 18:04:03 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:04 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:06 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:07 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:08 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:09 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self.child.sendline("char-write-cmd 0x000c 0100") 2022-02-09 18:04:09 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) 2022-02-09 18:04:09 WARNING (MainThread) [custom_components.skykettle.kettleconnection] Auth failed. You need to enable pairing mode on the kettle. 2022-02-09 18:04:09 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:33 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 87: await self.child.expect(r"[LE]> ", async=True) 2022-02-09 18:04:33 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 87: await self.child.expect(r"[LE]> ", async=True) 2022-02-09 18:04:33 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 87: await self.child.expect(r"[LE]> ", async=True) 2022-02-09 18:04:33 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:34 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self.child.sendline("char-write-cmd 0x000c 0100") 2022-02-09 18:04:34 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) 2022-02-09 18:04:34 WARNING (MainThread) [custom_components.skykettle.kettleconnection] Auth failed. You need to enable pairing mode on the kettle. 2022-02-09 18:04:34 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:46 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:46 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self.child.sendline("char-write-cmd 0x000c 0100") 2022-02-09 18:04:46 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) 2022-02-09 18:04:46 WARNING (MainThread) [custom_components.skykettle.kettleconnection] Auth failed. You need to enable pairing mode on the kettle. 2022-02-09 18:04:46 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:04:56 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self.child.sendline(f"connect") 2022-02-09 18:04:57 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self.child.sendline("char-write-cmd 0x000c 0100") 2022-02-09 18:04:57 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) 2022-02-09 18:04:57 WARNING (MainThread) [custom_components.skykettle.kettleconnection] Auth failed. You need to enable pairing mode on the kettle. 2022-02-09 18:04:57 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self.child.sendline(f"disconnect") 2022-02-09 18:05:06 WARNING (MainThread) [homeassistant.util.async] Detected blocking call inside the event loop. This is causing stability issues. Please report issue for hassio doing blocking calls at homeassistant/components/hassio/handler.py, line 221: request = await self.websession.request( 2022-02-09 18:05:06 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue for hassio doing blocking calls at homeassistant/components/hassio/handler.py, line 221: request = await self.websession.request( 2022-02-09 18:21:44 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_light_event_73): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 18:22:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_74): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 18:24:19 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_75): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 18:25:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_76): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 18:27:19 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_77): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 19:54:35 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_light_event_136): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 19:55:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_137): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 19:57:19 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_138): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 19:58:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_139): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 20:00:19 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_140): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 20:01:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_141): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 21:16:38 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_light_event_191): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 21:16:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_192): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 21:18:19 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_193): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 21:19:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_194): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 21:20:22 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_light_event_195): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 22:07:58 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_light_event_228): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 22:09:19 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_229): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 22:10:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_230): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 22:12:19 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_231): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len() 2022-02-09 22:13:49 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall light.turn_on (c:adapt_lgt_cf68_interval_232): entity_id=['light.svet'], params=rgb_color=(255, 177, 109)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1648, in catch_exceptions await coro_or_task 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 921, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 705, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 504, in async_handle_light_on_service await light.async_turn_on(**filter_turn_on_params(light, params)) File "/config/custom_components/localtuya/light.py", line 361, in async_turn_on if self.is_color_rgb_encoded(): File "/config/custom_components/localtuya/light.py", line 288, in is_color_rgb_encoded return len(self.dps_conf(CONF_COLOR)) > 12 TypeError: object of type 'int' has no len()
Можно же просто файл прикрепить. Хм. Не похоже, чтобы был активирован уровень debug.
Можно попробовать сразу для всех компонентов выставить debug:
logger:
default: info
home-assistant.log Приветствую! Обновил skykettle, включил logger:defolt: info. Лог во вложении. Еще лог с дебагом: home-assistant.log
Такое впечатление, будто чайник не был переведён в режим сопряжения. Какая модель? Светодиоды у него начали мигать?
Так и есть, интеграция его видит, включаю сопряжение - оно включается, но через некоторое время пишет, что подключилось, но сопряжение не удалось. RK-G200S. Изначально чайник был подключен через интеграцию r4s и всё было хорошо до того момента, когда однажды утром я обнаружил, что чайник отвалился (у многих тоже). Запустил приложение на телефоне и обнаружил обновление на чайник, обновился. Чайник подключить больше не смог. Пришлось городить шлюз на ЕСП32, куда он радостно подключился и работает по сей день (не без косяков конечно). Когда случайно наткнулся на Вашу интеграцию - обрадовался, ну наконец-то кто-то смог! И опять облом... Интеграция выглядит идеально! В программировании я не силен. Все подробно описано, чтобы было понимание. Когда пытаюсь подключить к интеграции, конечно отключаю есп. На малине распбиан 10 в докере и на неттопе дебиан 11 в докере, все с последними обновлениями. Эффект одинаков...
Видимо, в обновлении что-то поменяли. Посмотреть бы лог bluetooth подключения. А какая именно версия прошивки сейчас?
Возможно, но ведь к родному приложению и к ЕСП32 подключается. Пишет, что версия 4.21. Как включить лог bluetooth? Только подробней пожалуйста. home-assistant.log
Как включить лог bluetooth? Только подробней пожалуйста)
Затем нужно получить файл btsnoop_hci.log
, в зависимости от телефона он может лежать в разных местах: или где-то в корне памяти, или вытаскиваться командой adb bugreport dumpname
при подключении к компьютеру (будет получен архив, файл можно будет найти в архиве).
Лог на телефоне не появился как до перезагрузки, так и после. Нет в памяти и флешке. Что еще можно сделать?
Лог на телефоне не появился как до перезагрузки, так и после. Нет в памяти и флешке. Что еще можно сделать?
adb bugreport
тоже не даёт лог?
Есть вот это и лог ПО Bluetooth dumpstate_log.txt firmware_events.log
Есть вот это и лог ПО Bluetooth dumpstate_log.txt
А можно полностью архив сгенерированный adb bugreport
?
Да, ничего похожего на лог нет :( Не знаю тогда, где его искать. У разных производителей телефонов это почему-то по-разному.
Может посмотреть здесь: https://github.com/alutov/ESP32-R4sGate-for-Redmond, вдруг что-то поможет. С этим он соединяется без проблем (пароль не надо в отличии от ready4sky, с которым та-же проблема).
Попробуйте, пожалуйста, свежую версию.
Спасибо, что не бросаете! Но, к сожалению: "Подключились к чайнику, но сопряжение не удалось. Попробуйте снова." Закинул в папку, попробовал, перезагрузил, попробовал снова... Каждый раз с замиранием дыхания...
Спасибо, что не бросаете! Но, к сожалению: "Подключились к чайнику, но сопряжение не удалось. Попробуйте снова." Закинул в папку, попробовал, перезагрузил, попробовал снова... Каждый раз с замиранием дыхания...
А hci адаптер только один в системе?
Ещё стоит проверить, не работают ли одновременно с этим другие интеграции, использующие Bluetooth.
Работает bluetooth_tracker с самого начала, пингует телефон и используется в автоматизациях. Адаптер один - на малине встроенный, на неттопе - USB. Отключил bluetooth_tracker, перезагрузил - телефон потерялся. Попробовал подключить чайник - та же реакция (с одной стороны печально, т.к. пришлось бы придумывать другой контроль телефона...) Хотя, раньше ведь работал одновременно bluetooth_tracker и ready4sky...
та же реакция
То есть всё равно не работает?
То есть всё равно не работает?
Да, к сожалению...
Попробуйте версию из мастера, пожалуйста. И приложите лог файлом.
Попробуйте версию из мастера, пожалуйста. И приложите лог файлом.
Ура! После долгих мучений чайник как-то странно запищал (думал помер). После попробовал еще раз и он "спарился"! Спасибо, что не бросили меня.
Logger: homeassistant.util.async Source: util/async.py:144 First occurred: 15:53:08 (46 occurrences) Last logged: 15:59:07
Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 89: self._child.sendline(f"connect") Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 102: self._child.sendline(f"disconnect") Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 93: self._child.sendline("char-write-cmd 0x000c 0100") Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for skykettle doing blocking calls at custom_components/skykettle/kettle_connection.py, line 60: self._child.sendline(data) Detected blocking call inside the event loop. This is causing stability issues. Please report issue for xiaomi_miio doing blocking calls at homeassistant/components/xiaomi_miio/switch.py, line 739: state = await self.hass.async_add_executor_job(self._device.status)
Эта ошибка возникла в кастомной интеграции.
Logger: custom_components.skykettle.kettle_connection Source: custom_components/skykettle/kettle_connection.py:146 Integration: SkyKettle (documentation, issues) First occurred: 15:53:43 (2 occurrences) Last logged: 15:54:03
Auth failed. You need to enable pairing mode on the kettle.