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 authored and Franck Nijhof committed 2019-12-06 06:10:29 +01:00
1 parent 8def0326dd
commit fcf18aca34
3 files changed
+8 -15

No files matched your search

+1 -1
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