Use core constants for mqtt (#46389)

This commit is contained in:
tkdrob 2021-02-11 07:38:33 -05:00 committed by GitHub
parent 1b61b5c10b
commit b85ecc0bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 6 additions and 28 deletions

View file

@ -24,6 +24,7 @@ from homeassistant.const import (
CONF_DEVICE,
CONF_NAME,
CONF_OPTIMISTIC,
CONF_STATE_TEMPLATE,
CONF_UNIQUE_ID,
STATE_OFF,
STATE_ON,
@ -62,7 +63,6 @@ CONF_GREEN_TEMPLATE = "green_template"
CONF_MAX_MIREDS = "max_mireds"
CONF_MIN_MIREDS = "min_mireds"
CONF_RED_TEMPLATE = "red_template"
CONF_STATE_TEMPLATE = "state_template"
CONF_WHITE_VALUE_TEMPLATE = "white_value_template"
PLATFORM_SCHEMA_TEMPLATE = (