Use new CONF_MODEL core constant (2/3) (#68831)

* Use CONF_MODEL in xiaomi_miio

* Use CONF_MODEL in xiaomi

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-03-29 11:12:43 +02:00 committed by GitHub
parent a29990a784
commit 014aadb299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 31 additions and 40 deletions

View file

@ -28,6 +28,7 @@ from homeassistant.const import (
CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
CONCENTRATION_PARTS_PER_MILLION,
CONF_HOST,
CONF_MODEL,
CONF_TOKEN,
LIGHT_LUX,
PERCENTAGE,
@ -49,7 +50,6 @@ from .const import (
CONF_DEVICE,
CONF_FLOW_TYPE,
CONF_GATEWAY,
CONF_MODEL,
DOMAIN,
KEY_COORDINATOR,
KEY_DEVICE,