cleanup a bit
This commit is contained in:
parent
d5bb98e5c0
commit
46146d547e
12
krha.py
12
krha.py
@ -31,12 +31,12 @@ class Runner(dbus.service.Object):
|
||||
{'subtext': 'Type a command after "ha" to control Home Assistant'})]
|
||||
|
||||
return [(
|
||||
command, # data
|
||||
f"Send to Home Assistant: {command}", # text
|
||||
"home", # icon
|
||||
100, # type
|
||||
1.0, # relevance
|
||||
{'subtext': 'Press Enter to send command'} # properties
|
||||
command,
|
||||
f"Send to Home Assistant: {command}",
|
||||
"home",
|
||||
100,
|
||||
1.0,
|
||||
{'subtext': 'Press Enter to send command'}
|
||||
)]
|
||||
|
||||
@dbus.service.method(iface, out_signature='a(sss)')
|
||||
|
Loading…
x
Reference in New Issue
Block a user