Use relative imports inside integrations (#22235)

* Use relative imports inside integrations

* Lint

* Fix automation tests

* Fix scene imports
This commit is contained in:
Paulus Schoutsen 2019-03-20 22:56:46 -07:00 committed by GitHub
parent ab17b22239
commit 4b1de61110
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
522 changed files with 1834 additions and 1725 deletions

View file

@ -4,8 +4,6 @@ import struct
import voluptuous as vol
from homeassistant.components.modbus import (
CONF_HUB, DEFAULT_HUB, DOMAIN as MODBUS_DOMAIN)
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import (
CONF_NAME, CONF_OFFSET, CONF_SLAVE, CONF_STRUCTURE,
@ -13,6 +11,8 @@ from homeassistant.const import (
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.restore_state import RestoreEntity
from . import CONF_HUB, DEFAULT_HUB, DOMAIN as MODBUS_DOMAIN
_LOGGER = logging.getLogger(__name__)
CONF_COUNT = 'count'