mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 04:19:34 +00:00
Add native Python types support to templates (#41227)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
@@ -867,7 +867,7 @@ async def test_self_referencing_entity_picture_loop(hass, caplog):
|
||||
|
||||
state = hass.states.get("sensor.test")
|
||||
assert int(state.state) == 1
|
||||
assert state.attributes[ATTR_ENTITY_PICTURE] == "2"
|
||||
assert state.attributes[ATTR_ENTITY_PICTURE] == 2
|
||||
|
||||
await hass.async_block_till_done()
|
||||
assert int(state.state) == 1
|
||||
|
||||
Reference in New Issue
Block a user