Correct modbus config validator: slave/swap (#97798)
This commit is contained in:
parent
e42b9e6c4c
commit
59d37f65d5
3 changed files with 53 additions and 31 deletions
|
@ -246,7 +246,7 @@ async def test_config_sensor(hass: HomeAssistant, mock_modbus) -> None:
|
|||
},
|
||||
]
|
||||
},
|
||||
f"Error in sensor {TEST_ENTITY_NAME} swap(word) not possible due to the registers count: 1, needed: 2",
|
||||
f"{TEST_ENTITY_NAME}: `structure` illegal with `swap`",
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue