Skip to content

Commit

Permalink
Explicitly use VE_INTERFACE for dbus calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hale committed Sep 29, 2024
1 parent bd17266 commit 5d6bc5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions battery_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import logging
from vedbus import VeDbusService
from ve_utils import unwrap_dbus_value
from dbusmonitor import DbusMonitor
from dbusmonitor import DbusMonitor, VE_INTERFACE
from settableservice import SettableService
from data_merger import DataMerger
from collections import deque, namedtuple
Expand Down Expand Up @@ -247,7 +247,7 @@ def _get_custom_names(self):
self._custom_names = {}
service_names = self.conn.list_names()
for service_name in service_names:
custom_name = self.conn.call_blocking(service_name, "/CustomName", None, "GetValue", "", [])
custom_name = self.conn.call_blocking(service_name, "/CustomName", VE_INTERFACE, "GetValue", "", [])
self._custom_names[custom_name] = service_name
return self._custom_names

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.8
v3.9

0 comments on commit 5d6bc5e

Please sign in to comment.