Revert "Remove ESPHome legacy entity naming" (#123453)

This commit is contained in:
Franck Nijhof 2024-08-10 18:38:20 +02:00 committed by GitHub
parent ef2ddbf86d
commit 0558c85b5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 322 additions and 275 deletions

View file

@ -32,7 +32,7 @@ async def test_generic_event_entity(
user_service=user_service,
states=states,
)
state = hass.states.get("event.test_my_event")
state = hass.states.get("event.test_myevent")
assert state is not None
assert state.state == "2024-04-24T00:00:00.000+00:00"
assert state.attributes["event_type"] == "type1"