From 8ad3beb72fe2f22deec8c3fe2b9ac4e2eb0bb842 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Mon, 22 May 2023 13:57:49 +0200 Subject: [PATCH] Add API connection status sensor (#774) As requested by users: - https://github.com/Blackymas/NSPanel_HA_Blueprint/discussions/735#discussioncomment-5755419 Could this be used to prevent some of the "Loading..." or perhaps update screen when connection is reestablished? --- nspanel_esphome.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index 0d76931..d1d253d 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -557,6 +557,10 @@ binary_sensor: entity_category: diagnostic icon: mdi:tablet-dashboard + ##### API connection status + - platform: status + name: ${device_name} Status + ##### START - SENSOR CONFIGURATION ##### sensor: