Fix example config

master
Anna Gaibinger 2019-11-02 14:39:53 +01:00
parent 75a07bac21
commit 2d40ab72ff
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
from mqtt_dash.widgets import column_layout, row_layout, slider_widget, \
label_widget, button_widget, log_widget
label_widget, button_widget, log_widget
URL = "https://dashboard.example.com"
MQTT_BROKER = "ws://example.com/mqtt"
@ -25,6 +25,6 @@ WIDGETS = [
("192.168.1.212", "Sensor livingroom"
), ("192.168.1.211", "Sensor bedroom")]
]),
row_layout("Some buttons", button_widget("test", "set to 1", 1),
button_widget("test", "set to foo", 'foo'))
row_layout("Some buttons", [button_widget("test", "set to 1", 1),
button_widget("test", "set to foo", 'foo')])
]