mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 11:29:46 +00:00
Use core constants for modbus (#46388)
This commit is contained in:
@@ -46,7 +46,6 @@ async def setup_base_test(
|
||||
scan_interval,
|
||||
):
|
||||
"""Run setup device for given config."""
|
||||
|
||||
# Full sensor configuration
|
||||
config = {
|
||||
entity_domain: {
|
||||
@@ -79,7 +78,6 @@ async def run_base_read_test(
|
||||
now,
|
||||
):
|
||||
"""Run test for given config."""
|
||||
|
||||
# Setup inputs for the sensor
|
||||
read_result = ReadResult(register_words)
|
||||
if register_type == CALL_TYPE_COIL:
|
||||
|
||||
Reference in New Issue
Block a user