Refactor shared mqtt schema's to new module (#117944)
* Refactor mqtt schema's to new module * Remove unrelated change
This commit is contained in:
parent
ad69a23fda
commit
050fc73056
35 changed files with 255 additions and 231 deletions
|
@ -38,12 +38,12 @@ from .const import (
|
|||
)
|
||||
from .debug_info import log_messages
|
||||
from .mixins import (
|
||||
MQTT_ENTITY_COMMON_SCHEMA,
|
||||
MqttEntity,
|
||||
async_setup_entity_entry_helper,
|
||||
write_state_on_attr_change,
|
||||
)
|
||||
from .models import MqttValueTemplate, ReceiveMessage
|
||||
from .schemas import MQTT_ENTITY_COMMON_SCHEMA
|
||||
|
||||
DEFAULT_NAME = "MQTT Switch"
|
||||
DEFAULT_PAYLOAD_ON = "ON"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue