Fix example config
parent
75a07bac21
commit
2d40ab72ff
|
@ -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')])
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue