Move MQTT CONF_SCHEMA from light and vacuum to .const (#81152)

Move CONF_SCHEMA to .const
This commit is contained in:
Jan Bouwhuis 2022-10-29 10:22:59 +02:00 committed by GitHub
parent effe8d9207
commit 591d13bc49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
"""Shared schema code."""
import voluptuous as vol
CONF_SCHEMA = "schema"
from ..const import CONF_SCHEMA
MQTT_LIGHT_SCHEMA_SCHEMA = vol.Schema(
{