#MQTT light with no direct brigthness setting

4 messages · Page 1 of 1 (latest)

true jolt
#

I have a simple IR control RGB LED bulb.
I'm controlling it using ESPHome + IR LED, using raw IR commands.

I would like to add this to HA as a light, but I can't send brughtness up or down commands, since HA supports only the exact brigthness settings.

How could I add a template light, that has the following feature - HA action pairs? :

  • power on -> switch.turn_on (to supply power to the bulb using a Sonoff basic via MQTT)
  • power off -> switch.turn_off
  • brightness up-> mqtt.publish trigger the ESP to send an IR command
  • brightness down-> mqtt.publish trigger the ESP to send another IR command
#

I would like to have a light entity that doesn't have a brightnessslider, just a + and a - button, and work fully optimisticly.

spark nova
#

Template light is close, but nothing will give you integrated brightness up/down buttons.

#

You could cobble something together with multiple cards though.