Change value of device_automation constant (#64296)

* Change value of constant CONF_CHANGED_STATES

* Adjust tests
This commit is contained in:
Erik Montnemery 2022-01-17 16:34:40 +01:00 committed by GitHub
parent ab73d7c347
commit 513d6cc467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 20 additions and 20 deletions

View file

@ -87,7 +87,7 @@ async def test_get_triggers(hass, device_reg, entity_reg):
{
"platform": "device",
"domain": DOMAIN,
"type": "toggled",
"type": "changed_states",
"device_id": device_entry.id,
"entity_id": f"{DOMAIN}.test_5678",
},
@ -213,7 +213,7 @@ async def test_if_fires_on_state_change(hass, calls):
"domain": DOMAIN,
"device_id": "",
"entity_id": "humidifier.entity",
"type": "toggled",
"type": "changed_states",
},
"action": {
"service": "test.automation",