#8 Relais ein / ausschalten von Ocotprint aus

- Button Style auf default geändert
- get_api_commands implementiert
This commit is contained in:
David Zingg
2019-11-24 15:29:45 +01:00
parent 4bd7df899c
commit 7a4d53d221
4 changed files with 8 additions and 17 deletions

View File

@ -1,4 +1,5 @@
<div class="sidebar_plugin_mystromswitch">
<label class="control-label" id="mystromswitchPowerValue">Powerconsumption 0.0W</label>
<span id="myStromRelaisToggleButton" type="button" class="mystromToggleButton">Toggle Relais</span>
<button class="btn btn-primary" data-bind="click: onToggleRelayEvent">{{ _('Go') }}</button>
</div>