Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro 500 to try connect Hass IO #207

Closed
FernandoWahl opened this issue Aug 14, 2022 · 1 comment
Closed

Erro 500 to try connect Hass IO #207

FernandoWahl opened this issue Aug 14, 2022 · 1 comment
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@FernandoWahl
Copy link

Problem/Motivation

AppDaemon error 500 when connecting to home assistant

Add-on version: 0.9.2
You are running the latest version of this add-on.
System: Home Assistant OS 8.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2022.8.4
Home Assistant Supervisor: 2022.08.3

Expected behavior

Hoping that it can run as it did before (which was great! thanks for all the work on it!)

Actual behavior

Here's the add-on debug log:

2022-08-14 17:36:23.292706 DEBUG AppDaemon: thread_async loop, args={'function': <bound method Events.process_event of <appdaemon.events.Events object at 0x7fb533c0d0>>, 'args': ('admin', {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'INFO', 'app_name': 'HASS', 'message': 'Startup condition met: hass state=RUNNING', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.282848', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 282349), 'formatted_message': '2022-08-14 17:36:23.282848 INFO HASS: Startup condition met: hass state=RUNNING'}}), 'kwargs': {}}
2022-08-14 17:36:23.293629 DEBUG AppDaemon: thread_async loop, args={'function': <bound method Events.process_event of <appdaemon.events.Events object at 0x7fb533c0d0>>, 'args': ('admin', {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'INFO', 'app_name': 'HASS', 'message': 'All startup conditions met', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.283562', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 283129), 'formatted_message': '2022-08-14 17:36:23.283562 INFO HASS: All startup conditions met'}}), 'kwargs': {}}
2022-08-14 17:36:23.294663 DEBUG AppDaemon: Event type:__AD_LOG_EVENT:
2022-08-14 17:36:23.295230 DEBUG AppDaemon: {'level': 'INFO', 'app_name': 'HASS', 'message': 'Startup condition met: hass state=RUNNING', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.282848', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 282349), 'formatted_message': '2022-08-14 17:36:23.282848 INFO HASS: Startup condition met: hass state=RUNNING'}
2022-08-14 17:36:23.300156 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'INFO', 'app_name': 'HASS', 'message': 'Startup condition met: hass state=RUNNING', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.282848', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 282349), 'formatted_message': '2022-08-14 17:36:23.282848 INFO HASS: Startup condition met: hass state=RUNNING'}}
2022-08-14 17:36:23.301237 DEBUG AppDaemon: Event type:__AD_LOG_EVENT:
2022-08-14 17:36:23.301836 DEBUG AppDaemon: {'level': 'INFO', 'app_name': 'HASS', 'message': 'All startup conditions met', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.283562', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 283129), 'formatted_message': '2022-08-14 17:36:23.283562 INFO HASS: All startup conditions met'}
2022-08-14 17:36:23.302522 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'INFO', 'app_name': 'HASS', 'message': 'All startup conditions met', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.283562', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 283129), 'formatted_message': '2022-08-14 17:36:23.283562 INFO HASS: All startup conditions met'}}
2022-08-14 17:36:23.303470 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, 'args': ({'event_type': '__AD_LOG_EVENT', 'data': {'level': 'INFO', 'app_name': 'HASS', 'message': 'Startup condition met: hass state=RUNNING', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.282848', 'formatted_message': '2022-08-14 17:36:23.282848 INFO HASS: Startup condition met: hass state=RUNNING'}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:23.304232 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, 'args': ({'event_type': '__AD_LOG_EVENT', 'data': {'level': 'INFO', 'app_name': 'HASS', 'message': 'All startup conditions met', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.283562', 'formatted_message': '2022-08-14 17:36:23.283562 INFO HASS: All startup conditions met'}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:23.385574 WARNING HASS: Error getting Home Assistant state for None
2022-08-14 17:36:23.386701 WARNING HASS: Code: 500, error: 500: Internal Server Error
2022-08-14 17:36:23.387787 DEBUG AppDaemon: Clearing callbacks for HASS
2022-08-14 17:36:23.388297 DEBUG AppDaemon: Event type:plugin_stopped:
2022-08-14 17:36:23.389133 DEBUG AppDaemon: {'name': 'HASS'}
2022-08-14 17:36:23.389626 DEBUG AppDaemon: process_event_callbacks() default {'event_type': 'plugin_stopped', 'data': {'name': 'HASS'}}
2022-08-14 17:36:23.390528 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2022-08-14 17:36:23.391312 DEBUG HASS: ------------------------------------------------------------
2022-08-14 17:36:23.391924 DEBUG HASS: Unexpected error:
2022-08-14 17:36:23.392306 DEBUG HASS: ------------------------------------------------------------
2022-08-14 17:36:23.394898 DEBUG HASS: Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/appdaemon/plugins/hass/hassplugin.py", line 359, in get_updates
    await self.evaluate_started(True, self.hass_booting)
  File "/usr/lib/python3.10/site-packages/appdaemon/plugins/hass/hassplugin.py", line 246, in evaluate_started
    state = await self.get_complete_state()
  File "/usr/lib/python3.10/site-packages/appdaemon/plugins/hass/hassplugin.py", line 148, in get_complete_state
    for state in hass_state:
TypeError: 'NoneType' object is not iterable
2022-08-14 17:36:23.396003 DEBUG HASS: ------------------------------------------------------------
2022-08-14 17:36:23.396957 DEBUG AppDaemon: thread_async loop, args={'function': <bound method Events.process_event of <appdaemon.events.Events object at 0x7fb533c0d0>>, 'args': ('admin', {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Error getting Home Assistant state for None', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.385895', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 385370), 'formatted_message': '2022-08-14 17:36:23.385895 WARNING HASS: Error getting Home Assistant state for None'}}), 'kwargs': {}}
2022-08-14 17:36:23.397933 DEBUG AppDaemon: thread_async loop, args={'function': <bound method Events.process_event of <appdaemon.events.Events object at 0x7fb533c0d0>>, 'args': ('admin', {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Code: 500, error: 500: Internal Server Error', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.387271', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 386497), 'formatted_message': '2022-08-14 17:36:23.387271 WARNING HASS: Code: 500, error: 500: Internal Server Error'}}), 'kwargs': {}}
2022-08-14 17:36:23.398838 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, 'args': ({'event_type': 'plugin_stopped', 'data': {'name': 'HASS'}, 'namespace': 'default'},), 'kwargs': {}}
2022-08-14 17:36:23.399798 DEBUG AppDaemon: thread_async loop, args={'function': <bound method Events.process_event of <appdaemon.events.Events object at 0x7fb533c0d0>>, 'args': ('admin', {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Disconnected from Home Assistant, retrying in 5 seconds', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.390831', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 390316), 'formatted_message': '2022-08-14 17:36:23.390831 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds'}}), 'kwargs': {}}
2022-08-14 17:36:23.400518 DEBUG AppDaemon: Event type:__AD_LOG_EVENT:
2022-08-14 17:36:23.401190 DEBUG AppDaemon: {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Error getting Home Assistant state for None', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.385895', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 385370), 'formatted_message': '2022-08-14 17:36:23.385895 WARNING HASS: Error getting Home Assistant state for None'}
2022-08-14 17:36:23.401769 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Error getting Home Assistant state for None', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.385895', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 385370), 'formatted_message': '2022-08-14 17:36:23.385895 WARNING HASS: Error getting Home Assistant state for None'}}
2022-08-14 17:36:23.402724 DEBUG AppDaemon: Event type:__AD_LOG_EVENT:
2022-08-14 17:36:23.403339 DEBUG AppDaemon: {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Code: 500, error: 500: Internal Server Error', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.387271', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 386497), 'formatted_message': '2022-08-14 17:36:23.387271 WARNING HASS: Code: 500, error: 500: Internal Server Error'}
2022-08-14 17:36:23.404115 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Code: 500, error: 500: Internal Server Error', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.387271', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 386497), 'formatted_message': '2022-08-14 17:36:23.387271 WARNING HASS: Code: 500, error: 500: Internal Server Error'}}
2022-08-14 17:36:23.404910 DEBUG AppDaemon: Event type:__AD_LOG_EVENT:
2022-08-14 17:36:23.405563 DEBUG AppDaemon: {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Disconnected from Home Assistant, retrying in 5 seconds', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.390831', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 390316), 'formatted_message': '2022-08-14 17:36:23.390831 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds'}
2022-08-14 17:36:23.406217 DEBUG AppDaemon: process_event_callbacks() admin {'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Disconnected from Home Assistant, retrying in 5 seconds', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.390831', 'ts': datetime.datetime(2022, 8, 14, 12, 36, 23, 390316), 'formatted_message': '2022-08-14 17:36:23.390831 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds'}}
2022-08-14 17:36:23.407246 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, 'args': ({'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Error getting Home Assistant state for None', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.385895', 'formatted_message': '2022-08-14 17:36:23.385895 WARNING HASS: Error getting Home Assistant state for None'}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:23.408003 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, 'args': ({'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Code: 500, error: 500: Internal Server Error', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.387271', 'formatted_message': '2022-08-14 17:36:23.387271 WARNING HASS: Code: 500, error: 500: Internal Server Error'}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:23.408938 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, 'args': ({'event_type': '__AD_LOG_EVENT', 'data': {'level': 'WARNING', 'app_name': 'HASS', 'message': 'Disconnected from Home Assistant, retrying in 5 seconds', 'type': 'log', 'log_type': 'main_log', 'asctime': '2022-08-14 17:36:23.390831', 'formatted_message': '2022-08-14 17:36:23.390831 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds'}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:23.828117 DEBUG AppDaemon: set_state(): sensor.callbacks_average_fired, {'state': 0.0}
2022-08-14 17:36:23.829852 DEBUG AppDaemon: parse_state: sensor.callbacks_average_fired, {'state': 0.0}
2022-08-14 17:36:23.831404 DEBUG AppDaemon: Old state: {'entity_id': 'sensor.callbacks_average_fired', 'state': 0, 'last_changed': '2022-08-14T17:36:22+02:00', 'attributes': {}}
2022-08-14 17:36:23.832737 DEBUG AppDaemon: New state: {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}
2022-08-14 17:36:23.833696 DEBUG AppDaemon: sending event locally
2022-08-14 17:36:23.835284 DEBUG AppDaemon: set_state(): sensor.callbacks_average_executed, {'state': 0.0}
2022-08-14 17:36:23.836682 DEBUG AppDaemon: parse_state: sensor.callbacks_average_executed, {'state': 0.0}
2022-08-14 17:36:23.837629 DEBUG AppDaemon: Old state: {'entity_id': 'sensor.callbacks_average_executed', 'state': 0, 'last_changed': '2022-08-14T17:36:22+02:00', 'attributes': {}}
2022-08-14 17:36:23.838284 DEBUG AppDaemon: New state: {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}
2022-08-14 17:36:23.839013 DEBUG AppDaemon: sending event locally
2022-08-14 17:36:23.839675 DEBUG AppDaemon: set_state(): thread.thread-0, {'q': 0}
2022-08-14 17:36:23.840308 DEBUG AppDaemon: parse_state: thread.thread-0, {'q': 0}
2022-08-14 17:36:23.840957 DEBUG AppDaemon: Old state: {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': 'never', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}
2022-08-14 17:36:23.841473 DEBUG AppDaemon: New state: {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}
2022-08-14 17:36:23.841941 DEBUG AppDaemon: sending event locally
2022-08-14 17:36:23.842859 DEBUG AppDaemon: Event type:state_changed:
2022-08-14 17:36:23.843357 DEBUG AppDaemon: {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0, 'last_changed': '2022-08-14T17:36:22+02:00', 'attributes': {}}}
2022-08-14 17:36:23.844090 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': '2022-08-14T17:36:23+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0, 'last_changed': '2022-08-14T17:36:22+02:00', 'attributes': {}}}}
2022-08-14 17:36:23.844948 DEBUG AppDaemon: Event type:state_changed:
2022-08-14 17:36:23.845445 DEBUG AppDaemon: {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0, 'last_changed': '2022-08-14T17:36:22+02:00', 'attributes': {}}}
2022-08-14 17:36:23.845976 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': '2022-08-14T17:36:23+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0, 'last_changed': '2022-08-14T17:36:22+02:00', 'attributes': {}}}}
2022-08-14 17:36:23.846873 DEBUG AppDaemon: Event type:state_changed:
2022-08-14 17:36:23.847333 DEBUG AppDaemon: {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': 'never', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}}
2022-08-14 17:36:23.847866 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': '2022-08-14T17:36:23+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': 'never', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}}}
2022-08-14 17:36:23.848992 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, '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': '2022-08-14T17:36:23+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0, 'last_changed': '2022-08-14T17:36:22+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:23.849659 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, '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': '2022-08-14T17:36:23+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0, 'last_changed': '2022-08-14T17:36:22+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:23.850357 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': 'never', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:24.844755 DEBUG AppDaemon: set_state(): sensor.callbacks_average_fired, {'state': 0.0}
2022-08-14 17:36:24.845799 DEBUG AppDaemon: parse_state: sensor.callbacks_average_fired, {'state': 0.0}
2022-08-14 17:36:24.847220 DEBUG AppDaemon: Old state: {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}
2022-08-14 17:36:24.848156 DEBUG AppDaemon: New state: {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2022-08-14T17:36:24+02:00', 'attributes': {}}
2022-08-14 17:36:24.849074 DEBUG AppDaemon: sending event locally
2022-08-14 17:36:24.850171 DEBUG AppDaemon: set_state(): sensor.callbacks_average_executed, {'state': 0.0}
2022-08-14 17:36:24.851261 DEBUG AppDaemon: parse_state: sensor.callbacks_average_executed, {'state': 0.0}
2022-08-14 17:36:24.852394 DEBUG AppDaemon: Old state: {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}
2022-08-14 17:36:24.853026 DEBUG AppDaemon: New state: {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2022-08-14T17:36:24+02:00', 'attributes': {}}
2022-08-14 17:36:24.853798 DEBUG AppDaemon: sending event locally
2022-08-14 17:36:24.854612 DEBUG AppDaemon: set_state(): thread.thread-0, {'q': 0}
2022-08-14 17:36:24.855283 DEBUG AppDaemon: parse_state: thread.thread-0, {'q': 0}
2022-08-14 17:36:24.856042 DEBUG AppDaemon: Old state: {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}
2022-08-14 17:36:24.856549 DEBUG AppDaemon: New state: {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:24+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}
2022-08-14 17:36:24.857200 DEBUG AppDaemon: sending event locally
2022-08-14 17:36:24.858123 DEBUG AppDaemon: Event type:state_changed:
2022-08-14 17:36:24.858729 DEBUG AppDaemon: {'entity_id': 'sensor.callbacks_average_fired', 'new_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2022-08-14T17:36:24+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}}
2022-08-14 17:36:24.859346 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': '2022-08-14T17:36:24+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}}}
2022-08-14 17:36:24.860353 DEBUG AppDaemon: Event type:state_changed:
2022-08-14 17:36:24.860803 DEBUG AppDaemon: {'entity_id': 'sensor.callbacks_average_executed', 'new_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2022-08-14T17:36:24+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}}
2022-08-14 17:36:24.861287 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': '2022-08-14T17:36:24+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}}}
2022-08-14 17:36:24.862152 DEBUG AppDaemon: Event type:state_changed:
2022-08-14 17:36:24.862594 DEBUG AppDaemon: {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:24+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}}
2022-08-14 17:36:24.863062 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': '2022-08-14T17:36:24+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}}}
2022-08-14 17:36:24.863955 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, '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': '2022-08-14T17:36:24+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_fired', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:24.864504 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, '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': '2022-08-14T17:36:24+02:00', 'attributes': {}}, 'old_state': {'entity_id': 'sensor.callbacks_average_executed', 'state': 0.0, 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {}}}, 'namespace': 'admin'},), 'kwargs': {}}
2022-08-14 17:36:24.865117 DEBUG AppDaemon: thread_async loop, args={'function': <bound method ADStream.process_event of <appdaemon.stream.adstream.ADStream object at 0x7fb54dc910>>, 'args': ({'event_type': 'state_changed', 'data': {'entity_id': 'thread.thread-0', 'new_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:24+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}, 'old_state': {'entity_id': 'thread.thread-0', 'state': 'idle', 'last_changed': '2022-08-14T17:36:23+02:00', 'attributes': {'q': 0, 'is_alive': True, 'time_called': 'never'}}}, 'namespace': 'admin'},), 'kwargs': {}}

Steps to reproduce

  1. Update to last version hass IO
  2. Install AppDaemon
@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Sep 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests

1 participant