Allow source sensor to be changed in threshold helper (#119157)
* Allow source sensor to be changed in threshold helper * Make sure old device link is removed on entry change * Add test case for changed association
This commit is contained in:
parent
f02383e10d
commit
958a456275
4 changed files with 79 additions and 4 deletions
|
@ -129,6 +129,7 @@ async def test_options(hass: HomeAssistant) -> None:
|
|||
result = await hass.config_entries.options.async_configure(
|
||||
result["flow_id"],
|
||||
user_input={
|
||||
"entity_id": input_sensor,
|
||||
"hysteresis": 0.0,
|
||||
"upper": 20.0,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue