dynamic dashboard initial
This commit is contained in:
@@ -28,7 +28,7 @@ BROKER_HOST = os.environ.get("MQTT_HOST", "172.16.2.16")
|
||||
BROKER_PORT = int(os.environ.get("MQTT_PORT", "1883"))
|
||||
|
||||
# Devices to simulate
|
||||
DEVICES = ["test_lampe_1", "test_lampe_2"]
|
||||
DEVICES = ["test_lampe_1", "test_lampe_2", "test_lampe_3"]
|
||||
|
||||
# Device states (one per device)
|
||||
device_states = {
|
||||
@@ -39,6 +39,10 @@ device_states = {
|
||||
"test_lampe_2": {
|
||||
"power": "off",
|
||||
"brightness": 50
|
||||
},
|
||||
"test_lampe_3": {
|
||||
"power": "off",
|
||||
"brightness": 50
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user