Closed proasnet closed 1 year ago
I have the same issue, followed setup but the service wont start
Hi, today I tried start service. I have installed more than 7 days. I have created group and this selected in integration, that has history. If I call service
presence_simulation.start
, service not start, andswitch.presence_simulation
is still as off value. If I toogleswitch.presence_simulation
from off state to on state, state will return back to off. I am doing something wrong, but I dont know what. Please, help me. Thank you very much.
I found the issue, it doesn't like the lights as a group. I have just changed mine to list all the lights individually and it will now activate.
When you added the group what syntax did you use? In the example I saw the group listed as "group.for_presence_simulation", so I typed group.pgroup (as pgroup is the name I used). However the syntax should be light.pgroup and again that allowed the simulation to start.
I tried specifying single lights, separated by a comma, in the integration settings instead of a group, and the problem is not solved. Still the same thing. I have a group defined in the helpers with the name of the group "light.presence_simulator_group"
Could you please activate the logger in debug mode and share the logs?
Hi, now I tried get back the group to the integration settings, enable logging and switch on a service. Now the service has stayed on, but there are strange errors in the log that don't make sense to me.
2022-12-21 11:08:00.091 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration presence_simulation 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-12-21 11:08:00.095 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-12-21 11:08:32.749 WARNING (MainThread) [homeassistant.components.mqtt.client] Can't decode payload b'{"stat_t":"homeassistant/sensor/000000000000//state","dev_cla":"voltage","unit_of_meas":"Hz","ic":"\x1a","name":"Out\x01Freq","uniq_id":"_000000000000","avty_t":"homeassistant/000000000000/avail","dev":{"ids":"000000000000","mf":"Jirutka","mdl":"F","name":"Axpertino GW","sw":"1.1"}}1\xc8\x02\x00' on homeassistant/sensor/000000000000//config with encoding utf-8 (for <Job HassJobType.Coroutinefunction <function async_start.<locals>.async_discovery_message_received at 0x7f1ebae1cf70>>)
2022-12-21 11:14:46.287 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!
2022-12-21 11:16:38.480 ERROR (Thread-2 (_thread_main)) [homeassistant] Error doing job: Task was destroyed but it is pending!
2022-12-21 11:28:03.249 ERROR (Thread-2 (_thread_main)) [homeassistant] Error doing job: Task was destroyed but it is pending!
2022-12-21 11:28:03.251 WARNING (MainThread) [homeassistant.helpers.entity] Updating state for device_tracker.deva985c3 (<class 'homeassistant.components.mikrotik.device_tracker.MikrotikDataUpdateCoordinatorTracker'>) took 0.749 seconds. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mikrotik%22
2022-12-21 11:44:59.736 ERROR (Thread-2 (_thread_main)) [homeassistant] Error doing job: Task was destroyed but it is pending!
2022-12-21 13:18:04.797 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!
2022-12-21 13:22:31.498 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity SW_Chodba_0NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:31.511 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity SW_Chodba_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:31.516 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Loznice_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:31.520 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Obyvak_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:31.524 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Pokoj_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:31.528 ERROR (MainThread) [custom_components.presence_simulation] Error during identifing entities, no valid entities has been found
2022-12-21 13:22:32.688 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity SW_Chodba_0NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:32.696 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity SW_Chodba_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:32.703 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Loznice_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:32.707 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Obyvak_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:32.711 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Pokoj_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:32.716 ERROR (MainThread) [custom_components.presence_simulation] Error during identifing entities, no valid entities has been found
2022-12-21 13:22:36.648 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity SW_Chodba_0NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:36.655 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity SW_Chodba_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:36.659 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Loznice_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:36.663 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Obyvak_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:36.666 ERROR (MainThread) [custom_components.presence_simulation] Error when trying to identify entity RGBCW_Pokoj_1NP, it seems it doesn't exist. Continuing without this entity
2022-12-21 13:22:36.670 ERROR (MainThread) [custom_components.presence_simulation] Error during identifing entities, no valid entities has been found
2022-12-21 22:26:00.488 WARNING (MainThread) [homeassistant.helpers.entity] Updating state for sensor.batt_disch_current (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) took 0.868 seconds. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22
2022-12-22 06:09:58.180 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!
2022-12-22 06:23:17.742 ERROR (MainThread) [frontend.js.latest.202212131] :0:0 ResizeObserver loop completed with undelivered notifications.
The specified group of lights is entered by the helper by default. The group includes RGBCW lights and relay lights
The log says that the entities associated to your group don't exist. Indeed, the names are SW_Chodba_0NP
, SW_Chodba_1NP
, ... but it should be something like light.SW_Chodba_0NP
, light.SW_Chodba_1NP
...
Closing because of absence of answer since 3 weeks.
Hi, today I tried start service. I have installed more than 7 days. I have created group and this selected in integration, that has history. If I call service
presence_simulation.start
, service not start, andswitch.presence_simulation
is still as off value. If I toogleswitch.presence_simulation
from off state to on state, state will return back to off. I am doing something wrong, but I dont know what. Please, help me. Thank you very much.