15 lines
247 B
Plaintext
15 lines
247 B
Plaintext
|
|
rule "Zasilanie głośników"
|
|
when
|
|
Item Mpd_quodlibet_StartStop received update
|
|
then
|
|
|
|
if (Mpd_quodlibet_StartStop.state == ON) {
|
|
sOWFS03.sendCommand(ON)
|
|
|
|
} else if (Mpd_quodlibet_StartStop.state == OFF) {
|
|
sOWFS03.sendCommand(OFF)
|
|
}
|
|
end
|
|
|