Update screens to use new MQTT format.
This commit is contained in:
@ -19,7 +19,7 @@
|
|||||||
"h": 56,
|
"h": 56,
|
||||||
"label": "On",
|
"label": "On",
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"mqtt": [ "/s/cmnd/5C:CF:7F:20:29:6E/Power On" ]
|
"mqtt": [ {"topic": "/s/cmnd/5C:CF:7F:20:29:6E/Power", "message": "On"} ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "heli_led_off",
|
"name": "heli_led_off",
|
||||||
@ -29,7 +29,7 @@
|
|||||||
"h": 56,
|
"h": 56,
|
||||||
"label": "Off",
|
"label": "Off",
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"mqtt": [ "/s/cmnd/5C:CF:7F:20:29:6E/Power Off" ]
|
"mqtt": [ {"topic": "/s/cmnd/5C:CF:7F:20:29:6E/Power", "message": "Off"} ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "heli_led_toggle",
|
"name": "heli_led_toggle",
|
||||||
@ -39,7 +39,7 @@
|
|||||||
"h": 56,
|
"h": 56,
|
||||||
"label": "Toggle",
|
"label": "Toggle",
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"mqtt": [ "/s/cmnd/5C:CF:7F:20:29:6E/Power Toggle" ]
|
"mqtt": [ {"topic": "/s/cmnd/5C:CF:7F:20:29:6E/Power", "message": "Toggle"} ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
"w": 48,
|
"w": 48,
|
||||||
"h": 48,
|
"h": 48,
|
||||||
"label": "Two",
|
"label": "Two",
|
||||||
"type": 0
|
"type": 1,
|
||||||
|
"mqtt": [ {"topic": "esp32_XXXXXX/rpc/Button.Touch", "message": {"args": {"idx":0}}} ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user