Skip to content

Commit

Permalink
fix power switch
Browse files Browse the repository at this point in the history
  • Loading branch information
David Baum committed May 26, 2017
1 parent 39e519e commit 176e532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Item {
onClicked: {
var status
if (checked) {
var powerRequest = request('<YAMAHA_AV cmd="PUT"><Main_Zone><Power_Control><Power>On</Power></Power_Control></Main_Zone></YAMAHA_AV>')
var powerRequest = Logic.request('<YAMAHA_AV cmd="PUT"><Main_Zone><Power_Control><Power>On</Power></Power_Control></Main_Zone></YAMAHA_AV>', ip)
timer2.start()
// }
// powerRequest.onreadystatechange = function() {
Expand Down
2 changes: 1 addition & 1 deletion metadata.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ X-KDE-PluginInfo-Author=David Baum
X-KDE-PluginInfo-Email[email protected]
X-KDE-PluginInfo-Name=yamaha
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-Version=1.2
X-KDE-PluginInfo-Version=1.2.1
X-KDE-PluginInfo-Website=https://github.com/naraesk/plasma-yamaha
X-Plasma-API=declarativeappletscript
X-Plasma-MainScript=ui/main.qml

0 comments on commit 176e532

Please sign in to comment.