Sanderhuisman/docker_monitor

Event is not JSON serializable

Opened this issue · 1 comments

Home Assistant is giving the follow warnings at boot:
Event is not JSON serializable

2020 - 04 - 14 19: 33: 13 WARNING(Recorder)[homeassistant.components.recorder]
Event is not JSON serializable:
< Event platform_discovered[L]: 
service = load_platform.switch, 
platform = docker_monitor, 
discovered = url = unix: //var/run/docker.sock, 
name=Docker, event=True, 
monitored_conditions=['version', 'containers_total', 'containers_paused', 'containers_running', 'containers_stopped', 'images_total'], 
containers=pihole=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, traefik2.0=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, DSMR-Reader=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, InfluxDB=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'],  
switch=True, MariaDB=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, UPSNUT=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, otmonitor=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, s0pcm=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, DSMR-db=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, Mosquitto=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, Plex=sensors=['status', 'uptime', 'cpu_percentage_usage', 'memory_usage', 'memory_percentage_usage'], 
switch=True, scan_interval=0:00:10>

new user of docker monitor, so did not test previous versions.

I up this. Same with my install. 0.108.4