From 7708b367b38078fab115358962ee7ecbbf6c772c Mon Sep 17 00:00:00 2001 From: Jeef Date: Sat, 2 Dec 2023 20:39:59 -0700 Subject: [PATCH] Added a new function --- src/intellifire4py/unified_fireplace.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/intellifire4py/unified_fireplace.py b/src/intellifire4py/unified_fireplace.py index 1a04da5..a7cc30c 100644 --- a/src/intellifire4py/unified_fireplace.py +++ b/src/intellifire4py/unified_fireplace.py @@ -86,6 +86,10 @@ async def perform_cloud_poll(self) -> None: """Perform a Cloud Poll - this should be used to validate the stored credentials.""" await self._cloud_api.poll() + async def perform_local_poll(self) -> None: + """Perform a local Poll - used to test local connectivity.""" + await self._local_api.poll() + @property def dump_user_data_json(self) -> str: """Dump the internal _fireplace_data object to a JSON String."""