I have a lot of error in my core logs for a while now – log here
honestly I have no idea how to fix them
the pycarwings2 are new and I expect to be a bug outside of my config but otherwise this is really bothering me:
2021-05-22 17:35:38 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template("{{ state_attr('sensor.ps4_today') }}")
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 389, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1359, in _render_with_context
return template.render(**kwargs)
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1304, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 925, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/local/lib/python3.8/site-packages/jinja2/sandbox.py", line 393, in call
return __context.call(__obj, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1481, in wrapper
return func(hass, *args[1:], **kwargs)
TypeError: state_attr() missing 1 required positional argument: 'name'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 505, in async_render_to_info
render_info._result = self.async_render(variables, strict=strict, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 391, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: state_attr() missing 1 required positional argument: 'name'
2021-05-22 17:35:38 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('TypeError: state_attr() missing 1 required positional argument: 'name'') while processing template 'Template("{{ state_attr('sensor.ps4_today') }}")' for attribute '_state' in entity 'sensor.ps4_today_time'
2021-05-22 17:39:51 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/hassio/dashboard:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-22 17:39:51 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/hassio/dashboard:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-22 17:39:51 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/hassio/dashboard:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ')[0].click')
2021-05-22 17:41:54 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry?edit=1:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-22 17:41:54 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry?edit=1:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-22 17:41:54 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry?edit=1:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ')[0].click')
2021-05-22 17:43:59 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry?edit=1:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-22 17:43:59 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry?edit=1:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-22 17:43:59 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry?edit=1:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ')[0].click')
2021-05-22 17:46:03 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/developer-tools/state:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-22 17:46:03 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/developer-tools/state:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-22 17:46:04 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/developer-tools/state:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ')[0].click')
Thank you,
I was trying to get some data on how long the playstation was on in the last 24h so I can told off my kids haha, I replaced with this, that’s probably fine.
Would you have any idea where this error come from
2021-05-23 12:18:39 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-23 12:18:39 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry:1:72 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('action-button more-actions-button')[0].click')
2021-05-23 12:18:39 ERROR (MainThread) [frontend.js.latest.202105040] http://192.168.3.46:8443/lovelace/derry:1:62 TypeError: undefined is not an object (evaluating 'document.getElementsByClassName('dialog-button negative ')[0].click')
I assume it’s a card that I didn’t setup properly but how can I know which one?
finally I wonder is there is something I can do to all this delay?
I have a gigabit link, I’m using cloudflare for DNS but somehow I having a lots of delays
2021-05-23 12:03:24 WARNING (MainThread) [alexapy.alexalogin] No access token found; falling back to credential login instead of oauth.
2021-05-23 12:03:25 WARNING (MainThread) [homeassistant.setup] Setup of input_number is taking over 10 seconds.
2021-05-23 12:03:25 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds.
2021-05-23 12:03:27 WARNING (MainThread) [homeassistant.components.camera] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2021-05-23 12:03:57 WARNING (MainThread) [homeassistant.components.ps4.media_player] PS4 could not be reached
2021-05-23 12:05:56 WARNING (influxdb) [homeassistant.components.influxdb] Catching up, dropped 763 old events.
2021-05-23 12:10:09 WARNING (MainThread) [homeassistant.helpers.entity] Updating state for device_tracker.ben_phone (<class 'homeassistant.components.unifi.device_tracker.UniFiClientTracker'>) took 0.496 seconds. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+unifi%22
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.ps4_today is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.automower_parked is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_coach is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_table is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_lighstrip is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_up is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_ambiance is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_on_off is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.tv_light is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_room is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_on_off is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_utility is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_office is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_ustpair is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_our_room is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hugo_and_louis_side_light is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hugo_and_louis is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_bathroom is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_room is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_room_2 is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.jasmine is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.ben is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bathroom_downstaire is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_room_tv is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_tv is taking over 10 seconds
2021-05-23 12:11:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_tv_2 is taking over 10 seconds
2021-05-23 12:12:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.automower_parked is taking over 10 seconds
2021-05-23 12:12:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_utility is taking over 10 seconds
2021-05-23 12:12:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_office is taking over 10 seconds
2021-05-23 12:12:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_our_room is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.ps4_today is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.automower_parked is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_coach is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_table is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_lighstrip is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_up is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_ambiance is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_on_off is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.tv_light is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_room is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_on_off is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_utility is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_office is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_ustpair is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_our_room is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hugo_and_louis_side_light is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hugo_and_louis is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_bathroom is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_room is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_room_2 is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.jasmine is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.ben is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bathroom_downstaire is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_room_tv is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_tv is taking over 10 seconds
2021-05-23 12:17:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_tv_2 is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.ps4_today is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.automower_parked is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_coach is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_table is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_lighstrip is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_up is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_ambiance is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_on_off is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.tv_light is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_room is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_on_off is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_utility is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_office is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_ustpair is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hall_our_room is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hugo_and_louis_side_light is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hugo_and_louis is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_bathroom is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_room is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.our_room_2 is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.jasmine is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.ben is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bathroom_downstaire is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.living_room_tv is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_tv is taking over 10 seconds
2021-05-23 12:17:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.kitchen_tv_2 is taking over 10 seconds
2021-05-23 12:18:14 WARNING (MainThread) [homeassistant.helpers.entity] Updating state for device_tracker.unifi_c8_6c_3d_c1_3c_6e_default (<class 'homeassistant.components.unifi.device_tracker.UniFiClientTracker'>) took 0.589 seconds. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+unifi%22
2021-05-23 12:18:36 WARNING (influxdb) [homeassistant.components.influxdb] Catching up, dropped 901 old events.
I am getting the Update of sensor X is taking over 10 seconds error recently. First on one sensor, now there are three. I have created a separate topic for just this error: Update of sensor X is taking over 10 seconds