Controling mqtt light functions from automations

I just configured a magichome led driver re flashed with tasmota.
Works great.

I want to set up some automations to change the lighting but can’t see any way to adjust it.

I can do a service call to turn on or off the light but can’t see how to change brightness, colour, effect, etc

Any pointers

I suggest you read the automation documentations. This is the first example in the action section:

Link to general automations:

The sidebar has each step in an automation.

image

Thanks for the quick response just the pointer I needed.

Yeah, the documentation is all over the place if you don’t know the lingo to look for it. It was my biggest problem when I first started with this. Overtime, you’ll get the lingo and the documentation will be much more helpful to you.

Sorry for the revival, i know automation but just not that good enough to get say for example:

How to set the magic home effect to # 4

Could anyone help me with this?

What’s magic home effect?

Any Tasmota flashed LED device has effects such as blinking, color change etc. I’d like to use the rapid color changing one to alert when my home alarm triggers

do you know the attribute or service? What component

Is this of any use?
All the effect lines are the ones i’m talking about.
It could be called by mqtt publish i guess.
Note that i want to use it in an automation, setting it from the frontend does work.

# Example configuration.yaml entry
light:
  - platform: mqtt
    name: "Light 1"
    command_topic: "cmnd/light1/POWER"
    state_topic: "tele/light1/STATE"
    state_value_template: "{{value_json.POWER}}"
    availability_topic: "tele/light1/LWT"
    brightness_command_topic: "cmnd/light1/Dimmer"
    brightness_state_topic: "tele/light1/STATE"
    brightness_scale: 100
    on_command_type: "brightness"
    brightness_value_template: "{{value_json.Dimmer}}"
    color_temp_command_topic: "cmnd/light1/CT"
    color_temp_state_topic: "tele/light1/STATE"
    color_temp_value_template: "{{value_json.CT}}"
    rgb_command_topic: "cmnd/light1/Color2"
    rgb_state_topic: "tele/light1/STATE"
    rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
    effect_command_topic: "cmnd/light1/Scheme"
    effect_state_topic: "tele/light1/STATE"
    effect_value_template: "{{value_json.Scheme}}"
    effect_list:
      - 0
      - 1
      - 2
      - 3
      - 4
    payload_on: "ON"
    payload_off: "OFF"
    payload_available: "Online"
    payload_not_available: "Offline"
    qos: 1
    retain: false