From 3a01fcd0d187f19a2312879f57593bd371fe5ab4 Mon Sep 17 00:00:00 2001 From: RoboMagus <68224306+RoboMagus@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:42:30 +0000 Subject: [PATCH] ESPHome: update doc --- docs/widgets/services/esphome.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/widgets/services/esphome.md b/docs/widgets/services/esphome.md index 73f5c7ed..e14431fd 100644 --- a/docs/widgets/services/esphome.md +++ b/docs/widgets/services/esphome.md @@ -7,7 +7,10 @@ Learn more about [ESPHome](https://esphome.io/). Show the number of ESPHome devices based on their state. -Allowed fields: `["total", "online", "offline", "offline_alt", "unknown"]`. +Allowed fields: `["total", "online", "offline", "offline_alt", "unknown"]` (maximum of 4). + +By default ESPHome will only mark devices as `offline` if their address cannot be pinged. If it has an invalid config or its name cannot be resolved (by DNS) its status will be marked as `unknown`. +To group both `offline` and `unknown` devices together, users should use the `offline_alt` field instead. This sums all devices that are _not_ online together. ```yaml widget: