cleanup a bit

This commit is contained in:
Aaron Bieber 2025-01-15 07:07:25 -07:00
parent d5bb98e5c0
commit 46146d547e
No known key found for this signature in database

12
krha.py
View File

@ -31,12 +31,12 @@ class Runner(dbus.service.Object):
{'subtext': 'Type a command after "ha" to control Home Assistant'})] {'subtext': 'Type a command after "ha" to control Home Assistant'})]
return [( return [(
command, # data command,
f"Send to Home Assistant: {command}", # text f"Send to Home Assistant: {command}",
"home", # icon "home",
100, # type 100,
1.0, # relevance 1.0,
{'subtext': 'Press Enter to send command'} # properties {'subtext': 'Press Enter to send command'}
)] )]
@dbus.service.method(iface, out_signature='a(sss)') @dbus.service.method(iface, out_signature='a(sss)')