mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Emulated_hue: default type to Google [Breaking change] (#5549)
This commit is contained in:
parent
e53b2fe121
commit
2cf2dcd9ba
@ -45,7 +45,7 @@ DEFAULT_EXPOSE_BY_DEFAULT = True
|
|||||||
DEFAULT_EXPOSED_DOMAINS = [
|
DEFAULT_EXPOSED_DOMAINS = [
|
||||||
'switch', 'light', 'group', 'input_boolean', 'media_player', 'fan'
|
'switch', 'light', 'group', 'input_boolean', 'media_player', 'fan'
|
||||||
]
|
]
|
||||||
DEFAULT_TYPE = TYPE_ALEXA
|
DEFAULT_TYPE = TYPE_GOOGLE
|
||||||
|
|
||||||
CONFIG_SCHEMA = vol.Schema({
|
CONFIG_SCHEMA = vol.Schema({
|
||||||
DOMAIN: vol.Schema({
|
DOMAIN: vol.Schema({
|
||||||
@ -122,6 +122,10 @@ class Config(object):
|
|||||||
self.numbers = None
|
self.numbers = None
|
||||||
self.cached_states = {}
|
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
|
# Get the IP address that will be passed to the Echo during discovery
|
||||||
self.host_ip_addr = conf.get(CONF_HOST_IP)
|
self.host_ip_addr = conf.get(CONF_HOST_IP)
|
||||||
if self.host_ip_addr is None:
|
if self.host_ip_addr is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user