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:
parent
8def0326dd
commit
fcf18aca34
3 changed files with 8 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue