Harmony auto discovery via netdisco (#7741)

* Use netdisco to automatically discover harmony hubs.

* Allow some settings in configuration.yml to override even on discovered hubs.

* Global is not required as no assignment on variable

* Use `set` instead of list for perf

* Store cache of discovered devices against `hass.data` rather than in global

* Handle case if the device cache is empty

* Fix indentation issue
This commit is contained in:
Anthony Hughes authored and Paulus Schoutsen committed 2017-06-21 22:43:35 -07:00
1 parent a95fe588ca
commit 6bfeac7f80
2 files changed
+53 -15

No files matched your search

+1
View File
@@ -55,6 +55,7 @@ SERVICE_HANDLERS = {
'apple_tv': ('media_player', 'apple_tv'),
'frontier_silicon': ('media_player', 'frontier_silicon'),
'openhome': ('media_player', 'openhome'),
'harmony': ('remote', 'harmony'),
'bose_soundtouch': ('media_player', 'soundtouch'),
}