Refactor shared mqtt schema's to new module (#117944)

* Refactor mqtt schema's to new module

* Remove unrelated change
This commit is contained in:
Jan Bouwhuis 2024-05-23 01:12:25 +02:00 committed by GitHub
parent ad69a23fda
commit 050fc73056
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 255 additions and 231 deletions

View file

@ -42,7 +42,6 @@ from .config import MQTT_RO_SCHEMA
from .const import CONF_ENCODING, CONF_QOS, CONF_STATE_TOPIC, PAYLOAD_NONE
from .debug_info import log_messages
from .mixins import (
MQTT_ENTITY_COMMON_SCHEMA,
MqttAvailability,
MqttEntity,
async_setup_entity_entry_helper,
@ -54,6 +53,7 @@ from .models import (
ReceiveMessage,
ReceivePayloadType,
)
from .schemas import MQTT_ENTITY_COMMON_SCHEMA
_LOGGER = logging.getLogger(__name__)