Revert "Remove ESPHome legacy entity naming" (#123453)
This commit is contained in:
parent
ef2ddbf86d
commit
0558c85b5d
23 changed files with 322 additions and 275 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue