home-assistant / os-agent

Daemon allowing to control OS features through D-Bus
Apache License 2.0
281 stars 74 forks source link

Object /io/hass/os/Boards/Supervised does not support the properties interface #206

Closed agners closed 2 months ago

agners commented 3 months ago

According to introspection, the /io/hass/os/Boards/Supervised object does support the properties interface:

# busctl introspect io.hass.os /io/hass/os/Boards/Supervised
NAME                                TYPE      SIGNATURE RESULT/VALUE FLAGS
io.hass.os.Boards.Supervised        interface -         -            -
org.freedesktop.DBus.Introspectable interface -         -            -
.Introspect                         method    -         s            -
org.freedesktop.DBus.Properties     interface -         -            -
.Get                                method    ss        v            -
.GetAll                             method    s         a{sv}        -
.Set                                method    ssv       -            -
.PropertiesChanged                  signal    sa{sv}as  -            -

However, when trying to use it the D-Bus call fails:

# busctl call io.hass.os /io/hass/os/Boards/Supervised org.freedesktop.DBus.Properties GetAll s io.hass.os.Boards.Supervised
Call failed: Object does not implement the interface 'org.freedesktop.DBus.Properties'
agners commented 3 months ago

This most likely stems from the fact that the Boards/Supervised object has no properties. Ideally the D-Bus library should not expose the interface in this case.

github-actions[bot] commented 2 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.