So I’m going to try again to figure this out. Just restarted MQTT and I can see AppDaemon connect to it.
1634586345: New connection from 172.30.32.1 on port 1883.
1634586345: New client connected from 172.30.32.1 as appdaemon_mqtt_client (p2, c1, k60).
Here is part of my AppDaemon Log. Anything that looks helpful? Should i just delete all my AppDaemon stuff and start over?
2021-10-18 21:55:02.522191 DEBUG AppDaemon: New state: {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}
2021-10-18 21:55:02.522950 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:02.523786 DEBUG AppDaemon: set_state(): thread.thread-0, {'q': 0}
2021-10-18 21:55:02.524414 DEBUG AppDaemon: parse_state: thread.thread-0, {'q': 0}
2021-10-18 21:55:02.525031 DEBUG AppDaemon: Old state: {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}
2021-10-18 21:55:02.525485 DEBUG AppDaemon: New state: {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}
2021-10-18 21:55:02.526071 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:02.526617 DEBUG AppDaemon: set_state(): thread.thread-1, {'q': 0}
2021-10-18 21:55:02.527235 DEBUG AppDaemon: parse_state: thread.thread-1, {'q': 0}
2021-10-18 21:55:02.527873 DEBUG AppDaemon: Old state: {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}
2021-10-18 21:55:02.528312 DEBUG AppDaemon: New state: {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}
2021-10-18 21:55:02.528740 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:02.529529 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:02.530011 DEBUG AppDaemon: {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}
2021-10-18 21:55:02.530579 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}}
2021-10-18 21:55:02.531655 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:02.532215 DEBUG AppDaemon: {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}
2021-10-18 21:55:02.532593 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}}
2021-10-18 21:55:02.533206 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:02.533551 DEBUG AppDaemon: {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}}
2021-10-18 21:55:02.533907 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}}}
2021-10-18 21:55:02.534562 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:02.534961 DEBUG AppDaemon: {'entity_id': 'thread.thread-1', 'new_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}, 'old_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}}
2021-10-18 21:55:02.535332 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-1', 'new_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}, 'old_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}}}
2021-10-18 21:55:02.536299 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:02.536799 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:02.537276 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:02.537772 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-1', 'new_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}, 'old_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:02.538608 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:02.539650 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:02.540811 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:02.541828 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-1', 'new_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}, 'old_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:02.672331 DEBUG AppDaemon: get_state: thread.thread-0.None None True
2021-10-18 21:55:02.673229 DEBUG AppDaemon: get_state: thread.thread-1.None None True
2021-10-18 21:55:02.673809 DEBUG HASS: Utility
2021-10-18 21:55:02.674392 DEBUG AppDaemon: set_state(): sensor.appdaemon_uptime, {'state': '0:06:12'}
2021-10-18 21:55:02.674999 DEBUG AppDaemon: parse_state: sensor.appdaemon_uptime, {'state': '0:06:12'}
2021-10-18 21:55:02.675633 DEBUG AppDaemon: Old state: {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:11', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}
2021-10-18 21:55:02.676159 DEBUG AppDaemon: New state: {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}
2021-10-18 21:55:02.676624 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:02.677182 DEBUG AppDaemon: Util loop compute time: 33.0ms, check_config()=28.0ms, other=5.0ms
2021-10-18 21:55:02.678038 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:02.678573 DEBUG AppDaemon: {'entity_id': 'sensor.appdaemon_uptime', 'new_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:11', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}
2021-10-18 21:55:02.679126 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.appdaemon_uptime', 'new_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:11', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}}
2021-10-18 21:55:02.680114 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'sensor.appdaemon_uptime', 'new_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:11', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:02.681097 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.appdaemon_uptime', 'new_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:11', 'last_changed': '2021-10-18T21:55:01+02:00', 'attributes': {}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:03.531580 DEBUG AppDaemon: set_state(): sensor.callbacks_average_fired, {'state': 0.0}
2021-10-18 21:55:03.532214 DEBUG AppDaemon: parse_state: sensor.callbacks_average_fired, {'state': 0.0}
2021-10-18 21:55:03.532741 DEBUG AppDaemon: Old state: {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}
2021-10-18 21:55:03.533111 DEBUG AppDaemon: New state: {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}
2021-10-18 21:55:03.533486 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:03.534096 DEBUG AppDaemon: set_state(): sensor.callbacks_average_executed, {'state': 0.0}
2021-10-18 21:55:03.534539 DEBUG AppDaemon: parse_state: sensor.callbacks_average_executed, {'state': 0.0}
2021-10-18 21:55:03.535144 DEBUG AppDaemon: Old state: {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}
2021-10-18 21:55:03.535498 DEBUG AppDaemon: New state: {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}
2021-10-18 21:55:03.535820 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:03.536311 DEBUG AppDaemon: set_state(): thread.thread-0, {'q': 0}
2021-10-18 21:55:03.536793 DEBUG AppDaemon: parse_state: thread.thread-0, {'q': 0}
2021-10-18 21:55:03.537316 DEBUG AppDaemon: Old state: {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}
2021-10-18 21:55:03.537739 DEBUG AppDaemon: New state: {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}
2021-10-18 21:55:03.538119 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:03.539688 DEBUG AppDaemon: set_state(): thread.thread-1, {'q': 0}
2021-10-18 21:55:03.540422 DEBUG AppDaemon: parse_state: thread.thread-1, {'q': 0}
2021-10-18 21:55:03.541292 DEBUG AppDaemon: Old state: {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}
2021-10-18 21:55:03.541765 DEBUG AppDaemon: New state: {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}
2021-10-18 21:55:03.542458 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:03.543306 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:03.544239 DEBUG AppDaemon: {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}
2021-10-18 21:55:03.544833 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}}
2021-10-18 21:55:03.545882 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:03.546433 DEBUG AppDaemon: {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}
2021-10-18 21:55:03.547230 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}}
2021-10-18 21:55:03.548101 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:03.549020 DEBUG AppDaemon: {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}}
2021-10-18 21:55:03.549646 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}}}
2021-10-18 21:55:03.550793 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:03.551384 DEBUG AppDaemon: {'entity_id': 'thread.thread-1', 'new_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}, 'old_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}}
2021-10-18 21:55:03.552167 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-1', 'new_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}, 'old_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}}}
2021-10-18 21:55:03.553412 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:03.554429 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:03.555249 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:03.556153 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-1', 'new_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}, 'old_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:03.557361 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:03.559215 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:03.560698 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['hello_world']}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:03.562079 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-1', 'new_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}, 'old_state': {'entity_id': 'thread.thread-1', 'state': 'idle', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never', 'pinned_apps': ['qolsys_panel']}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}
2021-10-18 21:55:03.709359 DEBUG AppDaemon: get_state: thread.thread-0.None None True
2021-10-18 21:55:03.710533 DEBUG AppDaemon: get_state: thread.thread-1.None None True
2021-10-18 21:55:03.711581 DEBUG HASS: Utility
2021-10-18 21:55:03.712598 DEBUG AppDaemon: set_state(): sensor.appdaemon_uptime, {'state': '0:06:13'}
2021-10-18 21:55:03.713553 DEBUG AppDaemon: parse_state: sensor.appdaemon_uptime, {'state': '0:06:13'}
2021-10-18 21:55:03.714619 DEBUG AppDaemon: Old state: {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}
2021-10-18 21:55:03.715696 DEBUG AppDaemon: New state: {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:13', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}
2021-10-18 21:55:03.716556 DEBUG AppDaemon: sending event locally
2021-10-18 21:55:03.717532 DEBUG AppDaemon: Util loop compute time: 38.0ms, check_config()=29.0ms, other=9.0ms
2021-10-18 21:55:03.718607 DEBUG AppDaemon: Event type:state_changed:
2021-10-18 21:55:03.719519 DEBUG AppDaemon: {'entity_id': 'sensor.appdaemon_uptime', 'new_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:13', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}
2021-10-18 21:55:03.720632 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.appdaemon_uptime', 'new_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:13', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}}
2021-10-18 21:55:03.721997 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7f92146c70>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'sensor.appdaemon_uptime', 'new_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:13', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2021-10-18 21:55:03.723692 DEBUG AppDaemon: --> {'data': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.appdaemon_uptime', 'new_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:13', 'last_changed': '2021-10-18T21:55:03+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.appdaemon_uptime', 'state': '0:06:12', 'last_changed': '2021-10-18T21:55:02+02:00', 'attributes': {}}}, 'namespace': 'admin'}, 'response_id': '4eecf80c-3e66-42f9-8959-4ae289767212', 'response_type': 'state_changed'}