Use global CONF_UNIQUE_ID for mqtt (#38595)

* Use global CONF_UNIQUE_ID for mqtt

* Update __init__.py

* Update __init__.py

* Update __init__.py

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
This commit is contained in:
Michaël Arnauts 2020-08-09 23:00:14 +02:00 committed by GitHub
parent abb81704d2
commit d7d7ee6524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 25 additions and 18 deletions

View file

@ -22,7 +22,6 @@ from homeassistant.components.mqtt import (
CONF_QOS,
CONF_RETAIN,
CONF_STATE_TOPIC,
CONF_UNIQUE_ID,
MqttAttributes,
MqttAvailability,
MqttDiscoveryUpdate,
@ -41,6 +40,7 @@ from homeassistant.const import (
CONF_PAYLOAD_ON,
CONF_RGB,
CONF_STATE,
CONF_UNIQUE_ID,
CONF_VALUE_TEMPLATE,
CONF_WHITE_VALUE,
CONF_XY,