switchbot switch platform allows you to control Switchbot devices.
To enable it, add the following lines to your
switch: - platform: switchbot mac: 'MAC_ADDRESS'
There are two attributes available on the Switchbot entity to give you more information about your device.
trueif 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.
true. If the state of the Switchbot entity cannot be determined, it is assumed to be