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 selectedColor = ref('#FF0000');
|
||||
const topics = ref([
|
||||
'/wled/all',
|
||||
'/wled/1',
|
||||
'/wled/2',
|
||||
'/wled/3',
|
||||
'/wled/4',
|
||||
'/wled/5',
|
||||
'wled/all/col',
|
||||
'wled/panel/col',
|
||||
'wled/2',
|
||||
'wled/3',
|
||||
'wled/4',
|
||||
'wled/5',
|
||||
]);
|
||||
|
||||
const publishCustomColor = () => {
|
||||
|
||||
Reference in New Issue
Block a user