Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95480

Need help, templating 101

$
0
0

@Vertigo wrote:

Still trying to wrap my ahead around template syntax. I have a little script that dims a light by using tasmota URL call:

dim_one_step:
    alias: dim all lights 10%
    sequence:
        - service: rest_command.send_to_tasmota
          data:
            ip: "50"
            cmd: "dimmer%20-"

It would need to call that same command with different IPs, from 50 to 60. Im sure this can be done with a template, but the syntax,… well, if I see it, a light bulb will go off inside my head ? But its dim right now lol. help?

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95480

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>