feat(dbus): Add AvailabilityChanged signal to .RevpiConfig
This signal provides a mechanism for notifying changes in availability status. It will complement the existing `StatusChanged` signal and enhance the system's event-handling capabilities. Signed-off-by: Sven Sager <s.sager@kunbus.com>
This commit is contained in:
@@ -48,10 +48,15 @@ class InterfaceRevpiConfig(DbusInterface):
|
|||||||
<arg name="feature" type="s"/>
|
<arg name="feature" type="s"/>
|
||||||
<arg name="status" type="b"/>
|
<arg name="status" type="b"/>
|
||||||
</signal>
|
</signal>
|
||||||
|
<signal name="AvailabilityChanged">
|
||||||
|
<arg name="feature" type="s"/>
|
||||||
|
<arg name="available" type="b"/>
|
||||||
|
</signal>
|
||||||
</interface>
|
</interface>
|
||||||
</node>
|
</node>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
AvailabilityChanged = signal()
|
||||||
StatusChanged = signal()
|
StatusChanged = signal()
|
||||||
|
|
||||||
def Disable(self, feature: str) -> None:
|
def Disable(self, feature: str) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user