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:
2026-02-08 16:35:36 +01:00
parent b1b7080fbe
commit bcaa97e7e2

View File

@@ -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 = () => {