From 41d5559acaca8c55287cc31eefc6afe0fe0feb7d Mon Sep 17 00:00:00 2001 From: manonstreet Date: Sun, 28 Jul 2019 14:07:16 -0400 Subject: [PATCH] Update Switchbot doc to match PR #25474 (#9976) * Update Switchbot doc to match PR #25474 Add details on existing assumed_state attribute as well as the for the new last_run_success attribute * :pencil2: Tweaks --- source/_components/switchbot.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/_components/switchbot.markdown b/source/_components/switchbot.markdown index aab3a5bbc9d..468a619913a 100644 --- a/source/_components/switchbot.markdown +++ b/source/_components/switchbot.markdown @@ -32,3 +32,10 @@ name: required: false type: string {% endconfiguration %} + +## Switchbot Entity + +There are two attributes available on the Switchbot entity to give you more information about your device. + +- `last_run_success`: If `true` if the last action sent to the Switchbot succeeded. This attribute is useful for error trapping when Bluetooth connectivity is intermittent. If `false`, see home-assistant.log for specific error messgages. +- `assumed_state`: Always `true`. If the state of the Switchbot entity cannot be determined, it is assumed to be `on`.