Add Config Flow for sense (#32160)

* Config Flow for sense

* Fix unique ids so they are actually unique (and migrate the old ones)

* Fix missing solar production

* Do not mark sensors available until they have data

* Address review items

* Address review round #2
This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-02-25 16:37:41 -07:00
1 parent b0fdbebd56
commit 3e702c8ca4
12 files changed
+367 -44

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
"""Constants for monitoring a Sense energy sensor."""
DOMAIN = "sense"
DEFAULT_TIMEOUT = 10
ACTIVE_UPDATE_RATE = 60
DEFAULT_NAME = "Sense"
SENSE_DATA = "sense_data"
SENSE_DEVICE_UPDATE = "sense_devices_update"