1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-02-21 10:16:43 +00:00
Files
supervisor/tests/fixtures/io_hass_os_System.xml
Pascal Vizeli 2b6829a786 OS-Agent support (#2811)
* OS-Agent support

* add agent to host feature

* Add support for os-agent on devcontainer

* Rename core

* fix tests

* add setter

* add cgroup / apparmor

* all interfaces added

* fix import

* Add tests

* More tests

* Finish tests

* reformating xml files

* fix doc string

* address comments

* change return value

* fix tests

* Update supervisor/dbus/agent/__init__.py

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* Update scripts/supervisor.sh

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-06-30 11:55:53 +02:00

52 lines
1.4 KiB
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/io/hass/os/System">
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="out" type="s" direction="out">
</arg>
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg name="interface" type="s" direction="in">
</arg>
<arg name="property" type="s" direction="in">
</arg>
<arg name="value" type="v" direction="out">
</arg>
</method>
<method name="GetAll">
<arg name="interface" type="s" direction="in">
</arg>
<arg name="props" type="a{sv}" direction="out">
</arg>
</method>
<method name="Set">
<arg name="interface" type="s" direction="in">
</arg>
<arg name="property" type="s" direction="in">
</arg>
<arg name="value" type="v" direction="in">
</arg>
</method>
<signal name="PropertiesChanged">
<arg name="interface" type="s" direction="out">
</arg>
<arg name="changed_properties" type="a{sv}" direction="out">
</arg>
<arg name="invalidates_properties" type="as" direction="out">
</arg>
</signal>
</interface>
<interface name="io.hass.os.System">
<method name="ScheduleWipeDevice">
<arg type="b" direction="out">
</arg>
</method>
<method name="WipeDevice">
<arg type="b" direction="out">
</arg>
</method>
</interface>
</node>