I’m trying to use the counters to show the number of errors/warnings, but it’s not reporting anything?
I’m using the latest hass release 0.84.3 - Is anyone using these counters for error counting ?
2018-12-19 20:19:46 ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: ‘dict object’ has no attribute ‘event’
2018-12-19 20:19:59 WARNING (Thread-8) [custom_components.sensor.plex_recently_added] Host 213.49.94.127 is not available
2018-12-19 20:20:03 ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: ‘dict object’ has no attribute ‘event’
2018-12-19 20:20:04 ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: ‘dict object’ has no attribute ‘event’
2018-12-19 20:20:04 ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: ‘dict object’ has no attribute ‘event’
2018-12-19 20:20:05 ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: ‘dict object’ has no attribute ‘event’
well that’s an error, doesn’t show the event data. That could be the cause of your problem. If you change the logging level to INFO you should be able to see the actual event data.
logger:
default: INFO
2018-12-21 22:25:53 WARNING (MainThread) [homeassistant.loader] You are using a custom component for sensor.illuminance which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-12-21 22:25:53 INFO (MainThread) [homeassistant.loader] Loaded sensor.waze_travel_time from homeassistant.components.sensor.waze_travel_time
2018-12-21 22:25:53 INFO (MainThread) [homeassistant.loader] Loaded sensor.Places from custom_components.sensor.Places
2018-12-21 22:25:53 WARNING (MainThread) [homeassistant.loader] You are using a custom component for sensor.Places which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.