First time working with HASSIO and integration of nodemcu via MQTT.
i was able to configuration of light with on/off state and a input_number with automation to publish a payload when slider value is changes.
Then i added a input_select with a list of effects and set up another automation. This time only one of the automation is triggered. i can either get the input_number automation or the input-select automation to work but not both. The configuration seems sound but i am obviously missing something.
Below is the configuration:
light:
platform: mqtt
name: Hall LED
unique_id: hallBackLed
command_topic: “dsel/livingRoomLed/set”
Not sure about the light component, but given that all your other indentations are ‘off’, I’d start there; you have 4 instead of 2 spaces from layer to layer .
And I think the issue in your automations might have to do with the fact that you’d need to do something like this:
automation:
- id: "34661"
alias: LED Effects
- id: "34662"
alias: Hall - Adjust Brightness
That’s going to be an issue that will follow you - and annoy the hell out of you - for quite some time to come.
From my experience and what I have read here, spacing issues are the single most frequent reason why your config causes error messages