Config Flow and Entity registry support for Monoprice (#30337)

* Entity registry support for monoprice

* Add test for unique_id

* Add unique id namespace to monoprice

* Config Flow for Monoprice

* Update monoprice tests

* Remove TODOs

* Handle entity unloading

* Fix update test

* Streamline entity handling in monoprice services

* Increase coverage

* Remove devices cache

* Async validation in monoprice config flow
This commit is contained in:
On Freund authored and GitHub committed 2020-03-21 18:12:32 -07:00
1 parent 99d732b974
commit e8bd1b9216
9 files changed
+614 -454

No files matched your search

@@ -1,5 +1,15 @@
"""Constants for the Monoprice 6-Zone Amplifier Media Player component."""
DOMAIN = "monoprice"
CONF_SOURCES = "sources"
CONF_SOURCE_1 = "source_1"
CONF_SOURCE_2 = "source_2"
CONF_SOURCE_3 = "source_3"
CONF_SOURCE_4 = "source_4"
CONF_SOURCE_5 = "source_5"
CONF_SOURCE_6 = "source_6"
SERVICE_SNAPSHOT = "snapshot"
SERVICE_RESTORE = "restore"