So I’m having trouble getting MQTT to work with my RGB LED strip. Currently I have this working:
light:
- platform: flux_led
devices:
192.168.1.123:
name: bedroom_bedlight
automation:
- alias: MQTT Bed On
trigger:
platform: mqtt
topic: bedroom/light/bed/set
# Optional
payload: 'ON'
action:
service: light.turn_on
entity_id: light.bedroom_bedlight
- alias: MQTT Bed Off
trigger:
platform: mqtt
topic: bedroom/light/bed/set
# Optional
payload: 'OFF'
action:
service: light.turn_off
entity_id: light.bedroom_bedlight
But would like the functionality to control brightness and RGB color. Does anyone have any examples?