Closed hollapm closed 4 years ago
Could you tell me what exactly you do and what and when is going wrong (as I don't get what you call 'override feature')? Basically, how can I reproduce the issue?
I take it's your first try on this component, is that correct? How did you install it, manually or via HACS?
If I go to the alarm panel, I click on any of the 3 bubbles (Night, Home, Away) click on override, allow it to arm, then open a sensor (or close one and re-open it) it goes to triggered. The warning pops for a fraction of a second so can't capture with a screen shot. The alarm then sounds. It's almost like the sensors are acting as immediate vs delay. I can create a meeting and give you control of my system so you can see how it's acting if that helps. this was installed thru HACS - new install with hassio supervisor i had a previous config just using hass, manual install of bwalarm which worked, but I never tested with the override feature - we have awesome weather so windows are now open On Thursday, May 14, 2020, 12:09:04 PM PDT, akasma74 notifications@github.com wrote:
could you tell me what exactly you do and what and when is going wrong? basically, how can I reproduce the issue?
I take it's your first try on this component, is that correct? How did you install it, manually or via HACS?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
If I go to the alarm panel, I click on any of the 3 bubbles (Night, Home, Away) click on override, allow it to arm, then open a sensor (or close one and re-open it) it goes to triggered.
does that happen when you activate one of your overriden sensors or it always happens no matter what sensor is activated?
can you try arming with all sensors inactive and then trigger the alarm to see if it makes any difference?
by the way, I'd suggest to pick one mode and leave just one sensor in your config for that mode as it'll make the debugging process easier (just make sure you saved your original config somewhere for the future use).
The warning pops for a fraction of a second so can't capture with a screen shot.
do you mean a countdown in the top left corner (and a status at the top)?
I'd like to see its debug output - please enable debug logging by adding to your configuration.yaml
the following and restarting HA:
custom_components.bwalarm.alarm_control_panel: debug
Alternatively, you can go to Developer tools -> Services and call logger.set_level
with the above stirng as service data.
Then arm the alarm, make it trigger and disarm. Post the relevant piece of HA log (home-assistant.log) here.
Info below as well as a follow-up after next test.
Some updates - only have 2 sensors inn each zoneboth in overri night - no sensors in override - goes to warning like it should Night - 2 sensors in override - goes to warning like it should away - no sensors in override - goes to triggered - pool Away - 2 sensors in override - goes to Triggered - street windows
Home - 2 sensors in override - goes to triggered - pool windows home - no sensors in override - goes to triggered
If I go to the alarm panel, I click on any of the 3 bubbles (Night, Home, Away) click on override, allow it to arm, then open a sensor (or close one and re-open it) it goes to triggered.
does that happen when you activate one of your overriden sensors or it always happens no matter what sensor is activated?It happens for either a sensor that I override is activated (open/close) or for one that is not overwritten (open)can you try arming with all sensors inactive and then trigger the alarm to see if it makes any difference?Will do - need to modify bwalarm.yamlby the way, I'd suggest to pick one mode and leave just one sensor in your config for that mode as it'll make the debugging process easier (just make sure you saved your original config somewhere for the future use).Should I disable all other modes (just use home for example) or would you prefer 2 sensors in one mode, another 2 in a different mode?I'm doing it both ways ;-)
The warning pops for a fraction of a second so can't capture with a screen shot.
do you mean a countdown in the top left corner (and a status at the top)?Its real fast - but where it shows armed then triggered I can see another quick color pop-up which looks like warning. ITS REAL FAST. I'd like to see its debug output - please enable debug logging by adding to your configuration.yaml the following and restarting HA:
custom_components.bwalarm.alarm_control_panel: debug
Alternatively, you can go to Developer tools -> Services and call logger.set_level with the above stirng as service data.Done
Then arm the alarm, make it trigger and disarm.
Post the relevant piece of HA log (home-assistant.log) here.
2020-05-14 16:43:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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.
2020-05-14 16:44:07 ERROR (MainThread) [homeassistant.components.climate] Error while setting up smartthings platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 295, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 378, in _async_add_entity
capabilities=entity.capability_attributes,
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 181, in capability_attributes
self.hass, self.min_temp, self.temperature_unit, self.precision
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 490, in min_temp
DEFAULT_MIN_TEMP, TEMP_CELSIUS, self.temperature_unit
File "/usr/src/homeassistant/homeassistant/util/temperature.py", line 31, in convert
raise ValueError(UNIT_NOT_RECOGNIZED_TEMPLATE.format(to_unit, TEMPERATURE))
ValueError: None is not a recognized temperature unit.
2020-05-14 16:44:07 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry for hacs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 216, in async_setup
hass, self
File "/config/custom_components/hacs/init.py", line 85, in async_setup_entry
startup_result = await hacs_startup()
File "/config/custom_components/hacs/init.py", line 164, in hacs_startup
await setup_frontend()
File "/config/custom_components/hacs/setup.py", line 103, in setup_frontend
require_admin=True,
File "/usr/src/homeassistant/homeassistant/components/frontend/init.py", line 190, in async_register_built_in_panel
raise ValueError(f"Overwriting panel {panel.frontend_url_path}")
ValueError: Overwriting panel hacs
2020-05-14 16:46:35 ERROR (MainThread) [homeassistant.components.automation] [Alarm] Warning: Error executing script. Service not found for call_service at pos 1: Unable to find service notify/google_assistant_broadcast
2020-05-14 16:47:24 ERROR (MainThread) [homeassistant.components.automation] [Alarm] Warning: Error executing script. Service not found for call_service at pos 1: Unable to find service notify/google_assistant_broadcast
2020-05-14 16:48:13 ERROR (MainThread) [homeassistant.components.automation] [Alarm] Warning: Error executing script. Service not found for call_service at pos 1: Unable to find service notify/google_assistant_broadcast
2020-05-14 16:48:55 ERROR (MainThread) [homeassistant.components.automation] [Alarm] Warning: Error executing script. Service not found for call_service at pos 1: Unable to find service notify/google_assistant_broadcast
2020-05-14 16:51:16 ERROR (MainThread) [homeassistant.components.automation] [Alarm] Warning: Error executing script. Service not found for call_service at pos 1: Unable to find service notify/google_assistant_broadcast
— You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Build software better, together
GitHub is where people build software. More than 50 million people use GitHub to discover, fork, and contribute ... |
|
|
|
Override - immediately goes to triggered bypassing warning · Issue #96 ·...
The component: Current version: BWALARM v1.12.4 Last known working version (if any): n/a Your setup: Home Assist... |
|
|
Ok, from the results of your tests I can see that there is no issue with Arm Night, is that correct.
My suggestion was to pick one mode and leave one sensor in delayed
section. No need to disable other modes as as a next step you could test them as well one by one using the same approach.
From the HA log you posted I can see that a) you haven't set debug level for your alarm as it should display something like this
2020-05-15 12:47:10 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "None", ignore_open_sensors: False) begin 2020-05-15 12:47:10 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-05-15 12:47:10 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] has_open_sensors all clear
so please do set log level to debug
and then arm/trigger/disarm and post the relevant part of the log.
Some of your automations do not work because of this
[homeassistant.components.automation] [Alarm] Warning: Error executing script. Service not found for call_service at pos 1: Unable to find service notify/google_assistant_broadcast
so check that out.
Btw, apparently your smartthings.climate and HACS are not working as well.
And one more note - please format your replies so it's not all mixed with my replies and is readable (you can click on Preview tab when composing it or Edit your reply even if it's already posted).
I was sending the messages directly from my mail client so that definately isn't as pretty :-)
Night's appears to be working well, the other two are not.
Here are the logs 2020-05-15 15:13:15 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-05-15 15:13:15 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-05-15 15:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-15 15:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-15 15:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-15 15:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-15 15:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-15 15:13:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) begin 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) end 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-15 15:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:15:04 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:15:04 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-05-15 15:15:04 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-05-15 15:15:04 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_night) begin 2020-05-15 15:15:04 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:15:04 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:15:04 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_night) end 2020-05-15 15:15:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False, returning None 2020-05-15 15:15:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-15 15:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:15:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False, returning None 2020-05-15 15:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to disarmed 2020-05-15 15:15:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-15 15:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-15 15:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-15 15:15:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-15 15:15:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:17:13 ERROR (MainThread) [frontend.js.latest.202004272] https://bugsandmustang.duckdns.org/lovelace/0:0:0 Uncaught 2020-05-15 15:17:48 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:18:16 ERROR (MainThread) [homeassistant.components.climate] Error while setting up smartthings platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform await asyncio.gather(pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 295, in async_add_entities await asyncio.gather(tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 378, in _async_add_entity capabilities=entity.capability_attributes, File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 181, in capability_attributes self.hass, self.min_temp, self.temperature_unit, self.precision File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 490, in min_temp DEFAULT_MIN_TEMP, TEMP_CELSIUS, self.temperature_unit File "/usr/src/homeassistant/homeassistant/util/temperature.py", line 31, in convert raise ValueError(UNIT_NOT_RECOGNIZED_TEMPLATE.format(to_unit, TEMPERATURE)) ValueError: None is not a recognized temperature unit. 2020-05-15 15:18:50 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:19:30 ERROR (MainThread) [frontend.js.latest.202004272] https://bugsandmustang.duckdns.org/lovelace-new/0:0:0 Uncaught 2020-05-15 15:19:30 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2810414480] Received invalid command: shopping_list/items 2020-05-15 15:19:30 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2810414480] Received invalid command: shopping_list/items 2020-05-15 15:19:45 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2810414480] Received invalid command: shopping_list/items 2020-05-15 15:19:50 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:20:39 ERROR (MainThread) [frontend.js.latest.202004272] https://bugsandmustang.duckdns.org/lovelace/0:0:0 Uncaught 2020-05-15 15:20:51 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:21:52 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:22:53 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:23:54 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:24:55 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:24:56 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2810414480] Received invalid command: shopping_list/items 2020-05-15 15:25:56 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:26:57 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:27:58 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:28:59 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:29:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2665444496] Received invalid command: shopping_list/items 2020-05-15 15:30:00 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:30:05 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2665444496] Received invalid command: shopping_list/items 2020-05-15 15:31:01 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:32:02 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:33:03 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:34:04 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:35:05 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:36:06 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:37:07 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:38:12 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:39:09 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) begin 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) end 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-15 15:39:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:39:57 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:39:57 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-05-15 15:39:57 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-05-15 15:39:57 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_night) begin 2020-05-15 15:39:57 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:39:57 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:39:57 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_night) end 2020-05-15 15:39:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False, returning None 2020-05-15 15:39:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:40:11 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:40:35 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.master_bedroom_left_window_door_contact is on 2020-05-15 15:40:35 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:40:35 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-05-15 15:40:35 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-15 15:40:35 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-15 15:40:35 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:40:35 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:40:35 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-15 15:40:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-15 15:40:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:40:41 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-15 15:40:41 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:40:41 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-05-15 15:40:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-15 15:40:41 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-15 15:40:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:40:41 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-15 15:40:41 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-15 15:40:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-15 15:40:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-15 15:40:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:41:11 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:41:20 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:41:20 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-05-15 15:41:20 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-15 15:41:20 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) begin 2020-05-15 15:41:20 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:41:20 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:41:20 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) end 2020-05-15 15:41:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False, returning None 2020-05-15 15:41:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:41:34 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_street_right_window_contact is on 2020-05-15 15:41:34 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:41:34 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-05-15 15:41:34 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-15 15:41:34 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-15 15:41:34 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:41:34 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:41:34 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-15 15:41:34 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-15 15:41:34 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:41:34 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:41:34 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-15 15:41:34 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-15 15:41:34 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-15 15:41:34 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:41:34 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:41:34 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-15 15:41:34 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-15 15:41:34 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:41:40 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-15 15:41:40 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:41:40 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-15 15:41:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-15 15:41:40 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-15 15:41:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:41:40 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-15 15:41:40 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-15 15:41:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-15 15:41:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) begin 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_away 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) end 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-15 15:41:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:42:12 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-15 15:42:17 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:42:17 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-05-15 15:42:17 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_away 2020-05-15 15:42:17 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_away) begin 2020-05-15 15:42:17 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:42:17 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:42:17 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_away) end 2020-05-15 15:42:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False, returning None 2020-05-15 15:42:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:42:32 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-15 15:42:32 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:42:32 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-05-15 15:42:32 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-15 15:42:32 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-15 15:42:32 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:42:32 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:42:32 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-15 15:42:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-15 15:42:32 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:42:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:42:32 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-15 15:42:32 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-15 15:42:32 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-15 15:42:32 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-15 15:42:32 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-15 15:42:32 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-15 15:42:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-15 15:42:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:42:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-15 15:42:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-15 15:42:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-15 15:42:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-15 15:42:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-15 15:42:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-15 15:42:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-15 15:42:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-15 15:42:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-15 15:42:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
I was sending the messages directly from my mail client so that definately isn't as pretty :-)
please do it via Github.
Night's appears to be working well, the other two are not.
Ok, to summarize:
Is that correct?
I've just tried your config and it works as expected no matter the mode. If my summary is correct, I want you to do the following
bwalarm.yaml
and open it for editingarmed_home
and armed_away
sectionsarmed_night
so you have only ONE sensor in delayed
section and no sensors in immediate
([])armed_night
section, paste it and change its name to `armed_away'bwalarm.yaml
configuration.yaml
by adding:
logger:
logs:
custom_components.bwalarm.alarm_control_panel: debug
Now you should have all three modes configured identically. Start HA and arm the alarm with no active sensors to make sure it works as expected. Then make the sensor active and arm confirming override. Trip the sensor (make it active again by closing/opening). Wait for the alarm to change to Triggered. Disarm. Repeat the process process of arming/tripping/disarming for all three modes.
Post your results here alongside with bwalarm.yaml
and HA log.
p.s you don't need to have your siren on during this testing so maybe set initial_state: 'off'
for alarm_triggered
automation. Or just disconnect the siren physically if you can ;)
The only item working is Night Mode. It works for both override and normal mode. Both Home and away trigger for either normal (no sensors active or override).
1) Trips to triggered immediately for night and Home 2) Trips immediately with override for night and home
I'm going to hold off on the steps till I hear back. Note I could try taking it out of Night mode to see if that changes anything - I E turn off night mode.
So it has nothing to do with override, the issue is only Night mode works.
Well, I don't see a reason in turing off Night mode. My advice is to do exactly what I explained above, i.e replicate simplified arm_night config and use it as arm_away, for example (no need to do all three). Then trip the sensor in Night and Away mode and send me the log.
Here's the update
Same error happening. Immediate trigger for Home and away, but night works. updating taking the logs out of code
2020-05-18 14:06:15 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-05-18 14:06:15 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-05-18 14:06:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /config/configuration.yaml, line 96). 2020-05-18 14:06:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /config/configuration.yaml, line 96). 2020-05-18 14:06:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /config/configuration.yaml, line 96). 2020-05-18 14:06:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /config/configuration.yaml, line 96). 2020-05-18 14:06:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /config/configuration.yaml, line 96). 2020-05-18 14:06:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /config/configuration.yaml, line 96). 2020-05-18 14:06:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: required key not provided @ data['action']. Got None. (See /config/configuration.yaml, line 96). 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-05-18 14:06:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-05-18 14:06:27 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-05-18 14:06:27 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-05-18 14:06:27 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-05-18 14:06:27 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:06:27 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:07:42 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:07:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:07:59 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:07:59 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-05-18 14:07:59 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-05-18 14:07:59 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_night) begin 2020-05-18 14:07:59 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:07:59 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:07:59 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_night) end 2020-05-18 14:07:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False, returning None 2020-05-18 14:07:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:04 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-18 14:08:04 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:04 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-05-18 14:08:04 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-18 14:08:04 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-18 14:08:04 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:04 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:04 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-18 14:08:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-18 14:08:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:10 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:10 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-18 14:08:10 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-18 14:08:10 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-18 14:08:10 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:10 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:10 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-18 14:08:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:08:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:14 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:08:14 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:08:14 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-18 14:08:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:14 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:08:14 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:08:14 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:08:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:08:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:08:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:24 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:24 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-05-18 14:08:24 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-05-18 14:08:24 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_night) begin 2020-05-18 14:08:24 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:24 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:24 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_night) end 2020-05-18 14:08:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False, returning None 2020-05-18 14:08:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:26 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-18 14:08:26 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:26 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-05-18 14:08:26 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-18 14:08:26 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-18 14:08:26 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:26 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:26 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-18 14:08:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-18 14:08:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:29 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:08:29 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:29 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-05-18 14:08:29 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:08:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:08:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:29 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:08:29 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:08:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:08:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:08:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:38 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:38 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-05-18 14:08:38 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-18 14:08:38 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) begin 2020-05-18 14:08:38 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:38 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:38 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) end 2020-05-18 14:08:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False, returning None 2020-05-18 14:08:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:42 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-18 14:08:42 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:42 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-05-18 14:08:42 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-18 14:08:42 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-18 14:08:42 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:42 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:42 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-18 14:08:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-18 14:08:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:42 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:42 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-18 14:08:42 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-18 14:08:42 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-18 14:08:42 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:42 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:42 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-18 14:08:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:08:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:43 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-18 14:08:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:08:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-18 14:08:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:08:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:08:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:08:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:08:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:08:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:08:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:56 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:56 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-05-18 14:08:56 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-18 14:08:56 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) begin 2020-05-18 14:08:56 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:56 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:56 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) end 2020-05-18 14:08:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False, returning None 2020-05-18 14:08:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:59 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-18 14:08:59 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:59 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-05-18 14:08:59 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-18 14:08:59 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-18 14:08:59 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:59 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:59 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-18 14:08:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-18 14:08:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:08:59 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:08:59 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-18 14:08:59 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-18 14:08:59 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-18 14:08:59 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:08:59 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:08:59 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-18 14:08:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:08:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:02 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:09:02 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:09:02 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-18 14:09:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:02 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:09:02 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:09:02 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:09:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:09:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_away 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:09:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:12 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:12 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-05-18 14:09:12 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_away 2020-05-18 14:09:12 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_away) begin 2020-05-18 14:09:12 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:12 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:12 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_away) end 2020-05-18 14:09:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False, returning None 2020-05-18 14:09:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:14 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-18 14:09:14 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:14 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-05-18 14:09:14 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-18 14:09:14 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-18 14:09:14 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:14 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:14 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-18 14:09:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-18 14:09:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:14 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:14 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-18 14:09:14 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-18 14:09:14 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-18 14:09:14 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:14 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:14 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-18 14:09:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:09:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:20 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:09:20 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:20 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-18 14:09:20 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:09:20 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:09:20 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:09:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:09:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:09:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_away 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:09:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:30 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:30 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-05-18 14:09:30 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_away 2020-05-18 14:09:30 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_away) begin 2020-05-18 14:09:30 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:30 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:30 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_away) end 2020-05-18 14:09:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False, returning None 2020-05-18 14:09:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:32 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:09:32 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False, returning None 2020-05-18 14:09:32 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to disarmed 2020-05-18 14:09:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:32 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:09:32 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:09:32 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:09:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:09:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_away 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:41 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:41 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-05-18 14:09:41 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_away 2020-05-18 14:09:41 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_away) begin 2020-05-18 14:09:41 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:41 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:41 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_away) end 2020-05-18 14:09:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False, returning None 2020-05-18 14:09:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:44 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-18 14:09:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-18 14:09:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-05-18 14:09:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-18 14:09:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-18 14:09:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:46 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-18 14:09:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-18 14:09:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:46 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:46 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-18 14:09:46 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-18 14:09:46 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-18 14:09:46 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:09:46 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:09:46 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-18 14:09:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:09:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:49 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:09:49 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:09:49 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-18 14:09:49 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:09:49 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:09:49 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:09:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:09:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:09:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:09:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
bwalarm.yaml
`platform: bwalarm panel: cameras: [] panel_title: '' camera_update_interval: '' enable_clock: true enable_clock_12hr: true enable_weather: true enable_fahrenheit: true hide_passcode: true round_buttons: true enable_sensors_panel: true enable_night_mode: true states: armed_night: immediate: [] delayed:
note I fixed the invalid config automation error and still goes off to immediate.
Quick test on just one of the settings, both all closed as well as override:
2020-05-18 14:17:17 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-05-18 14:17:17 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-05-18 14:17:28 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-18 14:17:28 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-18 14:17:28 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-18 14:17:28 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-05-18 14:17:28 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:17:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:18:46 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-18 14:19:48 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-18 14:20:48 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:21:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:21:35 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:21:35 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-05-18 14:21:35 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-18 14:21:35 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) begin 2020-05-18 14:21:35 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:21:35 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:21:35 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) end 2020-05-18 14:21:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False, returning None 2020-05-18 14:21:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:21:38 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-18 14:21:38 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:21:38 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-05-18 14:21:38 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-18 14:21:38 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-18 14:21:38 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:21:38 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:21:38 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-18 14:21:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-18 14:21:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:21:38 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:21:38 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-18 14:21:38 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-18 14:21:38 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-18 14:21:38 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:21:38 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:21:38 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-18 14:21:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:21:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:21:45 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:21:45 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:21:45 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:21:45 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-18 14:21:45 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:21:45 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:21:45 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:21:45 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:21:45 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:21:45 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:21:49 ERROR (MainThread) [homeassistant.components.sense] Timeout retrieving data 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-05-18 14:21:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:22:05 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:22:05 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-05-18 14:22:05 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-05-18 14:22:05 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) begin 2020-05-18 14:22:05 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:22:05 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:22:05 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) end 2020-05-18 14:22:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False, returning None 2020-05-18 14:22:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:22:07 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_pool_window_right_contact is on 2020-05-18 14:22:07 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:22:07 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-05-18 14:22:07 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-05-18 14:22:07 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-05-18 14:22:07 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:22:07 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:22:07 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-05-18 14:22:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-05-18 14:22:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:22:07 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:22:07 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-05-18 14:22:07 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-05-18 14:22:07 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-05-18 14:22:07 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-05-18 14:22:07 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-05-18 14:22:07 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-05-18 14:22:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-05-18 14:22:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:22:11 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-05-18 14:22:11 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-05-18 14:22:11 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-05-18 14:22:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:22:11 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-05-18 14:22:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-05-18 14:22:11 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-05-18 14:22:11 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-05-18 14:22:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-05-18 14:22:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
Just wanted to follow-up as I haven't heard anything. Please advise any other thoughts. Should I disable night mode?
Sorry, I've been pretty busy with some offline projects and also spent some time thinking about further debugging strategies.
You can try disabling the Night mode, it won't harm.
However, I'd like you to overwrite your existing custom_components/bwalarm/alarm_control_panel.py
with this one (it has some additional debug printouts).
Then set log level of the bwalarm to debug and arm it Night first (to show that it works) and then disarm and arm Away, trigger, wait for the alarm to change its state to triggered
, disarm and post the relevant part of your HA log here.
Thanks @akasma74 - I know how life works. It's Updated - also updated Home Assistant to .111 rebooted.
Started with Night (all sensors closed), then Home (sensors closed, sensors override) then away (sensors closed, sensors override). Same error.
Here's the logs 2020-06-10 16:51:11 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-06-10 16:51:11 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user first_last 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-06-10 16:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 16:51:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) begin 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) end 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-10 16:59:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:17 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-10 16:59:17 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-10 16:59:17 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 16:59:17 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-10 16:59:17 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 16:59:17 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 16:59:17 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-10 16:59:17 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-10 16:59:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-10 16:59:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 5, _timeoutat: 2020-06-10 23:59:30.772080+00:00 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-10 16:59:25 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-10 16:59:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-10 16:59:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:31 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-10 16:59:31 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-10 16:59:31 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-10 16:59:31 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 16:59:31 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 16:59:31 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-10 16:59:31 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-10 16:59:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-10 16:59:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:35 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-06-10 16:59:35 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-10 16:59:35 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-10 16:59:35 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-10 16:59:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 16:59:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:35 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-10 16:59:35 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-10 16:59:35 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-06-10 16:59:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 16:59:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-06-10 16:59:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-10 16:59:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-10 16:59:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-10 16:59:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-10 16:59:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 16:59:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-10 16:59:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 16:59:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 16:59:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-10 16:59:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-10 16:59:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-06-10 16:59:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-10 16:59:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:44 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-10 16:59:44 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-10 16:59:44 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 16:59:44 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-10 16:59:44 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 16:59:44 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 16:59:44 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-10 16:59:44 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-10 16:59:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-10 16:59:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-10 23:59:56.446116+00:00 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-10 16:59:51 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-10 16:59:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-10 16:59:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:51 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Trigger, state: warning, override_pending_time: False - begin 2020-06-10 16:59:51 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-10 16:59:51 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-10 16:59:51 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 16:59:51 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 16:59:51 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-10 16:59:51 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Trigger, state: triggered, override_pending_time: False - end 2020-06-10 16:59:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-10 16:59:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:56 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-06-10 16:59:56 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-10 16:59:56 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-10 16:59:56 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-10 16:59:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 16:59:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 16:59:56 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-10 16:59:56 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-10 16:59:56 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-06-10 16:59:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 16:59:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-10 17:00:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:08 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-10 17:00:08 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-10 17:00:08 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 17:00:08 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-10 17:00:08 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:08 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:08 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-10 17:00:08 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-10 17:00:08 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-10 17:00:08 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-11 00:00:19.134638+00:00 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-10 17:00:14 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-10 17:00:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-10 17:00:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:14 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Trigger, state: warning, override_pending_time: False - begin 2020-06-10 17:00:14 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-10 17:00:14 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-10 17:00:14 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:14 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:14 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-10 17:00:14 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Trigger, state: triggered, override_pending_time: False - end 2020-06-10 17:00:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-10 17:00:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:18 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-06-10 17:00:18 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-10 17:00:18 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-10 17:00:18 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-10 17:00:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 17:00:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:18 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-10 17:00:18 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-10 17:00:18 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-06-10 17:00:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 17:00:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) begin 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: disarmed, override_pending_time: False - begin 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: pending, override_pending_time: False - end 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) end 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-10 17:00:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:31 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-10 17:00:31 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-06-10 17:00:31 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 17:00:31 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - begin 2020-06-10 17:00:31 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:31 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:31 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - end 2020-06-10 17:00:31 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_away, override_pending_time: False - end 2020-06-10 17:00:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False - return None 2020-06-10 17:00:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_away, override_pending_time: False - begin 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_away, warning time: 5, _timeoutat: 2020-06-11 00:00:42.389457+00:00 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-10 17:00:37 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-10 17:00:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-10 17:00:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:37 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Trigger, state: warning, override_pending_time: False - begin 2020-06-10 17:00:37 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-10 17:00:37 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-10 17:00:37 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:37 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:37 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-10 17:00:37 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Trigger, state: triggered, override_pending_time: False - end 2020-06-10 17:00:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-10 17:00:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:43 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-06-10 17:00:43 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-10 17:00:43 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-10 17:00:43 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-10 17:00:43 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-10 17:00:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 17:00:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 17:00:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:43 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-10 17:00:43 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) begin 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: disarmed, override_pending_time: False - begin 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: pending, override_pending_time: False - end 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_away, passcode: "", ignore_open_sensors: True) end 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-10 17:00:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:54 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-10 17:00:54 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-06-10 17:00:54 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-10 17:00:54 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - begin 2020-06-10 17:00:54 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:54 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:54 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - end 2020-06-10 17:00:54 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_away, override_pending_time: False - end 2020-06-10 17:00:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False - return None 2020-06-10 17:00:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_away, override_pending_time: False - begin 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_away, warning time: 5, _timeoutat: 2020-06-11 00:01:04.654291+00:00 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-10 17:00:59 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-10 17:00:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-10 17:00:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:00:59 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Trigger, state: warning, override_pending_time: False - begin 2020-06-10 17:00:59 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-10 17:00:59 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-10 17:00:59 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-10 17:00:59 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-10 17:00:59 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-10 17:00:59 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Trigger, state: triggered, override_pending_time: False - end 2020-06-10 17:00:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-10 17:00:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:01:04 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-06-10 17:01:04 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-10 17:01:04 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-10 17:01:04 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-10 17:01:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 17:01:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-10 17:01:04 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-10 17:01:04 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-10 17:01:04 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-06-10 17:01:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-10 17:01:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
Yeah, it's the same error as I only added some extra debug printouts to see what's going wrong. It's consistent and that's a good thing actually ;) No need to arm all modes now, it's enough to see one working and one not working. Will digest the results as soon as I have time.
Thank you for all the help!
Looks like that may have fixed it.
Only one sensor tested but looks good
2020-06-12 18:59:33 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-06-12 18:59:33 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-06-12 18:59:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-12 18:59:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-12 18:59:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-12 18:59:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-12 18:59:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panels(16): 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace: {'component_name': 'lovelace', 'icon': None, 'title': None, 'config': {'mode': 'storage'}, 'url_path': 'lovelace', 'require_admin': False} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel config: {'component_name': 'config', 'icon': 'hass:settings', 'title': 'config', 'config': None, 'url_path': 'config', 'require_admin': True} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-new: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'New', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-new', 'require_admin': False} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-test: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'Test', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-test', 'require_admin': False} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-trial: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'trial', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-trial', 'require_admin': False} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel hassio: {'component_name': 'custom', 'icon': 'hass:home-assistant', 'title': 'Supervisor', 'config': {'_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'hassio', 'require_admin': True} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel profile: {'component_name': 'profile', 'icon': None, 'title': None, 'config': None, 'url_path': 'profile', 'require_admin': False} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel developer-tools: {'component_name': 'developer-tools', 'icon': 'hass:hammer', 'title': 'developer_tools', 'config': None, 'url_path': 'developer-tools', 'require_admin': True} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_nodered: {'component_name': 'custom', 'icon': 'mdi:sitemap', 'title': 'Node-RED', 'config': {'ingress': 'a0d7b954_nodered', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_nodered', 'require_admin': True} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_configurator: {'component_name': 'custom', 'icon': 'mdi:wrench', 'title': 'File editor', 'config': {'ingress': 'core_configurator', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_configurator', 'require_admin': True} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_grafana: {'component_name': 'custom', 'icon': 'mdi:chart-timeline', 'title': 'Grafana', 'config': {'ingress': 'a0d7b954_grafana', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_grafana', 'require_admin': True} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_influxdb: {'component_name': 'custom', 'icon': 'mdi:chart-areaspline', 'title': 'InfluxDB', 'config': {'ingress': 'a0d7b954_influxdb', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_influxdb', 'require_admin': True} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_ssh: {'component_name': 'custom', 'icon': 'mdi:console', 'title': 'Terminal', 'config': {'ingress': 'core_ssh', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_ssh', 'require_admin': True} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel map: {'component_name': 'map', 'icon': 'hass:tooltip-account', 'title': 'map', 'config': None, 'url_path': 'map', 'require_admin': False} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel logbook: {'component_name': 'logbook', 'icon': 'hass:format-list-bulleted-type', 'title': 'logbook', 'config': None, 'url_path': 'logbook', 'require_admin': False} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel history: {'component_name': 'history', 'icon': 'hass:poll-box', 'title': 'history', 'config': None, 'url_path': 'history', 'require_admin': False} 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-06-12 18:59:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-06-12 18:59:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-06-12 18:59:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-06-12 18:59:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-06-12 18:59:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 18:59:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:03:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2908774000] Error handling message: Unauthorized 2020-06-12 19:03:23 ERROR (MainThread) [frontend.js.latest.202006032] http://192.168.86.75:8123/api/panel_custom/alarm:2122:104 Uncaught TypeError: Cannot read property 'setAttribute' of undefined 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - begin 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - end 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-12 19:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:15 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-12 19:14:15 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-12 19:14:15 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:14:15 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-12 19:14:15 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:14:15 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:14:15 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-12 19:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-12 19:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:15 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 5, _timeoutat: 2020-06-13 02:14:23.248994+00:00 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-12 19:14:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-12 19:14:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-12 19:14:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-12 19:14:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-12 19:14:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-12 19:14:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:14:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:14:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-12 19:14:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-12 19:14:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-12 19:14:25 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "4" - begin 2020-06-12 19:14:25 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-12 19:14:25 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-12 19:14:25 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-12 19:14:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:14:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:25 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-12 19:14:25 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-12 19:14:25 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "4" - end (return True) 2020-06-12 19:14:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:14:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - begin 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - end 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-12 19:14:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:39 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-12 19:14:39 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-12 19:14:39 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:14:39 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-12 19:14:39 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:14:39 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:14:39 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-12 19:14:39 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-12 19:14:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-12 19:14:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 5, _timeoutat: 2020-06-13 02:14:47.115404+00:00 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-12 19:14:42 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-12 19:14:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-12 19:14:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:46 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-12 19:14:46 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-12 19:14:46 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-12 19:14:46 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-12 19:14:46 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-12 19:14:46 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-12 19:14:46 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-12 19:14:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:14:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:14:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-12 19:14:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:02 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-12 19:15:02 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-12 19:15:02 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:15:02 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-12 19:15:02 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:02 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:02 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-12 19:15:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-12 19:15:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:02 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-13 02:15:10.417535+00:00 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:05 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-12 19:15:05 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-12 19:15:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-12 19:15:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:11 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-12 19:15:11 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-12 19:15:11 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-12 19:15:11 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:11 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:11 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-12 19:15:11 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-12 19:15:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-12 19:15:11 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-12 19:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-12 19:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-12 19:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-12 19:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-12 19:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-12 19:15:15 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-12 19:15:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:15:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:15:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-12 19:15:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-12 19:15:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-12 19:15:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:15:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-12 19:15:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-12 19:15:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-12 19:15:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-12 19:15:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-13 02:15:33.356745+00:00 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-12 19:15:28 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-12 19:15:28 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-12 19:15:28 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:28 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-12 19:15:32 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-12 19:15:32 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-12 19:15:32 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-12 19:15:32 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-12 19:15:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:15:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:32 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-12 19:15:32 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-12 19:15:32 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-12 19:15:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:15:32 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - begin 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: disarmed, override_pending_time: False - begin 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: pending, override_pending_time: False - end 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - end 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-12 19:15:41 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:47 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-12 19:15:47 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-06-12 19:15:47 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:15:47 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - begin 2020-06-12 19:15:47 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:47 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:47 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - end 2020-06-12 19:15:47 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_away, override_pending_time: False - end 2020-06-12 19:15:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False - return None 2020-06-12 19:15:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_away, override_pending_time: False - begin 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_away, warning time: 5, _timeoutat: 2020-06-13 02:15:54.850699+00:00 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-12 19:15:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-12 19:15:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-12 19:15:49 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-12 19:15:53 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-12 19:15:53 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-12 19:15:53 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-12 19:15:53 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-12 19:15:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:15:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:53 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-12 19:15:53 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-12 19:15:53 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-12 19:15:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:15:53 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - begin 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: disarmed, override_pending_time: False - begin 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: pending, override_pending_time: False - end 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - end 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-12 19:15:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:16:03 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-12 19:16:03 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-06-12 19:16:03 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-12 19:16:03 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - begin 2020-06-12 19:16:03 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:16:03 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:16:03 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - end 2020-06-12 19:16:03 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False - return None 2020-06-12 19:16:03 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:16:03 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_away, override_pending_time: False - end 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_away, override_pending_time: False - begin 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_away, warning time: 5, _timeoutat: 2020-06-13 02:16:18.196109+00:00 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-12 19:16:13 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-12 19:16:13 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-12 19:16:13 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:16:13 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-12 19:16:17 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-12 19:16:17 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-12 19:16:17 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-12 19:16:17 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-12 19:16:17 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-12 19:16:17 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-12 19:16:17 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-12 19:16:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:16:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-12 19:16:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-12 19:16:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
Ok, now I want you to check all of your automations/scripts/python_scripts for alarm_control_panel.alarm_trigger
service call as that's the thing I have disabled and it's definitely called every time a sensor is activated.
Can you elaborate? Do you want me to look at my automations, scripts ad python for when i call the alarm?
Sure.
I want you to search in your automations, scripts and python scripts for alarm_control_panel.alarm_trigger
service call.
Something like
action:
service: alarm_control_panel.alarm_trigger
data:
entity_id: alarm_control_panel.house
For automations.yaml I have * note that after action I have a data message - taken out during testing. I don't have anything in scripts or python that I recall.
`
id: alarm_armed_away alias: '[Alarm] Away Mode Armed' initial_state: 'on' trigger:
id: alarm_armed_home alias: '[Alarm] Home Mode Armed' initial_state: 'on' trigger:
id: alarm_armed_night alias: '[Alarm] Night Mode Armed' initial_state: 'on' trigger:
id: alarm_arming_away alias: '[Alarm] Away Mode Arming' initial_state: 'on' trigger:
id: alarm_disarmed alias: '[Alarm] Disarmed' initial_state: 'on' trigger:
id: alarm_triggered alias: '[Alarm] Triggered' initial_state: 'on' trigger:
id: alarm_warning alias: '[Alarm] Warning' initial_state: 'on' trigger:
`
First of all, you forgot to preserve formating when posting here and you only posted part of your automations (as it breaks on action
) - did you rush? ;)
Second, I asked you to search in your automations, not to post them here.
And do you really have only alarm automations and nothing else?
Weird, it should have posted better - I was definitely rushing. I'll not re-post ;-)
The only thing I have at this time is automations. I haven't done much else as I didn't want to cause any more challenges with the testing.
Do you mean that the automations you posted are the only HA automations you have? Nothing in packages? Nothing that makes HA service calls?
It's pretty vanilla - I have an open/close check for doors/windows - outside of the alarm. the automations only does alarm at this time. no scripts yet. So quite plain.
Updated logs - note that when I enable override in home and activated the alarm it will not allow me to disarm once triggered. It's the last thing I did before a reboot. Once rebooted it showed triggered and the passcode then worked.
2020-06-16 13:09:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-06-16 13:09:29 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panels(16): 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace: {'component_name': 'lovelace', 'icon': None, 'title': None, 'config': {'mode': 'storage'}, 'url_path': 'lovelace', 'require_admin': False} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel config: {'component_name': 'config', 'icon': 'hass:settings', 'title': 'config', 'config': None, 'url_path': 'config', 'require_admin': True} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-new: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'New', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-new', 'require_admin': False} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-test: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'Test', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-test', 'require_admin': False} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-trial: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'trial', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-trial', 'require_admin': False} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel hassio: {'component_name': 'custom', 'icon': 'hass:home-assistant', 'title': 'Supervisor', 'config': {'_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'hassio', 'require_admin': True} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel profile: {'component_name': 'profile', 'icon': None, 'title': None, 'config': None, 'url_path': 'profile', 'require_admin': False} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel developer-tools: {'component_name': 'developer-tools', 'icon': 'hass:hammer', 'title': 'developer_tools', 'config': None, 'url_path': 'developer-tools', 'require_admin': True} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_ssh: {'component_name': 'custom', 'icon': 'mdi:console', 'title': 'Terminal', 'config': {'ingress': 'core_ssh', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_ssh', 'require_admin': True} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_configurator: {'component_name': 'custom', 'icon': 'mdi:wrench', 'title': 'File editor', 'config': {'ingress': 'core_configurator', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_configurator', 'require_admin': True} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_nodered: {'component_name': 'custom', 'icon': 'mdi:sitemap', 'title': 'Node-RED', 'config': {'ingress': 'a0d7b954_nodered', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_nodered', 'require_admin': True} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_influxdb: {'component_name': 'custom', 'icon': 'mdi:chart-areaspline', 'title': 'InfluxDB', 'config': {'ingress': 'a0d7b954_influxdb', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_influxdb', 'require_admin': True} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_grafana: {'component_name': 'custom', 'icon': 'mdi:chart-timeline', 'title': 'Grafana', 'config': {'ingress': 'a0d7b954_grafana', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_grafana', 'require_admin': True} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel map: {'component_name': 'map', 'icon': 'hass:tooltip-account', 'title': 'map', 'config': None, 'url_path': 'map', 'require_admin': False} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel history: {'component_name': 'history', 'icon': 'hass:poll-box', 'title': 'history', 'config': None, 'url_path': 'history', 'require_admin': False} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel logbook: {'component_name': 'logbook', 'icon': 'hass:format-list-bulleted-type', 'title': 'logbook', 'config': None, 'url_path': 'logbook', 'require_admin': False} 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-06-16 13:09:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 13:09:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:09:47 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up upnp platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/src/homeassistant/homeassistant/components/upnp/sensor.py", line 89, in async_setup_entry device: Device = hass.data[DOMAIN]["devices"][udn] KeyError: 'uuid:d3027a49-de90-4974-88bf-e5aa018ab5ec' 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - begin 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - end 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 13:13:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:27 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 13:13:27 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-16 13:13:27 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 13:13:27 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-16 13:13:27 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:13:27 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:13:27 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-16 13:13:27 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-16 13:13:27 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-16 13:13:27 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 5, _timeoutat: 2020-06-16 20:13:35.013751+00:00 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 13:13:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 13:13:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:30 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 13:13:34 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 13:13:34 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-16 13:13:34 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-16 13:13:34 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 13:13:34 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 13:13:34 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 13:13:34 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 13:13:34 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 13:13:34 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:34 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 13:13:34 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - begin 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - end 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 13:13:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:42 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 13:13:42 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-16 13:13:42 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 13:13:42 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-16 13:13:42 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:13:42 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:13:42 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-16 13:13:42 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-16 13:13:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-16 13:13:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 5, _timeoutat: 2020-06-16 20:13:51.724938+00:00 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 13:13:46 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 13:13:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 13:13:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:50 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 13:13:50 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-16 13:13:50 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-16 13:13:50 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 13:13:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 13:13:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:50 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 13:13:50 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 13:13:50 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 13:13:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 13:13:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 13:13:54 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:00 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 13:14:00 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-16 13:14:00 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 13:14:00 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-16 13:14:00 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:14:00 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:14:00 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-16 13:14:00 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-16 13:14:00 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-16 13:14:00 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-16 20:14:08.091370+00:00 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 13:14:03 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 13:14:03 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 13:14:03 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:03 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-16 13:14:03 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2843035056] service alarm_trigger called Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1295, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service self._platforms.values(), func, call, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 597, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/init.py", line 160, in async_alarm_trigger await self.hass.async_add_executor_job(self.alarm_trigger, code) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/bwalarm/alarm_control_panel.py", line 1241, in alarm_trigger raise ValueError(f"service alarm_trigger called") ValueError: service alarm_trigger called 2020-06-16 13:14:09 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-16 13:14:09 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-16 13:14:09 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-16 13:14:09 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:14:09 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:14:09 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-16 13:14:09 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-16 13:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-16 13:14:09 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:12 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 13:14:12 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-16 13:14:12 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-16 13:14:12 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 13:14:12 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 13:14:12 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 13:14:12 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 13:14:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 13:14:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 13:14:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 13:14:15 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:21 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 13:14:21 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-16 13:14:21 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 13:14:21 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-16 13:14:21 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:14:21 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:14:21 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-16 13:14:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-16 13:14:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:21 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-16 20:14:29.906119+00:00 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 13:14:24 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 13:14:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 13:14:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 13:14:24 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-16 13:14:24 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2843035056] service alarm_trigger called Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1295, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service self._platforms.values(), func, call, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 597, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/init.py", line 160, in async_alarm_trigger await self.hass.async_add_executor_job(self.alarm_trigger, code) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/bwalarm/alarm_control_panel.py", line 1241, in alarm_trigger raise ValueError(f"service alarm_trigger called") ValueError: service alarm_trigger called 2020-06-16 13:14:30 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-16 13:14:30 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-16 13:14:30 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-16 13:14:30 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 13:14:30 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 13:14:30 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-16 13:14:30 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-16 13:14:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-16 13:14:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
I don't quite understad your comment - could you elaborate?
As I can see you use NodeRed - are you sure you have nothig there that calls alarm_control_panel
services?
Could you disable the whole thing to test?
You are right - NodeRED was running. I played with the alarm panel but never used it there. just trying to get my feet wet. I am stopping NodeRED for the next test.
As to my comment - when I went to home, clicked on arm with a window open (then override) - the alarm worked as it should - timer count down, alarm set, closed then opened the window which gave a warning and a countdown to disable. I let it activate the alarm and was unable to disable it when I typed the passcode. I tried the passcode multiple times and it still would not disable.
removed NodeRED - update to logs. Note everything appeared to work as it should ;-)
2020-06-16 15:29:33 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-06-16 15:29:33 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-06-16 15:29:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-16 15:29:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-16 15:29:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-16 15:29:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-16 15:29:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panels(16): 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace: {'component_name': 'lovelace', 'icon': None, 'title': None, 'config': {'mode': 'storage'}, 'url_path': 'lovelace', 'require_admin': False} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel config: {'component_name': 'config', 'icon': 'hass:settings', 'title': 'config', 'config': None, 'url_path': 'config', 'require_admin': True} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-new: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'New', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-new', 'require_admin': False} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-test: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'Test', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-test', 'require_admin': False} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-trial: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'trial', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-trial', 'require_admin': False} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel hassio: {'component_name': 'custom', 'icon': 'hass:home-assistant', 'title': 'Supervisor', 'config': {'_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'hassio', 'require_admin': True} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel profile: {'component_name': 'profile', 'icon': None, 'title': None, 'config': None, 'url_path': 'profile', 'require_admin': False} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel developer-tools: {'component_name': 'developer-tools', 'icon': 'hass:hammer', 'title': 'developer_tools', 'config': None, 'url_path': 'developer-tools', 'require_admin': True} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_ssh: {'component_name': 'custom', 'icon': 'mdi:console', 'title': 'Terminal', 'config': {'ingress': 'core_ssh', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_ssh', 'require_admin': True} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_configurator: {'component_name': 'custom', 'icon': 'mdi:wrench', 'title': 'File editor', 'config': {'ingress': 'core_configurator', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_configurator', 'require_admin': True} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_nodered: {'component_name': 'custom', 'icon': 'mdi:sitemap', 'title': 'Node-RED', 'config': {'ingress': 'a0d7b954_nodered', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_nodered', 'require_admin': True} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_influxdb: {'component_name': 'custom', 'icon': 'mdi:chart-areaspline', 'title': 'InfluxDB', 'config': {'ingress': 'a0d7b954_influxdb', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_influxdb', 'require_admin': True} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_grafana: {'component_name': 'custom', 'icon': 'mdi:chart-timeline', 'title': 'Grafana', 'config': {'ingress': 'a0d7b954_grafana', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_grafana', 'require_admin': True} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel logbook: {'component_name': 'logbook', 'icon': 'hass:format-list-bulleted-type', 'title': 'logbook', 'config': None, 'url_path': 'logbook', 'require_admin': False} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel history: {'component_name': 'history', 'icon': 'hass:poll-box', 'title': 'history', 'config': None, 'url_path': 'history', 'require_admin': False} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel map: {'component_name': 'map', 'icon': 'hass:tooltip-account', 'title': 'map', 'config': None, 'url_path': 'map', 'require_admin': False} 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-06-16 15:29:39 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-06-16 15:29:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-06-16 15:29:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-06-16 15:29:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-06-16 15:29:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:29:40 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:29:51 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up upnp platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/src/homeassistant/homeassistant/components/upnp/sensor.py", line 89, in async_setup_entry device: Device = hass.data[DOMAIN]["devices"][udn] KeyError: 'uuid:d3027a49-de90-4974-88bf-e5aa018ab5ec' 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - begin 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - end 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 15:49:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:49:49 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 15:49:49 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-16 15:49:49 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:49:49 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-16 15:49:49 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:49:49 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:49:49 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-16 15:49:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-16 15:49:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:49:49 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 5, _timeoutat: 2020-06-16 22:49:56.915079+00:00 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 15:49:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 15:49:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:49:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:49:57 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-16 15:49:57 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-16 15:49:57 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-16 15:49:57 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:49:57 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:49:57 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-16 15:49:57 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-16 15:49:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-16 15:49:57 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:01 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 15:50:01 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-16 15:50:01 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-16 15:50:01 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:50:01 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 15:50:01 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 15:50:01 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 15:50:01 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:50:01 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:01 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:50:01 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - begin 2020-06-16 15:50:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-16 15:50:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-16 15:50:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 15:50:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 15:50:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:50:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 15:50:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 15:50:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-16 15:50:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - end 2020-06-16 15:50:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 15:50:05 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:10 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 15:50:10 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-16 15:50:10 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:50:10 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-16 15:50:10 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:10 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:10 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-16 15:50:10 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-16 15:50:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-16 15:50:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 5, _timeoutat: 2020-06-16 22:50:19.087869+00:00 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 15:50:14 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 15:50:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:50:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:20 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-16 15:50:20 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-16 15:50:20 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-16 15:50:20 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:20 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:20 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-16 15:50:20 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-16 15:50:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-16 15:50:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:23 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 15:50:23 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-16 15:50:23 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-16 15:50:23 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:50:23 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 15:50:23 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 15:50:23 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 15:50:23 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:50:23 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:23 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:50:23 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 15:50:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:35 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 15:50:35 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-16 15:50:35 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:50:35 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-16 15:50:35 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:35 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:35 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-16 15:50:35 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-16 15:50:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-16 15:50:35 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-16 22:50:42.364110+00:00 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 15:50:37 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 15:50:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:50:37 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:43 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-16 15:50:43 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-16 15:50:43 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-16 15:50:43 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:43 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:43 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-16 15:50:43 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-16 15:50:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-16 15:50:43 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:47 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 15:50:47 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-16 15:50:47 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-16 15:50:47 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:50:47 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 15:50:47 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 15:50:47 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 15:50:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:50:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:50:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-16 15:50:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-16 15:50:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-16 15:50:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 15:50:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 15:50:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:50:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 15:50:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 15:50:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-16 15:50:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-16 15:50:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 15:50:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:55 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 15:50:55 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-16 15:50:55 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:50:55 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-16 15:50:55 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:55 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:55 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-16 15:50:55 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-16 15:50:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-16 15:50:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-16 22:51:03.863302+00:00 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 15:50:58 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 15:50:58 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:50:58 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:04 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-16 15:51:04 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-16 15:51:04 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-16 15:51:04 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:04 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:04 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-16 15:51:04 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-16 15:51:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-16 15:51:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:07 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 15:51:07 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-16 15:51:07 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-16 15:51:07 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:51:07 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 15:51:07 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 15:51:07 DEBUG (SyncWorker_1) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 15:51:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:51:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:51:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 15:51:12 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 15:51:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-16 15:51:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:51:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-16 15:51:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-16 15:51:18 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-16 15:51:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-16 15:51:18 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 5, _timeoutat: 2020-06-16 22:51:26.305523+00:00 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 15:51:21 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 15:51:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:51:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:25 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 15:51:25 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-16 15:51:25 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-16 15:51:25 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:51:25 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 15:51:25 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 15:51:25 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 15:51:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:51:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:51:25 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - begin 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: disarmed, override_pending_time: False - begin 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: pending, override_pending_time: False - end 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - end 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 15:51:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:36 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 15:51:36 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-06-16 15:51:36 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:51:36 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - begin 2020-06-16 15:51:36 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:36 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:36 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - end 2020-06-16 15:51:36 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_away, override_pending_time: False - end 2020-06-16 15:51:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False - return None 2020-06-16 15:51:36 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_away, override_pending_time: False - begin 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_away, warning time: 5, _timeoutat: 2020-06-16 22:51:43.458925+00:00 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 15:51:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:51:38 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:38 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 15:51:44 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-16 15:51:44 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-16 15:51:44 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-16 15:51:44 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:44 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:44 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-16 15:51:44 DEBUG (SyncWorker_13) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-16 15:51:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-16 15:51:44 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:46 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 15:51:46 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-16 15:51:46 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-16 15:51:46 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:46 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 15:51:46 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 15:51:46 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 15:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:51:46 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - begin 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: disarmed, override_pending_time: False - begin 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: pending, override_pending_time: False - end 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - end 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 15:51:49 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:55 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 15:51:55 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-06-16 15:51:55 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:51:55 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - begin 2020-06-16 15:51:55 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:55 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:55 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - end 2020-06-16 15:51:55 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_away, override_pending_time: False - end 2020-06-16 15:51:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False - return None 2020-06-16 15:51:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_away, override_pending_time: False - begin 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_away, warning time: 5, _timeoutat: 2020-06-16 22:52:03.307550+00:00 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 15:51:58 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 15:51:58 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:51:58 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:52:04 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: warning, override_pending_time: False - begin 2020-06-16 15:52:04 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-16 15:52:04 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - begin 2020-06-16 15:52:04 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:52:04 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:52:04 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: triggered - end 2020-06-16 15:52:04 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: triggered, override_pending_time: False - end 2020-06-16 15:52:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False - return None 2020-06-16 15:52:04 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:52:08 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 15:52:08 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: triggered, override_pending_time: False - begin 2020-06-16 15:52:08 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-16 15:52:08 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:52:08 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 15:52:08 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 15:52:08 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 15:52:08 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:52:08 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:52:08 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:52:08 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - begin 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_away the alarm as "HA" 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: disarmed, override_pending_time: False - begin 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmAway, state: pending, override_pending_time: False - end 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_away, passcode: "", ignore_open_sensors: True - end 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-16 15:52:10 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:52:16 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-16 15:52:16 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_away 2020-06-16 15:52:16 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_away, immediate: [], delayed: ['binary_sensor.office_pool_window_right_contact'], override: [] 2020-06-16 15:52:16 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - begin 2020-06-16 15:52:16 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:52:16 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:52:16 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_away - end 2020-06-16 15:52:16 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_away, override_pending_time: False - end 2020-06-16 15:52:16 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_away, code_arm_required: False - return None 2020-06-16 15:52:16 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_pool_window_right_contact is activated (on) 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_away, override_pending_time: False - begin 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_away to warning 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_away, warning time: 5, _timeoutat: 2020-06-16 22:52:24.694607+00:00 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-16 15:52:19 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-16 15:52:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:52:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:52:23 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-16 15:52:23 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-16 15:52:23 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-16 15:52:23 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-16 15:52:23 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-16 15:52:23 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-16 15:52:23 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-16 15:52:23 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-16 15:52:23 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-16 15:52:23 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-16 15:52:23 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
Allright then.
The final step - leaving NodeRed off, could you download this file, overwrite custom_components/bwalarm/alarm_control_panel.py
with it and test how it works with your original bwalarm.yaml
?
Ideally you should have all three modes working as expected now i.e with delay between a sensor being activated and the alarm's state becoming triggered
.
It reverts to immediate triggered - both in override as sell as all windows closed. It's not giving the warning countdown.
2020-06-17 08:54:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-06-17 08:54:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-06-17 08:54:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-06-17 08:54:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-06-17 08:54:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-06-17 08:54:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-06-17 08:54:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-06-17 08:54:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:54:28 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 203 2020-06-17 08:54:28 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 20 minutes 2020-06-17 08:54:32 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up upnp platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/src/homeassistant/homeassistant/components/upnp/sensor.py", line 89, in async_setup_entry device: Device = hass.data[DOMAIN]["devices"][udn] KeyError: 'uuid:d3027a49-de90-4974-88bf-e5aa018ab5ec' 2020-06-17 08:54:47 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 203 2020-06-17 08:54:47 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 16 minutes 2020-06-17 08:54:57 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 2020-06-17 08:54:57 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 17 minutes 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) begin 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_night 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_night, passcode: "", ignore_open_sensors: True) end 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-06-17 08:55:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:56:00 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-06-17 08:56:00 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:56:00 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to disarmed 2020-06-17 08:56:00 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 08:56:00 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 08:56:00 DEBUG (SyncWorker_16) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-06-17 08:56:00 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-06-17 08:56:00 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:56:00 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-06-17 08:56:00 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-06-17 08:56:17 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:56:48 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:56:48 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-17 08:56:48 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-06-17 08:56:48 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) begin 2020-06-17 08:56:48 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 08:56:48 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 08:56:48 DEBUG (SyncWorker_2) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) end 2020-06-17 08:56:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False, returning None 2020-06-17 08:56:48 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:57:08 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:57:08 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to triggered 2020-06-17 08:57:08 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-06-17 08:57:08 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-06-17 08:57:08 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 08:57:08 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 08:57:08 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-06-17 08:57:08 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-06-17 08:57:08 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:57:20 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-06-17 08:57:20 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:57:20 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-17 08:57:20 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 08:57:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-06-17 08:57:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:57:20 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 08:57:20 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True) 2020-06-17 08:57:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-06-17 08:57:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) begin 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) begin 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (pending) end 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] (service: alarm_arm_home, passcode: "", ignore_open_sensors: True) end 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False, returning None 2020-06-17 08:57:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:58:21 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:58:21 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-17 08:58:21 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [setsignals] armed_home 2020-06-17 08:58:21 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) begin 2020-06-17 08:58:21 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 08:58:21 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 08:58:21 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (armed_home) end 2020-06-17 08:58:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False, returning None 2020-06-17 08:58:21 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:58:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed: binary_sensor.office_street_right_window_contact is on 2020-06-17 08:58:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:58:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-17 08:58:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on warning 2020-06-17 08:58:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) begin 2020-06-17 08:58:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 08:58:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 08:58:24 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (warning) end 2020-06-17 08:58:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False, returning None 2020-06-17 08:58:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:58:24 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:58:24 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to triggered 2020-06-17 08:58:24 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] Turning on alarm 2020-06-17 08:58:24 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) begin 2020-06-17 08:58:24 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 08:58:24 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 08:58:24 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] (triggered) end 2020-06-17 08:58:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: triggered, code_arm_required: False, returning None 2020-06-17 08:58:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:58:29 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") begin 2020-06-17 08:58:29 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [process_event] 2020-06-17 08:58:29 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from triggered to disarmed 2020-06-17 08:58:29 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 08:58:29 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 08:58:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-06-17 08:58:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:58:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False, returning None 2020-06-17 08:58:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 08:58:29 DEBUG (SyncWorker_9) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] (passcode: "1234") end (return True)
This looks like it works. I haven't done a heavy test. I will do more testing this evening but wanted to provide some info.
2020-06-17 10:31:46 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-06-17 10:31:46 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-06-17 10:31:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 10:31:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 10:31:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 10:31:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 10:31:55 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panels(16): 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace: {'component_name': 'lovelace', 'icon': None, 'title': None, 'config': {'mode': 'storage'}, 'url_path': 'lovelace', 'require_admin': False} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel config: {'component_name': 'config', 'icon': 'hass:settings', 'title': 'config', 'config': None, 'url_path': 'config', 'require_admin': True} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-new: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'New', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-new', 'require_admin': False} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-test: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'Test', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-test', 'require_admin': False} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-trial: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'trial', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-trial', 'require_admin': False} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel hassio: {'component_name': 'custom', 'icon': 'hass:home-assistant', 'title': 'Supervisor', 'config': {'_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'hassio', 'require_admin': True} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel profile: {'component_name': 'profile', 'icon': None, 'title': None, 'config': None, 'url_path': 'profile', 'require_admin': False} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel developer-tools: {'component_name': 'developer-tools', 'icon': 'hass:hammer', 'title': 'developer_tools', 'config': None, 'url_path': 'developer-tools', 'require_admin': True} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_configurator: {'component_name': 'custom', 'icon': 'mdi:wrench', 'title': 'File editor', 'config': {'ingress': 'core_configurator', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_configurator', 'require_admin': True} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_nodered: {'component_name': 'custom', 'icon': 'mdi:sitemap', 'title': 'Node-RED', 'config': {'ingress': 'a0d7b954_nodered', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_nodered', 'require_admin': True} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_influxdb: {'component_name': 'custom', 'icon': 'mdi:chart-areaspline', 'title': 'InfluxDB', 'config': {'ingress': 'a0d7b954_influxdb', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_influxdb', 'require_admin': True} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_grafana: {'component_name': 'custom', 'icon': 'mdi:chart-timeline', 'title': 'Grafana', 'config': {'ingress': 'a0d7b954_grafana', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_grafana', 'require_admin': True} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_ssh: {'component_name': 'custom', 'icon': 'mdi:console', 'title': 'Terminal', 'config': {'ingress': 'core_ssh', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_ssh', 'require_admin': True} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel map: {'component_name': 'map', 'icon': 'hass:tooltip-account', 'title': 'map', 'config': None, 'url_path': 'map', 'require_admin': False} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel logbook: {'component_name': 'logbook', 'icon': 'hass:format-list-bulleted-type', 'title': 'logbook', 'config': None, 'url_path': 'logbook', 'require_admin': False} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel history: {'component_name': 'history', 'icon': 'hass:poll-box', 'title': 'history', 'config': None, 'url_path': 'history', 'require_admin': False} 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 10:31:56 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:32:03 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 203 2020-06-17 10:32:03 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 18 minutes 2020-06-17 10:32:08 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up upnp platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/src/homeassistant/homeassistant/components/upnp/sensor.py", line 89, in async_setup_entry device: Device = hass.data[DOMAIN]["devices"][udn] KeyError: 'uuid:d3027a49-de90-4974-88bf-e5aa018ab5ec' 2020-06-17 10:32:20 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 203 2020-06-17 10:32:20 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 15 minutes 2020-06-17 10:32:30 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 2020-06-17 10:32:30 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 19 minutes 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-17 10:33:20 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:33:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-17 10:33:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-17 10:33:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 10:33:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-17 10:33:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 10:33:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 10:33:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-17 10:33:51 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-17 10:33:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-17 10:33:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:33:59 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-17 10:33:59 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2808685872] service alarm_trigger called Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1295, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service self._platforms.values(), func, call, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 597, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/init.py", line 160, in async_alarm_trigger await self.hass.async_add_executor_job(self.alarm_trigger, code) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, self.kwargs) File "/config/custom_components/bwalarm/alarm_control_panel.py", line 1241, in alarm_trigger raise ValueError(f"service alarm_trigger called") ValueError: service alarm_trigger called 2020-06-17 10:34:15 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-17 10:34:15 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2808685872] service alarm_trigger called Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1295, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service self._platforms.values(), func, call, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 597, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/init.py", line 160, in async_alarm_trigger await self.hass.async_add_executor_job(self.alarm_trigger, code) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, *self.kwargs) File "/config/custom_components/bwalarm/alarm_control_panel.py", line 1241, in alarm_trigger raise ValueError(f"service alarm_trigger called") ValueError: service alarm_trigger called 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_street_right_window_contact is activated (on) 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 30, _timeoutat: 2020-06-17 17:35:01.771824+00:00 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-17 10:34:31 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-17 10:34:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-17 10:34:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:34:31 DEBUG (SyncWorker_3) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-17 10:34:31 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2808685872] service alarm_trigger called Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1295, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service self._platforms.values(), func, call, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 597, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/init.py", line 160, in async_alarm_trigger await self.hass.async_add_executor_job(self.alarm_trigger, code) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(self.args, self.kwargs) File "/config/custom_components/bwalarm/alarm_control_panel.py", line 1241, in alarm_trigger raise ValueError(f"service alarm_trigger called") ValueError: service alarm_trigger called 2020-06-17 10:34:47 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-17 10:34:47 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-17 10:34:47 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-17 10:34:47 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 10:34:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 10:34:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:34:47 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 10:34:47 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-17 10:34:47 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-17 10:34:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 10:34:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-17 10:34:59 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:35:30 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-17 10:35:30 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-17 10:35:30 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 10:35:30 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-17 10:35:30 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 10:35:30 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 10:35:30 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-17 10:35:30 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-17 10:35:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-17 10:35:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_street_right_window_contact is activated (on) 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 30, _timeoutat: 2020-06-17 17:36:03.562072+00:00 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-17 10:35:33 DEBUG (SyncWorker_14) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-17 10:35:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-17 10:35:33 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:35:33 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [alarm_trigger] code: "None" - begin 2020-06-17 10:35:33 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2808685872] service alarm_trigger called Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service connection.context(msg), File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1295, in _execute_service await handler.func(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 209, in handle_service self._platforms.values(), func, call, required_features File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 454, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 597, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 485, in _handle_entity_call await result File "/usr/src/homeassistant/homeassistant/components/alarm_control_panel/init.py", line 160, in async_alarm_trigger await self.hass.async_add_executor_job(self.alarm_trigger, code) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/bwalarm/alarm_control_panel.py", line 1241, in alarm_trigger raise ValueError(f"service alarm_trigger called") ValueError: service alarm_trigger called 2020-06-17 10:35:47 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-17 10:35:47 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-17 10:35:47 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-17 10:35:47 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 10:35:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 10:35:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 10:35:47 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 10:35:47 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-17 10:35:47 DEBUG (SyncWorker_6) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-17 10:35:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 10:35:47 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
Something is not quite right in your story..
Here I can see no errors like "[homeassistant.components.websocket_api.http.connection.2808685872] service alarm_trigger called".
Now I can see them in your log and apparently it's the same version of alarm_control_panel.py
so it should behave identically.
My conclusion is you changed somethig in your setup since that successful test (enabled NodeRed, for example).
Could you double check?
Only change - I have disabled NodeRED when you mentioned as well as Home Assistant version had gone to .111.3. This gets updated whenever there is a HA update posted.
...
Well, it looks like NodeRED re-enabled. I am going to delete it. So yes it did get re-enabled.
Oh well.. It's a personal choice but I never update HA automatically as it runs my alarm and I don't want to ruin it just because in new version there is a breaking change or another gift from the awesome bunch of people.
Disabling NodeRed looks like it may have fixed the home/away error (plus whatever you modified previously in code.). There may be another bug though that I noticed. I have 3 windows open (A, B & C). When I go to arm away, the override message only shows 2 windows open (A&B). If I override the error and then open the window (A), the alarm does not activate. Never gives a warning or trigger. When I close A & B and only have C open, and then override the open window, and then close and open C, the alarm works as it should.
Here's a snapshot of what sensors are open, then when I click on Night mode, you'll see that the open sensors displayed is different than what the open sensor menu shows.
2020-06-17 16:36:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for bond 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. 2020-06-17 16:36:42 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for 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. 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_schema] 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_state_validator] 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] begin 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panels(15): 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace: {'component_name': 'lovelace', 'icon': None, 'title': None, 'config': {'mode': 'storage'}, 'url_path': 'lovelace', 'require_admin': False} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel config: {'component_name': 'config', 'icon': 'hass:settings', 'title': 'config', 'config': None, 'url_path': 'config', 'require_admin': True} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-new: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'New', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-new', 'require_admin': False} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-test: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'Test', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-test', 'require_admin': False} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel lovelace-trial: {'component_name': 'lovelace', 'icon': 'hass:view-dashboard', 'title': 'trial', 'config': {'mode': 'storage'}, 'url_path': 'lovelace-trial', 'require_admin': False} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel hassio: {'component_name': 'custom', 'icon': 'hass:home-assistant', 'title': 'Supervisor', 'config': {'_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'hassio', 'require_admin': True} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel profile: {'component_name': 'profile', 'icon': None, 'title': None, 'config': None, 'url_path': 'profile', 'require_admin': False} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel developer-tools: {'component_name': 'developer-tools', 'icon': 'hass:hammer', 'title': 'developer_tools', 'config': None, 'url_path': 'developer-tools', 'require_admin': True} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_influxdb: {'component_name': 'custom', 'icon': 'mdi:chart-areaspline', 'title': 'InfluxDB', 'config': {'ingress': 'a0d7b954_influxdb', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_influxdb', 'require_admin': True} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_ssh: {'component_name': 'custom', 'icon': 'mdi:console', 'title': 'Terminal', 'config': {'ingress': 'core_ssh', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_ssh', 'require_admin': True} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel core_configurator: {'component_name': 'custom', 'icon': 'mdi:wrench', 'title': 'File editor', 'config': {'ingress': 'core_configurator', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'core_configurator', 'require_admin': True} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel a0d7b954_grafana: {'component_name': 'custom', 'icon': 'mdi:chart-timeline', 'title': 'Grafana', 'config': {'ingress': 'a0d7b954_grafana', '_panel_custom': {'name': 'hassio-main', 'embed_iframe': True, 'trust_external': False, 'js_url': '/api/hassio/app/entrypoint.js'}}, 'url_path': 'a0d7b954_grafana', 'require_admin': True} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel logbook: {'component_name': 'logbook', 'icon': 'hass:format-list-bulleted-type', 'title': 'logbook', 'config': None, 'url_path': 'logbook', 'require_admin': False} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel history: {'component_name': 'history', 'icon': 'hass:poll-box', 'title': 'history', 'config': None, 'url_path': 'history', 'require_admin': False} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] frontend_panel map: {'component_name': 'map', 'icon': 'hass:tooltip-account', 'title': 'map', 'config': None, 'url_path': 'map', 'require_admin': False} 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] begin 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] _hadir: /config 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] integration: _integrationdir: /config/custom_components/bwalarm, _defimagesdir: /config/custom_components/bwalarm/resources/images 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] config: _configdir: /config/resources/bwalarm, _yaml_config: /config/resources/bwalarm/bwalarm.yaml, _json_persistence: /config/resources/bwalarm/bwalarm.json, _json_log: /config/resources/bwalarm/bwalarm_log.json 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_folders] override: _datadir: /config/resources/bwalarm, _imagesdir: /config/resources/bwalarm/images 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] begin 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_away 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_home 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] states: init armed_night 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] users present, let's fix picture paths.. 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Hass.io 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Paul Holland 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Home Assistant Cast 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_fix_old_style_user_pictures] processing user Alarm 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [load_yaml] File "/config/resources/bwalarm/bwalarm.yaml" loaded successfully 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init_variables] end 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [init] end 2020-06-17 16:36:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_setup_platform] end 2020-06-17 16:36:52 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] begin 2020-06-17 16:36:52 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] mqtt disabled, nothing to do 2020-06-17 16:36:52 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [async_added_to_hass] end 2020-06-17 16:36:52 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:36:52 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:36:58 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 203 2020-06-17 16:36:58 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 17 minutes 2020-06-17 16:37:03 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up upnp platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/src/homeassistant/homeassistant/components/upnp/sensor.py", line 89, in async_setup_entry device: Device = hass.data[DOMAIN]["devices"][udn] KeyError: 'uuid:d3027a49-de90-4974-88bf-e5aa018ab5ec' 2020-06-17 16:37:14 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 203 2020-06-17 16:37:14 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 15 minutes 2020-06-17 16:37:24 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 2020-06-17 16:37:24 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 18 minutes 2020-06-17 16:39:36 ERROR (Thread-47) [pychromecast.socket_client] [House Google Speakers(192.168.86.44):42533] Error reading from socket. 2020-06-17 16:39:36 ERROR (Thread-47) [pychromecast.socket_client] [House Google Speakers(192.168.86.44):42533] Failed to connect to service Google-Cast-Group-39F0B3B23333449EBE7B84122FD40273-1._googlecast._tcp.local., retrying in 5.0s 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - begin 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.master_bedroom_left_window_door_contact', 'binary_sensor.master_bedroom_right_window_door_contact'], override: [] 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - end 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-17 16:39:51 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:40:22 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-17 16:40:22 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-17 16:40:22 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.master_bedroom_left_window_door_contact', 'binary_sensor.master_bedroom_right_window_door_contact'], override: [] 2020-06-17 16:40:22 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-17 16:40:22 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:40:22 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:40:22 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-17 16:40:22 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-17 16:40:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-17 16:40:22 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.master_bedroom_left_window_door_contact is activated (on) 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 30, _timeoutat: 2020-06-17 23:40:54.760530+00:00 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-17 16:40:24 DEBUG (SyncWorker_15) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-17 16:40:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-17 16:40:24 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:40:29 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-17 16:40:29 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-17 16:40:29 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-17 16:40:29 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 16:40:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:40:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:40:29 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 16:40:29 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-17 16:40:29 DEBUG (SyncWorker_7) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-17 16:40:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:40:29 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - begin 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_night the alarm as "HA" 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: disarmed, override_pending_time: False - begin 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.master_bedroom_left_window_door_contact', 'binary_sensor.master_bedroom_right_window_door_contact'], override: [] 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmNight, state: pending, override_pending_time: False - end 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_night, passcode: "", ignore_open_sensors: True - end 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-17 16:40:31 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:41:02 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-17 16:41:02 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_night 2020-06-17 16:41:02 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_night, immediate: [], delayed: ['binary_sensor.master_bedroom_left_window_door_contact', 'binary_sensor.master_bedroom_right_window_door_contact'], override: [] 2020-06-17 16:41:02 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - begin 2020-06-17 16:41:02 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:41:02 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:41:02 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_night - end 2020-06-17 16:41:02 DEBUG (SyncWorker_5) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_night, override_pending_time: False - end 2020-06-17 16:41:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_night, code_arm_required: False - return None 2020-06-17 16:41:02 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.master_bedroom_left_window_door_contact is activated (on) 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_night, override_pending_time: False - begin 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_night to warning 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_night, warning time: 30, _timeoutat: 2020-06-17 23:41:37.570806+00:00 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-17 16:41:07 DEBUG (SyncWorker_12) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-17 16:41:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-17 16:41:07 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:41:13 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-17 16:41:13 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-17 16:41:13 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-17 16:41:13 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 16:41:13 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:41:13 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:41:13 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 16:41:13 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-17 16:41:13 DEBUG (SyncWorker_10) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-17 16:41:13 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:41:13 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-17 16:41:19 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:41:50 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-17 16:41:50 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-17 16:41:50 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 16:41:50 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-17 16:41:50 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:41:50 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:41:50 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-17 16:41:50 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-17 16:41:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-17 16:41:50 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:42:16 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-17 16:42:16 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-17 16:42:16 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:42:16 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: armed_home, override_pending_time: False - begin 2020-06-17 16:42:16 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to disarmed 2020-06-17 16:42:16 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 16:42:16 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 16:42:16 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-17 16:42:16 DEBUG (SyncWorker_17) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-17 16:42:16 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:42:16 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:42:41 ERROR (Thread-47) [pychromecast.socket_client] [House Google Speakers(192.168.86.25):42533] Error reading from socket. 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-17 16:42:42 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:43:13 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-17 16:43:13 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-17 16:43:13 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 16:43:13 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-17 16:43:13 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:43:13 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:43:13 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-17 16:43:13 DEBUG (SyncWorker_4) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-17 16:43:13 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-17 16:43:13 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_street_right_window_contact is activated (on) 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 30, _timeoutat: 2020-06-17 23:43:46.360183+00:00 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-17 16:43:16 DEBUG (SyncWorker_18) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-17 16:43:16 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-17 16:43:16 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:43:26 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-17 16:43:26 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-17 16:43:26 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-17 16:43:26 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 16:43:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:43:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:43:26 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 16:43:26 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-17 16:43:26 DEBUG (SyncWorker_0) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-17 16:43:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:43:26 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - begin 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] no code required, alarm_arm_home the alarm as "HA" 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: disarmed, override_pending_time: False - begin 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from disarmed to pending 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] Pending user leaving house 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - begin 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: pending - end 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.ArmHome, state: pending, override_pending_time: False - end 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [alarm_arm] service: alarm_arm_home, passcode: "", ignore_open_sensors: True - end 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: pending, code_arm_required: False - return None 2020-06-17 16:43:30 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:44:01 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: pending, override_pending_time: False - begin 2020-06-17 16:44:01 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from pending to armed_home 2020-06-17 16:44:01 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [setsignals] state: armed_home, immediate: [], delayed: ['binary_sensor.office_street_left_window_contact', 'binary_sensor.office_street_right_window_contact'], override: [] 2020-06-17 16:44:01 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - begin 2020-06-17 16:44:01 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:44:01 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:44:01 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: armed_home - end 2020-06-17 16:44:01 DEBUG (SyncWorker_11) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Timeout, state: armed_home, override_pending_time: False - end 2020-06-17 16:44:01 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: armed_home, code_arm_required: False - return None 2020-06-17 16:44:01 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [state_change_listener] delayed sensor binary_sensor.office_street_right_window_contact is activated (on) 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: armed_home, override_pending_time: False - begin 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from armed_home to warning 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] _armstate: armed_home, warning time: 30, _timeoutat: 2020-06-17 23:44:36.178862+00:00 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - begin 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [_clean_states_info] remove check_before_arm from states 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_persistence] File "/config/resources/bwalarm/bwalarm.json" saved successfully 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [save_alarm_state] state: warning - end 2020-06-17 16:44:06 DEBUG (SyncWorker_8) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.DelayedTrip, state: warning, override_pending_time: False - end 2020-06-17 16:44:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: warning, code_arm_required: False - return None 2020-06-17 16:44:06 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:44:14 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - begin 2020-06-17 16:44:14 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: warning, override_pending_time: False - begin 2020-06-17 16:44:14 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] state changes from warning to disarmed 2020-06-17 16:44:14 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [clearsignals] 2020-06-17 16:44:14 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [remove_persistence] File "/config/resources/bwalarm/bwalarm.json" removed 2020-06-17 16:44:14 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [process_event] event: Events.Disarm, state: disarmed, override_pending_time: False - end 2020-06-17 16:44:14 DEBUG (SyncWorker_19) [custom_components.bwalarm.alarm_control_panel] [alarm_disarm] passcode: "1234" - end (return True) 2020-06-17 16:44:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:44:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes] 2020-06-17 16:44:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [code_format] self._code: None, self._state: disarmed, code_arm_required: False - return None 2020-06-17 16:44:14 DEBUG (MainThread) [custom_components.bwalarm.alarm_control_panel] [device_state_attributes]
Disabling NodeRed looks like it may have fixed the home/away error (plus whatever you modified previously in code.). There may be another bug though that I noticed.
Let's do it one at a time, shall we? Because that another bug is (most likely) completely unrelated to this issue.
Please test your alarm to make sure the things that didn't work now do work. The next step to do is this.
Please open a separate issue for the another bug.
Looks like the initial home/away error is fixed! I'll open a new bug for the open sensor override not displaying all open sensors;
I'm going to hold on the other bug. It's sporadic. I am trying to figure out how to reproduce it. I did it once as posted above, and did one more time but am not figuring out how to reproduce regularly
Ok. So to summarise: the issue was caused by something outside this component, most likely NodeRed. Out of interest, have you found what in NodeRed it was?
Since i deleted CodeRed - do you know where it would have stored the test file I created for the alarm? I can share if I know where it would likely store it ;-)
I am not familiar with NodeRed. According to this (step 5) the flow itself is somewhere handled by a server. In theory you should be able to open it in editor but I might be wrong.
I may have finally found the file. It's not one I would have looked for, but in looking at the code I see alarm info in it. I can send it over, its in .json format
Thanks for the cofirmation. No need to send it over, I just wanted to know that we found the right culprit.
The component:
Your setup:
Describe the bug When using the override feature, BWALARM does not go to warning – it immediately goes to triggered. I do see warning pop up for a fraction of a second them it immediately shows triggered. If I open a door that was closed, or close an open window then open it. I have most sensors on delayed for testing.
To Reproduce
Expected behavior It to provide a warning first - the time wait, before going immediately to triggered
Your bwalarm.yaml
Your automation.yaml
Home Assistant log