Add a warning that honeywell/EU is to be deprecated (#23469)

* Add a warning that honeywell/EU is to be deprecated

* improve warning
pull/23492/head
David Bonnes 2019-04-27 21:27:41 +01:00 committed by Anders Melchiorsen
parent 26bf1b2173
commit 7458f1f6ef
1 changed files with 7 additions and 0 deletions

View File

@ -53,6 +53,13 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
if region == 'us':
return _setup_us(username, password, config, add_entities)
_LOGGER.warning(
"The honeywell component is deprecated for EU (i.e. non-US) systems, "
"this functionality will be removed in version 0.96.")
_LOGGER.warning(
"Please switch to the evohome component, "
"see: https://home-assistant.io/components/evohome")
return _setup_round(username, password, config, add_entities)