Add switch support to the Flo integration (#38268)

* Add switch domain to Flo integration

* lint

* updates post rebase

* fix after rebase

* remove device state attrs

* oops

* stale name and docstring
This commit is contained in:
David F. Mulcahey authored and GitHub committed 2020-08-13 07:52:30 -04:00
1 parent 52a9921ed3
commit ca5e752514
7 files changed
+357 -1

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ CONFIG_SCHEMA = vol.Schema({DOMAIN: vol.Schema({})}, extra=vol.ALLOW_EXTRA)
_LOGGER = logging.getLogger(__name__)
PLATFORMS = ["binary_sensor", "sensor"]
PLATFORMS = ["binary_sensor", "sensor", "switch"]
async def async_setup(hass: HomeAssistant, config: dict):