mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Reduce chatiness
This commit is contained in:
@@ -124,9 +124,7 @@ def setup_bridge(host, hass, add_devices_callback):
|
|||||||
api_name = api.get('config').get('name')
|
api_name = api.get('config').get('name')
|
||||||
if api_name == 'RaspBee-GW':
|
if api_name == 'RaspBee-GW':
|
||||||
bridge_type = 'deconz'
|
bridge_type = 'deconz'
|
||||||
_LOGGER.info("Found DeCONZ gateway (%s)", api_name)
|
|
||||||
else:
|
else:
|
||||||
_LOGGER.info("Found Hue bridge (%s)", api_name)
|
|
||||||
bridge_type = 'hue'
|
bridge_type = 'hue'
|
||||||
|
|
||||||
for light_id, info in api_states.items():
|
for light_id, info in api_states.items():
|
||||||
|
Reference in New Issue
Block a user