deCONZ small improvements (#15128)

* Make sure that bridge id is available for config entry

* Fix so deconz reports proper color values

* Bump dependency to v39
This commit is contained in:
Robert Svensson 2018-06-24 23:48:59 +02:00 committed by Aaron Bach
parent 6064932e2e
commit 5a71a22fb9
5 changed files with 11 additions and 12 deletions

View file

@ -163,9 +163,6 @@ class DeconzFlowHandler(data_entry_flow.FlowHandler):
if CONF_API_KEY not in import_config:
return await self.async_step_link()
self.deconz_config[CONF_ALLOW_CLIP_SENSOR] = True
self.deconz_config[CONF_ALLOW_DECONZ_GROUPS] = True
return self.async_create_entry(
title='deCONZ-' + self.deconz_config[CONF_BRIDGEID],
data=self.deconz_config
)
user_input = {CONF_ALLOW_CLIP_SENSOR: True,
CONF_ALLOW_DECONZ_GROUPS: True}
return await self.async_step_options(user_input=user_input)