0.6.7: icone sui tre tasti delle azioni rapide (fiamma, casa, manopole), disegnate in casa
This commit is contained in:
@@ -248,6 +248,7 @@ Page {
|
||||
id: boostBtn
|
||||
width: (parent.width - 2 * parent.spacing) / 3
|
||||
text: qsTr("Boost")
|
||||
icon.source: "../icons/quick-boost.png"
|
||||
onClicked: remorse.execute(boostBtn, qsTr("Starting DHW boost"),
|
||||
function() { api.sendCommand("hot_water_boost_on") })
|
||||
}
|
||||
@@ -257,6 +258,7 @@ Page {
|
||||
width: (parent.width - 2 * parent.spacing) / 3
|
||||
// Il pulsante dice cosa succede premendolo, non lo stato.
|
||||
text: page.raw("away_mode") ? qsTr("Back home") : qsTr("Away mode")
|
||||
icon.source: "../icons/quick-away.png"
|
||||
onClicked: {
|
||||
if (page.raw("away_mode")) {
|
||||
remorse.execute(assenzaBtn, qsTr("Away mode off"),
|
||||
@@ -271,6 +273,7 @@ Page {
|
||||
Button {
|
||||
width: (parent.width - 2 * parent.spacing) / 3
|
||||
text: qsTr("Commands")
|
||||
icon.source: "../icons/quick-commands.png"
|
||||
onClicked: page.openCommands()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user