diff --git a/templates/switches.html b/templates/switches.html index 5254a90..7efa159 100644 --- a/templates/switches.html +++ b/templates/switches.html @@ -22,11 +22,11 @@ {% elif "dimmer" in v[1] %} - {% elif "pushOn" in v[1] %} + {% elif "pushon" in v[1] %}
- {% elif "pushOff" in v[1] %} + {% elif "pushoff" in v[1] %}
@@ -99,7 +99,7 @@ $(document).ready(function() { changeSwitch(this, {{v[0]}}); }); updateSwitches_block_{{count}}.push("{{v[0]}}"); - {% elif (v[1] == "pushOn") or (v[1] == "pushOff") %} + {% elif (v[1] == "pushon") or (v[1] == "pushoff") %} $('button[id="push_{{v[0]}}_block_{{count}}"]').click(function() { changeSwitch(this, {{v[0]}}); });