Use real devices in kodi device trigger tests (#102688)

This commit is contained in:
Erik Montnemery 2023-10-24 21:58:06 +02:00 committed by GitHub
parent cedade15ef
commit 6edbee75f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ async def test_if_fires_on_state_change(
"trigger": {
"platform": "device",
"domain": DOMAIN,
"device_id": "",
"device_id": entry.device_id,
"entity_id": entry.id,
"type": "turn_on",
},
@ -105,7 +105,7 @@ async def test_if_fires_on_state_change(
"trigger": {
"platform": "device",
"domain": DOMAIN,
"device_id": "",
"device_id": entry.device_id,
"entity_id": entry.id,
"type": "turn_off",
},
@ -161,7 +161,7 @@ async def test_if_fires_on_state_change_legacy(
"trigger": {
"platform": "device",
"domain": DOMAIN,
"device_id": "",
"device_id": entry.device_id,
"entity_id": entry.entity_id,
"type": "turn_on",
},