deCONZ allow unloading of config entry (#14115)

* Working but incomplete

* Remove events on unload

* Add unload test

* Fix failing sensor test

* Improve unload test

* Move DeconzEvent to init

* Fix visual under-indentation
This commit is contained in:
Kane610
2018-04-29 16:16:20 +02:00
committed by Paulus Schoutsen
parent ef48a7ca2c
commit 3fd4987baf
8 changed files with 86 additions and 31 deletions

View File

@@ -5,4 +5,5 @@ _LOGGER = logging.getLogger('homeassistant.components.deconz')
DOMAIN = 'deconz'
CONFIG_FILE = 'deconz.conf'
DATA_DECONZ_EVENT = 'deconz_events'
DATA_DECONZ_ID = 'deconz_entities'