Add NX584 alarm binary_sensor zone_number attribute (#36552)

This commit is contained in:
mreiling authored and GitHub committed 2020-06-09 14:19:46 +02:00
1 parent 38bb8ef4d2
commit 5f8dcd45c1
2 files changed
+6

No files matched your search

@@ -135,6 +135,7 @@ class TestNX584ZoneSensor(unittest.TestCase):
assert "foo" == sensor.name
assert not sensor.should_poll
assert sensor.is_on
assert sensor.device_state_attributes["zone_number"] == 1
zone["state"] = False
assert not sensor.is_on