slashback100 / presence_simulation Goto Github PK
View Code? Open in Web Editor NEWHome Assistant Presence Simulation
Home Assistant Presence Simulation
Will Presence Simulation work with the groups that are created with the new groups helper in HA 2022.4?
Hello Slashback100, I'm very happy with your presence solution. It works great. Thank you for this awesome solution
My questions:
If I select 1 day for delta in configuration and I activate the presence switch during 2 days, you mention, it will restart from the same delta period.
Thus, the second day, presence will take the day -1 (which is in fact a copy of the day -2 due to the presence activation the day before), correct ?
If I'm putting 2 days in delta and activate presence for a week, then after 2 days, I will be also in a cycle of 2 days ? Supposed answer is yes
I think to create one specific group of lights for presence. This group need to be part of the record db ?
I'm asking this because I need to leave soon and it's not present today :)
Regards,
Zigomatic
When HA is rebooted, the state of the presence simulation switch is not preserved. If the simulation was switched on before, it is switched off after the reboot.
Looks like a great concept - trying to install and set up and getting:
Logger: homeassistant.setup
Source: custom_components/presence_simulation/init.py:20
First occurred: 14:46:05 (1 occurrences)
Last logged: 14:46:05
Error during setup of component presence_simulation
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/config/custom_components/presence_simulation/init.py", line 20, in async_setup
return await async_mysetup(hass, config[DOMAIN].get("entity_id",[]), config[DOMAIN].get('delta', "7"))
KeyError: 'presence_simulation'
I noted following showing up in the log whenever presence_simulation.start is called.
WARNING (MainThread) [homeassistant.components.history] get_significant_states was called from presence_simulation, this is a deprecated function. Use homeassistant.components.recorder.history.get_significant_states instead, please report this to the maintainer of presence_simulation
The light is turned on & off correctly but the modification of the brightness or color are not applied
Hi,
Will this run on the last version of HA (2021.4.6) and will your intergration be update to work with last HACS version?
! if HA is restarted during the simulation, the scene will be lost
Hi. I have two switches with tasmota firmware. One switch is "virtual" and it has rule defined in it that switches toggle on other switch.
E.g.
When Switch A is turned on, then it issues MQTT command that toggles Switch B as well. And vise versa.
When I add one of switches to group controlled by presence simulation. and it is toggled on by presence simulation it starts infinite loop of switching on and off. And it can't be stopped without rebooting HA instance.
Is there any way to debug presence simulator in order to understand what happens in this case in order to provide some more valuable steps of reproduce? Or any other debugging tips will be helpful.
That behavior is observed on 1.4 version.
Thanks for the integration. I found it really useful.
I think the presence simulation integration does not remove the automations it creates once it gets uninstalled. I removed the integrations, and the lights turn on and off based on the delay. I could not trace it back to other automations I have running still. I also do not see a way to remove these automations now, so my lights keep turning on and off. Is there any way to remedy this now?
Ideas for the future: Being able to choose multiple lights at once using checkboxes would greatly increase the user friendliness
is there any support thread in HA community ? thx
Entity switch.presence_simulation (<class 'custom_components.presence_simulation.switch.PresenceSimulationSwitch'>) implements device_state_attributes. Please report it to the custom component author.
Detaily protokolu (CHYBA)
Tato chyba pochází z vlastní integrace.
Logger: homeassistant.core
Source: custom_components/presence_simulation/init.py:168
Integration: Presence Simulation (documentation, issues)
First occurred: 15. června 2021 20:51:45 (2 occurrences)
Last logged: 8:24:41
Error executing service: <ServiceCall presence_simulation.start (c:6fa0f6fc2b333141823d34da798c02ca)>
Error executing service: <ServiceCall presence_simulation.start (c:ab1a21a6d312152348a116658397d67f)>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1507, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service
await handler.job.target(service_call)
File "/config/custom_components/presence_simulation/init.py", line 168, in handle_presence_simulation
await entity.set_start_datetime(datetime.now(hass.config.time_zone))
TypeError: tzinfo argument must be None or of a tzinfo subclass, not type 'str'
One of the true indicators that people are home is a TV running, it would be great if it could set those states as well, so, does it support that as well?
Hi,
I'm getting this error when turning on simulation via entity switch.
`Logger: homeassistant.core
Source: custom_components/presence_simulation/init.py:168
Integration: Presence Simulation (documentation, issues)
First occurred: 19:52:37 (3 occurrences)
Last logged: 20:14:28
Error executing service: <ServiceCall presence_simulation.start (c:07ab2a3a10772c7893735d74cca3ce7a)>
Error executing service: <ServiceCall presence_simulation.start (c:442dcc99a7b3dd82bf4f59f05d1af13e)>
Error executing service: <ServiceCall presence_simulation.start (c:cedbcc7653a37f0a75b2d4e629d056ae)>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1507, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service
await handler.job.target(service_call)
File "/config/custom_components/presence_simulation/init.py", line 168, in handle_presence_simulation
await entity.set_start_datetime(datetime.now(hass.config.time_zone))
TypeError: tzinfo argument must be None or of a tzinfo subclass, not type 'str'
`
As seen in the logs with the latest 2022.4.0 HA version:
2022-04-07 14:19:33 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that accesses the database without the database executor; Use homeassistant.components.recorder.get_instance(hass).async_add_executor_job() for faster database operations. Please report issue to the custom component author for presence_simulation using this method at custom_components/presence_simulation/init.py, line 362: if result.count() > 0 and result[0][0] == "on":
I installed and configured the "presence_simulation" add-on successfully as per documentation. If this add-on works as expected, it will remove the complexity of creating my own simulation. Great work. Kudos to the developers.
I am getting a warning and not sure what it relates to.
What is the scheduled update interval? Is it the Refresh interval (in seconds)? I am tempted to say yes but thought I'd get a clarification and what action I should take if any. Thanks
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:719
Integration: Switch (documentation, issues)
First occurred: 00:58:26 (1 occurrences)
Last logged: 00:58:26
Updating presence_simulation switch took longer than the scheduled update interval 0:00:05
When simulation period is not 7, 7 is still used to simulate an entity
Starting presence simulation will show following error in the home-assistant.log
Exception while trying to convert utc to local time: tzinfo argument must be None or of a tzinfo subclass, not type 'str'
It appears as if the following line in switch.py is causing the trouble.
self.attr["next_event_datetime"] = self.attr["next_event_datetime"].astimezone(self.hass.config.time_zone).strftime("%d/%m/%Y %H:%M:%S")
Hey,
Thank you for this great idea. I've been trying the script and I've noticed that it only or mostly seems to honor "off" states; it also seems to honor "unavailable" states, which I wouldn't expect:
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.lampe_esstisch
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.lampe_esstisch_ambilight
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.lampe_tv
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.lichtbuero1
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.lichtbuero2
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Entity switch.plug1_2
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] All async tasks launched
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.lampe_esstisch
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lampe_esstisch', 'state': 'off', 'attributes': {'min_mireds': 153, 'max_mireds': 370, 'effect_list': ['Slow Temp', 'Stop'], 'supported_color_modes': ['color_temp'], 'flowing': False, 'music_mode': False, 'night_light': False, 'friendly_name': 'Lampe Esstisch', 'supported_features': 44}, 'last_changed': '2021-09-28T16:04:56.849666+00:00', 'last_updated': '2021-09-28T16:04:56.849666+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lampe_esstisch foreseen at 2021-10-05 16:04:56.849666+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switching light light.lampe_esstisch to off
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lampe_esstisch', 'state': 'unavailable', 'attributes': {'min_mireds': 153, 'max_mireds': 370, 'effect_list': ['Slow Temp', 'Stop'], 'supported_color_modes': ['color_temp'], 'friendly_name': 'Lampe Esstisch', 'supported_features': 44}, 'last_changed': '2021-09-28T23:06:29.630296+00:00', 'last_updated': '2021-09-28T23:06:29.630296+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lampe_esstisch foreseen at 2021-10-05 23:06:29.630296+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.lampe_esstisch_ambilight
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lampe_esstisch_ambilight', 'state': 'off', 'attributes': {'min_mireds': 153, 'max_mireds': 588, 'effect_list': ['Strobe color', 'Police', 'Christmas', 'RGB', 'Random Loop', 'Fast Random Loop', 'LSD', 'Slowdown', 'Night Mode', 'Date Night', 'Movie', 'Sunrise', 'Sunset', 'Romance', 'Happy Birthday', 'Disco', 'Strobe epilepsy!', 'Alarm', 'Police2', 'WhatsApp', 'Facebook', 'Twitter', 'Home', 'Candle Flicker', 'Slow Temp', 'Stop'], 'supported_color_modes': ['color_temp', 'hs', 'rgb'], 'flowing': False, 'music_mode': False, 'night_light': False, 'friendly_name': 'Lampe Esstisch ambilight', 'supported_features': 44}, 'last_changed': '2021-09-28T16:04:56.849666+00:00', 'last_updated': '2021-09-28T16:04:56.849666+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lampe_esstisch_ambilight foreseen at 2021-10-05 16:04:56.849666+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switching light light.lampe_esstisch_ambilight to off
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lampe_esstisch_ambilight', 'state': 'unavailable', 'attributes': {'min_mireds': 153, 'max_mireds': 588, 'effect_list': ['Strobe color', 'Police', 'Christmas', 'RGB', 'Random Loop', 'Fast Random Loop', 'LSD', 'Slowdown', 'Night Mode', 'Date Night', 'Movie', 'Sunrise', 'Sunset', 'Romance', 'Happy Birthday', 'Disco', 'Strobe epilepsy!', 'Alarm', 'Police2', 'WhatsApp', 'Facebook', 'Twitter', 'Home', 'Candle Flicker', 'Slow Temp', 'Stop'], 'supported_color_modes': ['color_temp', 'hs', 'rgb'], 'friendly_name': 'Lampe Esstisch ambilight', 'supported_features': 44}, 'last_changed': '2021-09-28T23:06:29.630364+00:00', 'last_updated': '2021-09-28T23:06:29.630364+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lampe_esstisch_ambilight foreseen at 2021-10-05 23:06:29.630364+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.lampe_tv
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lampe_tv', 'state': 'off', 'attributes': {'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'supported_color_modes': ['color_temp'], 'linkquality': 102, 'power_on_behavior': None, 'update': {'state': 'idle'}, 'update_available': False, 'friendly_name': 'Licht TV', 'supported_features': 47}, 'last_changed': '2021-09-28T16:04:56.849666+00:00', 'last_updated': '2021-09-28T16:04:56.849666+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lampe_tv foreseen at 2021-10-05 16:04:56.849666+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switching light light.lampe_tv to off
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lampe_tv', 'state': 'off', 'attributes': {'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'supported_color_modes': ['color_temp'], 'linkquality': 105, 'power_on_behavior': None, 'update': {'state': 'idle'}, 'update_available': False, 'friendly_name': 'Licht TV', 'supported_features': 47}, 'last_changed': '2021-09-28T13:48:25.560826+00:00', 'last_updated': '2021-09-28T16:53:29.139002+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lampe_tv foreseen at 2021-10-05 16:53:29.139002+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.lichtbuero1
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lichtbuero1', 'state': 'off', 'attributes': {'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'supported_color_modes': ['color_temp'], 'linkquality': 87, 'power_on_behavior': None, 'update': {'state': 'idle'}, 'update_available': False, 'friendly_name': 'Licht Büro 1', 'supported_features': 47}, 'last_changed': '2021-09-28T16:04:56.849666+00:00', 'last_updated': '2021-09-28T16:04:56.849666+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lichtbuero1 foreseen at 2021-10-05 16:04:56.849666+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switching light light.lichtbuero1 to off
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lichtbuero1', 'state': 'on', 'attributes': {'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'supported_color_modes': ['color_temp'], 'color_mode': 'color_temp', 'brightness': 205, 'color_temp': 454, 'hs_color': [29.79, 84.553], 'rgb_color': [255, 146, 39], 'xy_color': [0.579, 0.388], 'linkquality': 87, 'power_on_behavior': None, 'update': {'state': 'idle'}, 'update_available': False, 'friendly_name': 'Licht Büro 1', 'supported_features': 47}, 'last_changed': '2021-09-28T16:48:43.360041+00:00', 'last_updated': '2021-09-28T16:48:43.360041+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lichtbuero1 foreseen at 2021-10-05 16:48:43.360041+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.lichtbuero2
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lichtbuero2', 'state': 'off', 'attributes': {'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'supported_color_modes': ['color_temp'], 'linkquality': 57, 'power_on_behavior': None, 'update': {'state': 'idle'}, 'update_available': False, 'friendly_name': 'Licht Büro 2', 'supported_features': 47}, 'last_changed': '2021-09-28T16:04:56.849666+00:00', 'last_updated': '2021-09-28T16:04:56.849666+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lichtbuero2 foreseen at 2021-10-05 16:04:56.849666+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switching light light.lichtbuero2 to off
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.lichtbuero2', 'state': 'off', 'attributes': {'min_mireds': 250, 'max_mireds': 454, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'supported_color_modes': ['color_temp'], 'linkquality': 54, 'power_on_behavior': None, 'update': {'state': 'idle'}, 'update_available': False, 'friendly_name': 'Licht Büro 2', 'supported_features': 47}, 'last_changed': '2021-09-27T23:02:01.513485+00:00', 'last_updated': '2021-09-28T16:51:43.398260+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.lichtbuero2 foreseen at 2021-10-05 16:51:43.398260+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: switch.plug1_2
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'switch.plug1_2', 'state': 'off', 'attributes': {'temperature': 36, 'model': 'chuangmi.plug.m3', 'friendly_name': 'BüroWiFiPlug1', 'icon': 'mdi:power-socket'}, 'last_changed': '2021-09-28T16:04:56.849666+00:00', 'last_updated': '2021-09-28T16:04:56.849666+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of switch.plug1_2 foreseen at 2021-10-05 16:04:56.849666+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switching entity switch.plug1_2 to off
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'switch.plug1_2', 'state': 'off', 'attributes': {'temperature': 38, 'model': 'chuangmi.plug.m3', 'friendly_name': 'BüroWiFiPlug1', 'icon': 'mdi:power-socket'}, 'last_changed': '2021-09-28T01:54:00.946302+00:00', 'last_updated': '2021-09-28T16:06:03.267118+00:00'}
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Switch of switch.plug1_2 foreseen at 2021-10-05 16:06:03.267118+00:00
2021-10-05 18:04:56 DEBUG (MainThread) [custom_components.presence_simulation] Presence simulation will be relaunched in 7 days
Did I just not wait long enough for it to show scheduled "on" states?
In my home assistant log I found this entry
No 'version' key in the manifest file for custom integration 'presence_simulation'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'presence_simulation'
Please fix this.
Thank you
Getting error:
Logger: homeassistant.setup
Source: setup.py:280
First occurred: 11:05:30 (1 occurrences)
Last logged: 11:05:30
Unable to prepare setup for platform presence_simulation.switch: Platform not found (No module named 'custom_components.presence_simulation.switch').
I think you need to move the switch platform out of the __init__.py
and into its own switch.py
file for this to get set up correctly. There are lots of examples to look at in the Home Assistant components.
In core-2021.5.5, this is what shows up in the log with 1 enitity configured via the gui with HACS install
Traceback (most recent call last):
File "/config/custom_components/presence_simulation/init.py", line 221, in simulate_single_entity
await update_entity(entity_id, state)
File "/config/custom_components/presence_simulation/init.py", line 254, in update_entity
await hass.services.async_call("light", "turn_"+state.state, service_data, blocking=False)
File "/usr/src/homeassistant/homeassistant/core.py", line 1428, in async_call
raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service light.turn_unavailable
Setting-up the integration via the UI is still not working for a light group, but using YAML at least results in the following log output:
2021-05-14 01:14:30 DEBUG (MainThread) [custom_components.presence_simulation] Config: Entities for presence simulation: light.group_alle_lampen
2021-05-14 01:14:30 DEBUG (MainThread) [custom_components.presence_simulation] Config: Cycle of 7 days
2021-05-14 01:14:30 DEBUG (MainThread) [custom_components.presence_simulation] Config: Scan interval of 30 seconds
2021-05-14 01:14:30 DEBUG (MainThread) [custom_components.presence_simulation] Config: Timezone that will be used to display datetime: Europe/Berlin
The configuration is:
# Presence Simulation
presence_simulation:
entity_id: light.group_alle_lampen
However, no switch is created to control the integration.
In configuration modal is there an option to write down more than one entity? I am only able to run the simulation with one entity or one group.
I get this error when trying to enable the extension. It has worked previously
This error originated from a custom integration.
Logger: custom_components.presence_simulation
Source: custom_components/presence_simulation/init.py:161
Integration: Presence Simulation (documentation, issues)
First occurred: 4 June 2021, 15:28:25 (4 occurrences)
Last logged: 6:45:00
Error during identifing entities
I think presence simulation makes most sense when it is dark outside. It would be great if you could enable an option to only do the simulations while it is dark / sun is down
Hi, thank you for your work.
Some days ago, I found that integration of a presence simulation has icon Not Loaded. I was remove it and I trying load again,
I used a case 2 as install, I have a directory with PS. Bud in integrations and adding a new integration, a Presence Simulation is not found. Have you any idea?
Thank you.
It seems to be possible to add the presence simulation integration twice and configure the integrations with different groups of lights. However, I can't seem to find a way to switch on a specific presence simulation, as only one switch and one service are created.
It would be nice if I could toggle presence simulation just for a part of my house.
Is this use-case supported at all?
Hi @slashback100
HA is core 2022.4
Presence simulation is 1.14
Hmm, I don't understand what's going on with this now.
I have the service and all showing up, but if I 'switch on' te simulation, it doesn't turn on?
My group set up in the integration looks like this:
presence_simulator:
name: All entities for presence simulator
entities:
- light.all_commonareas
- light.all_adrian
- light.all_bedroom
- light.all_office
- cover.bedroom_blind
- cover.livingroom_blind_big
- cover.livingroom_small_window_blind
- cover.office_window_blind
The 'all' lights are light groups.
It's all very nice with the lights turning on and off, but it would be extra 'preventive' if the blinds were also handled.
They can be handled much in the same way as regular lights.
I'm running on Hass 2022.3.8, reverted back from 2022.4.x since it failed to upgrade MariaDB.
HACS is version 1.24.5
Everything worked fine after this rollback.
However today I noticed it stopped working with this error message:
Setup failed for custom integration presence_simulation: Unable to import component: cannot import name 'get_instance' from 'homeassistant.components.recorder' (/usr/src/homeassistant/homeassistant/components/recorder/init.py)
I have no clue whatsoever what is happening here. Help very much appreciated.
2021-07-08 09:12:25 WARNING (MainThread) [homeassistant.components.history] get_significant_states was called from presence_simulation, this is a deprecated function. Use homeassistant.components.recorder.history.get_significant_states instead, please report this to the maintainer of presence_simulation
2021-07-08 09:12:36 WARNING (MainThread) [homeassistant.components.history] get_significant_states was called from presence_simulation, this is a deprecated function. Use homeassistant.components.recorder.history.get_significant_states instead, please report this to the maintainer of presence_simulation
Hi, this project is exactly what I have been looking for. However, I can't seem to get it to work on my Hass OS on Intel NUC running the latest stable of everything with MariaDB as the recorder backend?
The component is found (HA adds a warning to the log about untested component), but I cannot add the integration (not listed in the search for integrations).
Any clues?
Thank you. I like what I see - I just wish it would work for me :)
HACS latest release is 1.4 while 1.5 is available on GitHub.
I'm trying to set this up for a couple of days but somehow I cannot get it to work. Probably I'm doing something wrong...
It seems that no lights are actually switched on.
Do you see something suspicious in the logs?
I'm wondering about these has no attribute entity_id, it is not a group nor a light group
log entries.
2022-04-01 17:54:37 DEBUG (SyncWorker_0) [custom_components.presence_simulation.switch] Turn on of the presence simulation through the switch
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Is already running ? off
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] setting restore states True
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Presence simulation started
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.kuche_licht has no attribute entity_id, it is not a group nor a light group
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.esstisch_licht has no attribute entity_id, it is not a group nor a light group
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.wohnzimmer_licht_panel has no attribute entity_id, it is not a group nor a light group
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.terasse_licht has no attribute entity_id, it is not a group nor a light group
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.wc_licht has no attribute entity_id, it is not a group nor a light group
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.kinderzimmer_licht has no attribute entity_id, it is not a group nor a light group
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.schlafzimmer_licht has no attribute entity_id, it is not a group nor a light group
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.bad_licht_dusche has no attribute entity_id, it is not a group nor a light group
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State ['light.kuche_licht', 'light.esstisch_licht', 'light.wohnzimmer_licht_panel', 'light.terasse_licht', 'light.wc_licht', 'light.kinderzimmer_licht', 'light.schlafzimmer_licht', 'light.bad_licht_dusche']
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Saving scene before launching the simulation
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Getting the historic from 2022-03-25 15:54:37.217256+00:00 for ['light.kuche_licht', 'light.esstisch_licht', 'light.wohnzimmer_licht_panel', 'light.terasse_licht', 'light.wc_licht', 'light.kinderzimmer_licht', 'light.schlafzimmer_licht', 'light.bad_licht_dusche']
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] history: {'light.kuche_licht': [<state light.kuche_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Küche_licht, supported_features=0 @ 2022-03-26T18:50:46.657039+01:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-26T19:11:49.203544+01:00>, <state light.kuche_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Küche_licht, supported_features=0 @ 2022-03-26T19:43:04.250018+01:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-26T19:55:51.354502+01:00>, <state light.kuche_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-27T04:12:22.644504+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-27T04:12:25.733295+02:00>, <state light.kuche_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-27T07:33:23.769919+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-27T07:33:26.873149+02:00>, <state light.kuche_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-29T02:27:41.294274+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-29T02:27:44.401390+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-29T22:40:55.014715+02:00>, <state light.kuche_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Küche_licht, supported_features=0 @ 2022-03-30T20:20:11.690148+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-30T20:34:02.916439+02:00>, <state light.kuche_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-30T23:47:27.922091+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-30T23:47:31.038191+02:00>, <state light.kuche_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Küche_licht, supported_features=0 @ 2022-03-31T19:47:27.403213+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-03-31T20:03:12.709918+02:00>, <state light.kuche_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-04-01T07:44:53.416082+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-04-01T07:44:56.515220+02:00>, <state light.kuche_licht=off; supported_color_modes=['onoff'], friendly_name=Küche_licht, supported_features=0 @ 2022-04-01T17:51:38.452106+02:00>], 'light.esstisch_licht': [<state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-25T18:36:47.326639+01:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-25T20:07:15.099395+01:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-26T19:04:33.574864+01:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-26T19:43:03.829547+01:00>, <state light.esstisch_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-27T04:12:22.644936+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-27T04:12:25.733761+02:00>, <state light.esstisch_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-27T07:33:23.770354+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-27T07:33:26.873615+02:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-27T19:06:27.956293+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-27T19:40:28.258542+02:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-27T20:08:03.494902+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-27T20:36:34.385706+02:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-28T19:36:14.537722+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-28T20:00:59.778401+02:00>, <state light.esstisch_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T02:27:41.294710+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T02:27:44.401859+02:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T18:40:06.891517+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T19:28:21.633011+02:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T19:41:25.799041+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T19:41:26.729850+02:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T19:43:23.090499+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T20:02:49.255319+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-29T22:40:55.015410+02:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-30T19:04:46.186816+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-30T20:20:12.390964+02:00>, <state light.esstisch_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-30T23:47:27.922523+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-30T23:47:31.038667+02:00>, <state light.esstisch_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-31T18:33:12.610110+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-03-31T20:07:41.678015+02:00>, <state light.esstisch_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-04-01T07:44:53.416514+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-04-01T07:44:56.515597+02:00>, <state light.esstisch_licht=off; supported_color_modes=['onoff'], friendly_name=Esstisch_licht, supported_features=0 @ 2022-04-01T17:51:38.452628+02:00>], 'light.wohnzimmer_licht_panel': [<state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-25T18:31:34.100754+01:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-25T23:22:17.560841+01:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-26T18:42:27.321322+01:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-26T19:56:50.498372+01:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-26T19:56:52.379432+01:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-26T22:17:36.037178+01:00>, <state light.wohnzimmer_licht_panel=unavailable; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-27T04:12:22.645808+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-27T04:12:25.734693+02:00>, <state light.wohnzimmer_licht_panel=unavailable; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-27T07:33:23.771216+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-27T07:33:26.874540+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-27T19:25:50.945450+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-27T23:09:12.546453+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-28T09:48:54.885724+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-28T09:49:01.156714+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-28T19:34:02.475054+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-28T22:39:40.897404+02:00>, <state light.wohnzimmer_licht_panel=unavailable; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T02:27:41.295577+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T02:27:44.402788+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T07:10:20.167998+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T07:45:43.002354+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T19:40:33.590674+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T19:40:44.139626+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T19:40:48.290002+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T19:41:19.771187+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T19:41:27.295152+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-29T22:40:55.016955+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-30T19:04:46.985129+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-30T23:06:03.569794+02:00>, <state light.wohnzimmer_licht_panel=unavailable; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-30T23:47:27.923384+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-30T23:47:31.039756+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-31T07:02:15.475248+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-31T07:59:29.576223+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-31T18:11:38.299113+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-31T19:24:28.747456+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-03-31T19:24:31.270326+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-04-01T00:25:59.421610+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-04-01T07:40:45.226298+02:00>, <state light.wohnzimmer_licht_panel=unavailable; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-04-01T07:44:53.417369+02:00>, <state light.wohnzimmer_licht_panel=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-04-01T07:44:56.516469+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-04-01T09:14:03.034614+02:00>, <state light.wohnzimmer_licht_panel=off; supported_color_modes=['onoff'], friendly_name=Wohnzimmer_licht_panel, supported_features=0 @ 2022-04-01T17:51:38.453700+02:00>], 'light.terasse_licht': [<state light.terasse_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-27T04:12:22.646666+02:00>, <state light.terasse_licht=off; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-27T04:12:25.735717+02:00>, <state light.terasse_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-27T07:33:23.772079+02:00>, <state light.terasse_licht=off; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-27T07:33:26.875564+02:00>, <state light.terasse_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Terasse_licht, supported_features=0 @ 2022-03-27T20:14:04.053367+02:00>, <state light.terasse_licht=off; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-27T20:15:11.383353+02:00>, <state light.terasse_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-29T02:27:41.296435+02:00>, <state light.terasse_licht=off; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-29T02:27:44.404688+02:00>, <state light.terasse_licht=off; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-29T22:40:55.024150+02:00>, <state light.terasse_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-30T23:47:27.924250+02:00>, <state light.terasse_licht=off; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-03-30T23:47:31.040931+02:00>, <state light.terasse_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-04-01T07:44:53.418223+02:00>, <state light.terasse_licht=off; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-04-01T07:44:56.518059+02:00>, <state light.terasse_licht=off; supported_color_modes=['onoff'], friendly_name=Terasse_licht, supported_features=0 @ 2022-04-01T17:51:38.455233+02:00>], 'light.wc_licht': [<state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-25T18:29:15.176331+01:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-25T18:31:21.635175+01:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-26T18:51:55.953703+01:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-26T18:54:45.398151+01:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-26T19:41:17.597766+01:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-26T19:43:34.600335+01:00>, <state light.wc_licht=unavailable; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-27T04:12:22.647096+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-27T04:12:25.736182+02:00>, <state light.wc_licht=unavailable; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-27T07:33:23.772512+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-27T07:33:26.876025+02:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-27T20:09:04.897750+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-27T20:10:12.877040+02:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-27T20:13:16.622167+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-27T20:14:28.602035+02:00>, <state light.wc_licht=unavailable; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-29T02:27:41.296866+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-29T02:27:44.405158+02:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-29T07:17:33.697099+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-29T07:19:04.734734+02:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-29T19:07:38.501614+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-29T19:11:42.904132+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-29T22:40:55.024700+02:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-30T20:05:33.796459+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-30T20:07:50.646033+02:00>, <state light.wc_licht=unavailable; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-30T23:47:27.924681+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-30T23:47:31.041410+02:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-31T07:04:41.856087+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-31T07:05:51.720764+02:00>, <state light.wc_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=WC_licht, supported_features=0 @ 2022-03-31T08:00:14.915983+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-03-31T08:01:16.639275+02:00>, <state light.wc_licht=unavailable; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-04-01T07:44:53.418647+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-04-01T07:44:56.518443+02:00>, <state light.wc_licht=off; supported_color_modes=['onoff'], friendly_name=WC_licht, supported_features=0 @ 2022-04-01T17:51:38.455779+02:00>], 'light.kinderzimmer_licht': [<state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-25T19:29:07.122294+01:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-25T19:29:20.402575+01:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-25T20:08:16.837402+01:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-25T20:08:29.497154+01:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-25T20:08:33.646370+01:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-25T21:44:52.749145+01:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-26T06:50:31.161048+01:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-26T07:20:52.251457+01:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-26T13:07:16.698473+01:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-26T13:07:42.020555+01:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-26T19:50:09.381554+01:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-26T19:51:39.302471+01:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-26T20:33:56.297192+01:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-26T22:09:37.462368+01:00>, <state light.kinderzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-27T04:12:22.648370+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-27T04:12:25.743105+02:00>, <state light.kinderzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-27T07:33:23.773788+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-27T07:33:26.878391+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-27T07:52:38.747482+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-27T08:26:04.422115+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-27T20:37:01.181000+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-27T23:08:31.732013+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-28T08:11:39.743272+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-28T08:12:15.054582+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-28T20:02:15.424411+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-28T22:38:32.129813+02:00>, <state light.kinderzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-29T02:27:41.298172+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-29T02:27:44.406543+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-29T07:13:39.703843+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-29T07:15:04.085275+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-29T20:02:45.440140+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-29T22:40:55.026390+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-29T23:22:31.919398+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-29T23:22:41.726698+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-30T19:51:05.379062+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-30T19:51:25.109860+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-30T19:59:54.227759+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-30T20:01:41.189993+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-30T20:40:16.191759+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-30T23:05:18.974448+02:00>, <state light.kinderzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-30T23:47:27.925990+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-30T23:47:31.043002+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-31T07:41:42.014928+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-31T07:43:42.666279+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-31T20:07:57.240304+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-03-31T21:21:21.735519+02:00>, <state light.kinderzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-04-01T07:44:53.420010+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-04-01T07:44:56.519641+02:00>, <state light.kinderzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-04-01T07:48:39.587750+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-04-01T07:49:45.119440+02:00>, <state light.kinderzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Kinderzimmer_licht, supported_features=0 @ 2022-04-01T17:51:38.457637+02:00>], 'light.schlafzimmer_licht': [<state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-26T19:47:36.392019+01:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-26T19:49:44.608074+01:00>, <state light.schlafzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-27T04:12:22.648789+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-27T04:12:25.743573+02:00>, <state light.schlafzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-27T07:33:23.774210+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-27T07:33:26.878872+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-28T20:01:40.295222+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-28T20:02:08.656097+02:00>, <state light.schlafzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T02:27:41.298594+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T02:27:44.407009+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T07:40:58.567151+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T07:41:47.625244+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T20:37:38.436162+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T20:39:00.287078+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T20:52:39.715866+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T20:59:48.137137+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-29T22:40:55.026933+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-30T08:02:41.148926+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-30T08:10:24.447111+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-30T19:51:42.005204+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-30T19:54:00.570972+02:00>, <state light.schlafzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-30T23:47:27.926425+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-30T23:47:31.043472+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-31T07:37:33.030638+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-31T07:41:21.323662+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-31T20:08:19.016719+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-03-31T20:08:29.377784+02:00>, <state light.schlafzimmer_licht=unavailable; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-04-01T07:44:53.420449+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-04-01T07:44:56.520261+02:00>, <state light.schlafzimmer_licht=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-04-01T07:49:53.243870+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-04-01T07:52:03.796646+02:00>, <state light.schlafzimmer_licht=off; supported_color_modes=['onoff'], friendly_name=Schlafzimmer_licht, supported_features=0 @ 2022-04-01T17:51:38.458152+02:00>], 'light.bad_licht_dusche': [<state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-25T20:15:07.682839+01:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-25T20:15:27.913722+01:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T07:51:09.376915+01:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T08:05:29.965591+01:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T19:45:32.090002+01:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T19:55:12.071410+01:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T19:55:52.952236+01:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T19:56:25.362248+01:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T20:31:57.155611+01:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T20:33:48.733854+01:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T20:40:09.816799+01:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-26T20:40:23.274927+01:00>, <state light.bad_licht_dusche=unavailable; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-27T04:12:22.649210+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-27T04:12:25.744039+02:00>, <state light.bad_licht_dusche=unavailable; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-27T07:33:23.774634+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-27T07:33:26.879342+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-27T10:34:33.386328+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-27T10:58:46.212970+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-27T19:52:58.337073+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-27T20:02:04.218800+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-28T19:22:13.286845+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-28T19:32:43.789361+02:00>, <state light.bad_licht_dusche=unavailable; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-29T02:27:41.299022+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-29T02:27:44.407476+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-29T19:29:36.228469+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-29T19:48:23.663062+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-29T20:09:09.569011+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-29T20:09:49.283101+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-29T22:40:55.027454+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-30T07:36:26.592881+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-30T07:39:43.026678+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-30T07:43:35.542358+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-30T08:00:59.882703+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-30T20:00:17.991624+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-30T20:00:18.500433+02:00>, <state light.bad_licht_dusche=unavailable; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-30T23:47:27.927042+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-03-30T23:47:31.043943+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T07:20:29.281542+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T07:21:57.694707+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T07:29:08.153338+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T07:35:06.818166+02:00>, <state light.bad_licht_dusche=unavailable; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T07:44:53.420934+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T07:44:56.520659+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T09:15:26.323998+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T09:47:07.653722+02:00>, <state light.bad_licht_dusche=on; supported_color_modes=['onoff'], color_mode=onoff, friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T17:25:30.325324+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T17:26:32.027291+02:00>, <state light.bad_licht_dusche=off; supported_color_modes=['onoff'], friendly_name=Bad_licht_dusche, supported_features=0 @ 2022-04-01T17:51:38.458660+02:00>]}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.kuche_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.esstisch_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.wohnzimmer_licht_panel
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.terasse_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.wc_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.kinderzimmer_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.schlafzimmer_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Entity light.bad_licht_dusche
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] All async tasks launched
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.kuche_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.kuche_licht', 'state': 'on', 'attributes': {'supported_color_modes': ['onoff'], 'color_mode': 'onoff', 'friendly_name': 'Küche_licht', 'supported_features': 0}, 'last_changed': '2022-03-26T17:50:46.657039+00:00', 'last_updated': '2022-03-26T17:50:46.657039+00:00'}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.kuche_licht foreseen at 2022-04-02 17:50:46.657039+00:00
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Randomize the event of 0.0 seconds
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.esstisch_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.esstisch_licht', 'state': 'on', 'attributes': {'supported_color_modes': ['onoff'], 'color_mode': 'onoff', 'friendly_name': 'Esstisch_licht', 'supported_features': 0}, 'last_changed': '2022-03-25T17:36:47.326639+00:00', 'last_updated': '2022-03-25T17:36:47.326639+00:00'}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.esstisch_licht foreseen at 2022-04-01 17:36:47.326639+00:00
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Randomize the event of 0.0 seconds
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.wohnzimmer_licht_panel
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.wohnzimmer_licht_panel', 'state': 'on', 'attributes': {'supported_color_modes': ['onoff'], 'color_mode': 'onoff', 'friendly_name': 'Wohnzimmer_licht_panel', 'supported_features': 0}, 'last_changed': '2022-03-25T17:31:34.100754+00:00', 'last_updated': '2022-03-25T17:31:34.100754+00:00'}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.wohnzimmer_licht_panel foreseen at 2022-04-01 17:31:34.100754+00:00
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Randomize the event of 0.0 seconds
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.terasse_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.terasse_licht', 'state': 'unavailable', 'attributes': {'supported_color_modes': ['onoff'], 'friendly_name': 'Terasse_licht', 'supported_features': 0}, 'last_changed': '2022-03-27T02:12:22.646666+00:00', 'last_updated': '2022-03-27T02:12:22.646666+00:00'}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.terasse_licht foreseen at 2022-04-03 02:12:22.646666+00:00
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Randomize the event of 0.0 seconds
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.wc_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.wc_licht', 'state': 'on', 'attributes': {'supported_color_modes': ['onoff'], 'color_mode': 'onoff', 'friendly_name': 'WC_licht', 'supported_features': 0}, 'last_changed': '2022-03-25T17:29:15.176331+00:00', 'last_updated': '2022-03-25T17:29:15.176331+00:00'}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.wc_licht foreseen at 2022-04-01 17:29:15.176331+00:00
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Randomize the event of 0.0 seconds
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.kinderzimmer_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.kinderzimmer_licht', 'state': 'on', 'attributes': {'supported_color_modes': ['onoff'], 'color_mode': 'onoff', 'friendly_name': 'Kinderzimmer_licht', 'supported_features': 0}, 'last_changed': '2022-03-25T18:29:07.122294+00:00', 'last_updated': '2022-03-25T18:29:07.122294+00:00'}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.kinderzimmer_licht foreseen at 2022-04-01 18:29:07.122294+00:00
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Randomize the event of 0.0 seconds
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.schlafzimmer_licht
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.schlafzimmer_licht', 'state': 'on', 'attributes': {'supported_color_modes': ['onoff'], 'color_mode': 'onoff', 'friendly_name': 'Schlafzimmer_licht', 'supported_features': 0}, 'last_changed': '2022-03-26T18:47:36.392019+00:00', 'last_updated': '2022-03-26T18:47:36.392019+00:00'}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.schlafzimmer_licht foreseen at 2022-04-02 18:47:36.392019+00:00
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Randomize the event of 0.0 seconds
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Simulate one entity: light.bad_licht_dusche
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] State {'entity_id': 'light.bad_licht_dusche', 'state': 'on', 'attributes': {'supported_color_modes': ['onoff'], 'color_mode': 'onoff', 'friendly_name': 'Bad_licht_dusche', 'supported_features': 0}, 'last_changed': '2022-03-25T19:15:07.682839+00:00', 'last_updated': '2022-03-25T19:15:07.682839+00:00'}
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Switch of light.bad_licht_dusche foreseen at 2022-04-01 19:15:07.682839+00:00
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Randomize the event of 0.0 seconds
2022-04-01 17:54:37 DEBUG (MainThread) [custom_components.presence_simulation] Presence simulation will be relaunched in 7 days
In the scenario where the simulation is launched by the start service with overriden parameter (entity_id, delta), if HA restarts, the simulation will continue after the restart but with the default parameters, not with the one given in the service start.
Hello
Is it possible to have multiple istances of precence simulator? In my use case I will bind to two different groups of lights.
Thank you
Bye
I updated from version 1.6 to 1.11 using HACS
when I click "configure" I receive error "Config flow could not be loaded"
Log:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 192, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 203, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 230, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data, init_done)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/presence_simulation/config_flow.py", line 69, in async_step_init
vol.Required("random", default=random): int,
UnboundLocalError: local variable 'random' referenced before assignment
Hi,
Unsure if this is just a me-problem, but after your advice the other day, I decided to go ahead and try HACS.
I was not able to find Presence Simulation after following the guide in this repo: I had to add this repo as a custom repository, and then it became available. Not sure if this is a problem upstream, but may be worth an NB in the readme.
Thanks!
The following should be translated as follow. For your consideration.
"entities": "Entité ou groupe d'entités",
"delta": "Delta (nombre de jours)",
"interval": "Intervalle de mise à jour (en secondes)",
"restore": "Restaurer l'état des entités à la fin de la simulation",
"random": "Ajout d'un délai aléatoire pour les changements d'entités. Ce paramètre définit le temps maximal en secondes"
Is it possible to add a kind of random toggle the the lights?
A "presence simulation" with an additional feature to random turning lights on or off would be great.
Because there could be long off-times in the
meanwhile re-playing the recorded history.
Perhaps similar the Node Reds "presence-faker".
What do you think?
Is there a problem using this integration when the history database has been migrated to mariadb?
I get the error(s) below when attempting to turn on presence simulation after I migrated my history database to mariadb.
ANy thoughts or ideas please?
2021-09-09 13:45:33 ERROR (Thread-2) [root] Uncaught thread exception Traceback (most recent call last): File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/usr/local/lib/python3.9/threading.py", line 910, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.9/logging/handlers.py", line 1517, in _monitor self.handle(record) File "/usr/local/lib/python3.9/logging/handlers.py", line 1498, in handle handler.handle(record) File "/usr/local/lib/python3.9/logging/__init__.py", line 952, in handle self.emit(record) File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 192, in emit entry = LogEntry(record, stack, _figure_out_source(record, stack, self.hass)) File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 99, in __init__ self.message = deque([record.getMessage()], maxlen=5) File "/usr/local/lib/python3.9/logging/__init__.py", line 367, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting 2021-09-09 13:45:33 WARNING (MainThread) [homeassistant.components.history] get_significant_states was called from presence_simulation, this is a deprecated function. Use homeassistant.components.recorder.history.get_significant_states instead, please report this to the maintainer of presence_simulation 2021-09-09 13:45:33 ERROR (MainThread) [homeassistant.components.recorder.util] Error executing query: (MySQLdb._exceptions.OperationalError) (2006, 'MySQL server has gone away') [SQL: SELECT states.domain AS states_domain, states.entity_id AS states_entity_id, states.state AS states_state, states.attributes AS states_attributes, states.last_changed AS states_last_changed, states.last_updated AS states_last_updated FROM states WHERE states.last_updated > %s AND states.entity_id IN (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s) ORDER BY states.entity_id, states.last_updated] [parameters: (datetime.datetime(2021, 9, 2, 12, 45, 33, 391107, tzinfo=datetime.timezone.utc), 'light.dining_room_light', 'light.dining_room_lightstrip', 'light.hall_light', 'light.kitchen_light', 'light.landing_light', 'light.lounge_lightstrip', 'light.lounge_light', 'light.my_spa_lights', 'light.bedroom_lamp', 'light.cabinet_light', 'light.office_lamp', 'light.lounge_lamp')] (Background on this error at: https://sqlalche.me/e/14/e3q8) 2021-09-09 13:45:33 ERROR (MainThread) [homeassistant.components.recorder.util] Error executing query: Can't reconnect until invalid transaction is rolled back. (Background on this error at: https://sqlalche.me/e/14/8s2b) 2021-09-09 13:45:33 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall presence_simulation.start (c:369c78083b4ed29031db12b713d16c00)> Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 1508, in catch_exceptions await coro_or_task File "/usr/src/homeassistant/homeassistant/core.py", line 1527, in _execute_service await handler.job.target(service_call) File "/config/custom_components/presence_simulation/__init__.py", line 184, in handle_presence_simulation dic = history.get_significant_states(hass=hass, start_time=minus_delta, entity_ids=expanded_entities, significant_changes_only=False) File "/usr/src/homeassistant/homeassistant/helpers/deprecation.py", line 110, in deprecated_func return func(*args, **kwargs) File "/usr/src/homeassistant/homeassistant/components/history/__init__.py", line 63, in get_significant_states return history.get_significant_states(hass, *args, **kwargs) File "/usr/src/homeassistant/homeassistant/components/recorder/history.py", line 66, in get_significant_states return _get_significant_states(hass, session, *args, **kwargs) File "/usr/src/homeassistant/homeassistant/components/recorder/history.py", line 118, in _get_significant_states states = execute( File "/usr/src/homeassistant/homeassistant/components/recorder/util.py", line 115, in execute result = list(qry) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/ext/baked.py", line 382, in __iter__ return self._iter().__iter__() File "/usr/local/lib/python3.9/site-packages/sqlalchemy/ext/baked.py", line 412, in _iter result = self.session.execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 1689, in execute result = conn._execute_20(statement, params or {}, execution_options) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1583, in _execute_20 return meth(self, args_10style, kwargs_10style, execution_options) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection return connection._execute_clauseelement( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1452, in _execute_clauseelement ret = self._execute_context( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1669, in _execute_context conn = self._revalidate_connection() File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 560, in _revalidate_connection self._invalid_transaction() File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 532, in _invalid_transaction raise exc.PendingRollbackError( sqlalchemy.exc.PendingRollbackError: Can't reconnect until invalid transaction is rolled back. (Background on this error at: https://sqlalche.me/e/14/8s2b) 2021-09-09 13:45:52 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'action' when rendering '{{ value_json.action }}' Connected
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.