feat(MQTTPublisher): Mise à jour liste topics WLED
- Correction format topics (suppression slash initial) - Ajout topics spécifiques couleur (wled/all/col, wled/panel/col)
This commit is contained in:
@@ -53,12 +53,12 @@ import { publishMessage } from '@/services/mqttService';
|
|||||||
const selectedTopic = ref('Selectionnez un topic');
|
const selectedTopic = ref('Selectionnez un topic');
|
||||||
const selectedColor = ref('#FF0000');
|
const selectedColor = ref('#FF0000');
|
||||||
const topics = ref([
|
const topics = ref([
|
||||||
'/wled/all',
|
'wled/all/col',
|
||||||
'/wled/1',
|
'wled/panel/col',
|
||||||
'/wled/2',
|
'wled/2',
|
||||||
'/wled/3',
|
'wled/3',
|
||||||
'/wled/4',
|
'wled/4',
|
||||||
'/wled/5',
|
'wled/5',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const publishCustomColor = () => {
|
const publishCustomColor = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user