1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Update integrations t-z to override extra_state_attributes() (#47760)

This commit is contained in:
Erik Montnemery
2021-03-11 20:16:26 +01:00
committed by GitHub
parent 14a59d290a
commit 1fc8e32d86
127 changed files with 218 additions and 223 deletions

View File

@@ -242,7 +242,7 @@ async def test_device_entity(hass, mock_openzwave):
assert not device.should_poll
assert device.unique_id == "10-11"
assert device.name == "Mock Node Sensor"
assert device.device_state_attributes[zwave.ATTR_POWER] == 50.123
assert device.extra_state_attributes[zwave.ATTR_POWER] == 50.123
async def test_node_removed(hass, mock_openzwave):