From 2cf2dcd9ba9bd1b1c1ed754b9f382b3a6e8284a5 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 24 Jan 2017 20:25:08 -0800 Subject: [PATCH] Emulated_hue: default type to Google [Breaking change] (#5549) --- homeassistant/components/emulated_hue/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/emulated_hue/__init__.py b/homeassistant/components/emulated_hue/__init__.py index d95224c9469..038c50173f5 100644 --- a/homeassistant/components/emulated_hue/__init__.py +++ b/homeassistant/components/emulated_hue/__init__.py @@ -45,7 +45,7 @@ DEFAULT_EXPOSE_BY_DEFAULT = True DEFAULT_EXPOSED_DOMAINS = [ 'switch', 'light', 'group', 'input_boolean', 'media_player', 'fan' ] -DEFAULT_TYPE = TYPE_ALEXA +DEFAULT_TYPE = TYPE_GOOGLE CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ @@ -122,6 +122,10 @@ class Config(object): self.numbers = None self.cached_states = {} + if self.type == TYPE_ALEXA: + _LOGGER.warning('Alexa type is deprecated and will be removed in a' + ' future version') + # Get the IP address that will be passed to the Echo during discovery self.host_ip_addr = conf.get(CONF_HOST_IP) if self.host_ip_addr is None: