Use core constants for kwb (#49708)

This commit is contained in:
tkdrob 2021-04-26 11:12:36 -04:00 committed by GitHub
parent 41d6d64ca4
commit 922eec0909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ from homeassistant.const import (
CONF_HOST,
CONF_NAME,
CONF_PORT,
CONF_TYPE,
EVENT_HOMEASSISTANT_STOP,
)
import homeassistant.helpers.config_validation as cv
@ -18,7 +19,6 @@ DEFAULT_NAME = "KWB"
MODE_SERIAL = 0
MODE_TCP = 1
CONF_TYPE = "type"
CONF_RAW = "raw"
SERIAL_SCHEMA = PLATFORM_SCHEMA.extend(