Skip to content

Commit

Permalink
Added on_property method to get_point and set_point. Replaced and ext…
Browse files Browse the repository at this point in the history
…ended broken functionality to get_priortity_array on get_point.
  • Loading branch information
davidraker authored and craig8 committed Jul 1, 2024
1 parent 8fbfc05 commit 84ca12b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ def ping_target(self):
self.vip.rpc.call(self.proxy_address, 'ping_device', self.target_address, self.device_id).get(timeout=self.timeout)
pinged = True
except errors.Unreachable:
_log.warning("Unable to reach BACnet proxy.")
_log.warning(f"Unable to reach BACnet proxy at: {self.proxy_address}.")
except (Exception, gevent.Timeout) as e:
_log.warning(f"Error trying to ping device with device_id '{self.device_id}' at {self.target_address}: {e}")
_log.warning(f"Error trying to ping device with device_id '{self.device_id}' at {self.target_address}"
f"through proxy {self.proxy_address}: {e}")

self.scheduled_ping = None

Expand Down

0 comments on commit 84ca12b

Please sign in to comment.