Move imports in mqtt component (#27835)
* move imports to top-level in mqtt server * move imports to top-level in mqtt configflow * move imports to top-level in mqtt init * move imports to top-level in mqtt vacuum * move imports to top-level in mqtt light
This commit is contained in:
1 parent
7637ceb880
commit
1a5b4c105a
19 files changed
+130
-144
No files matched your search
@@ -0,0 +1,12 @@
|
||||
"""Shared schema code."""
|
||||
import voluptuous as vol
|
||||
|
||||
CONF_SCHEMA = "schema"
|
||||
|
||||
MQTT_LIGHT_SCHEMA_SCHEMA = vol.Schema(
|
||||
{
|
||||
vol.Optional(CONF_SCHEMA, default="basic"): vol.All(
|
||||
vol.Lower, vol.Any("basic", "json", "template")
|
||||
)
|
||||
}
|
||||
)
|
||||
Reference in new issue
Block a user