Skip to content

Commit 4210952

Browse files
authored
Fix incorrect default for missing "offline" property data (#271)
* Fix incorrect default for missing "offline" property data * Trigger Build
1 parent 0a5761c commit 4210952

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

simplipy/system/v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def light(self) -> bool:
254254
)
255255

256256
@property # type: ignore
257-
@guard_from_missing_data(True)
257+
@guard_from_missing_data(False)
258258
def offline(self) -> bool:
259259
"""Return whether the system is offline.
260260

tests/system/test_v3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def test_missing_property(caplog, v3_server, v3_subscriptions_response):
289289

290290
await system.update(include_settings=False, include_entities=False)
291291

292-
assert system.offline is True
292+
assert system.offline is False
293293
assert any(
294294
"SimpliSafe didn't return data for property: offline" in e.message
295295
for e in caplog.records

0 commit comments

Comments
 (0)