Use relative imports inside integrations (#22235)
* Use relative imports inside integrations * Lint * Fix automation tests * Fix scene imports
This commit is contained in:
1 parent
ab17b22239
commit
4b1de61110
522 files changed
+1834
-1725
No files matched your search
@@ -10,10 +10,11 @@ from typing import Any, Callable, Dict, Optional
|
||||
import attr
|
||||
|
||||
from homeassistant.components import mqtt
|
||||
from homeassistant.components.mqtt import DEFAULT_QOS, MessageCallbackType
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.loader import bind_hass
|
||||
|
||||
from . import DEFAULT_QOS, MessageCallbackType
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user