Set modbus entity to non-available unless scan_interval=0 (#53155)
This commit is contained in:
parent
8a72e8df79
commit
2e2b340b1e
8 changed files with 21 additions and 0 deletions
|
@ -104,6 +104,7 @@ async def test_service_climate_update(hass, mock_pymodbus):
|
|||
CONF_TARGET_TEMP: 117,
|
||||
CONF_ADDRESS: 117,
|
||||
CONF_SLAVE: 10,
|
||||
CONF_SCAN_INTERVAL: 0,
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -176,6 +177,7 @@ test_value.attributes = {ATTR_TEMPERATURE: 37}
|
|||
CONF_NAME: CLIMATE_NAME,
|
||||
CONF_TARGET_TEMP: 117,
|
||||
CONF_ADDRESS: 117,
|
||||
CONF_SCAN_INTERVAL: 0,
|
||||
}
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue