Small cleanup of MQTT (#44110)
* Use relative imports of mqtt component in mqtt platforms * Correct parameters to _async_setup_entity * Lint
This commit is contained in:
parent
9651d1bcfa
commit
97edbaa85f
25 changed files with 92 additions and 89 deletions
|
@ -3,7 +3,7 @@ import logging
|
|||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components import fan, mqtt
|
||||
from homeassistant.components import fan
|
||||
from homeassistant.components.fan import (
|
||||
ATTR_SPEED,
|
||||
SPEED_HIGH,
|
||||
|
@ -43,6 +43,7 @@ from . import (
|
|||
MqttEntityDeviceInfo,
|
||||
subscription,
|
||||
)
|
||||
from .. import mqtt
|
||||
from .debug_info import log_messages
|
||||
from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue