We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fc02ef commit 3067885Copy full SHA for 3067885
glances_api/__init__.py
@@ -188,8 +188,11 @@ async def get_ha_sensor_data(self) -> dict[str, Any]:
188
container
189
for container in containers_data
190
# "status" since Glance v4, "Status" in v3 and earlier
191
+ # "healthy" status added to Glances 4.5 (see issue #50)
192
if container.get("status") == "running"
193
or container.get("Status") == "running"
194
+ or container.get("status") == "healthy"
195
+ or container.get("Status") == "healthy"
196
]
197
sensor_data["docker"] = {"docker_active": len(active_containers)}
198
cpu_use = 0.0
0 commit comments