Fix example config
This commit is contained in:
parent
75a07bac21
commit
2d40ab72ff
@ -1,5 +1,5 @@
|
|||||||
from mqtt_dash.widgets import column_layout, row_layout, slider_widget, \
|
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"
|
URL = "https://dashboard.example.com"
|
||||||
MQTT_BROKER = "ws://example.com/mqtt"
|
MQTT_BROKER = "ws://example.com/mqtt"
|
||||||
@ -25,6 +25,6 @@ WIDGETS = [
|
|||||||
("192.168.1.212", "Sensor livingroom"
|
("192.168.1.212", "Sensor livingroom"
|
||||||
), ("192.168.1.211", "Sensor bedroom")]
|
), ("192.168.1.211", "Sensor bedroom")]
|
||||||
]),
|
]),
|
||||||
row_layout("Some buttons", button_widget("test", "set to 1", 1),
|
row_layout("Some buttons", [button_widget("test", "set to 1", 1),
|
||||||
button_widget("test", "set to foo", 'foo'))
|
button_widget("test", "set to foo", 'foo')])
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user