1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Check for duplicate entity name/address in modbus entities (#54669)

* Check for duplicate entity name/address.
This commit is contained in:
jan iversen
2021-08-19 09:37:31 +02:00
committed by GitHub
parent faec82ae8f
commit 0688aaa2b6
6 changed files with 45 additions and 5 deletions

View File

@@ -231,7 +231,7 @@ async def test_light_service_turn(hass, caplog, mock_pymodbus):
},
{
CONF_NAME: f"{TEST_ENTITY_NAME}2",
CONF_ADDRESS: 17,
CONF_ADDRESS: 18,
CONF_WRITE_TYPE: CALL_TYPE_REGISTER_HOLDING,
CONF_SCAN_INTERVAL: 0,
CONF_VERIFY: {},