Move imports to top for modbus (#29515)

* Move imports to top for modbus

* Include imports for TCP and UDP ModbusClients
This commit is contained in:
springstan 2019-12-06 06:10:29 +01:00 committed by Franck Nijhof
parent 8def0326dd
commit fcf18aca34
3 changed files with 8 additions and 15 deletions

View file

@ -1,8 +1,8 @@
"""Support for Modbus Register sensors."""
import logging
import struct
from typing import Any, Union
import voluptuous as vol
from homeassistant.components.sensor import PLATFORM_SCHEMA