Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USING global VARIABLE IN yaml code
#1
Hi, I want to use the same input (telecommand) to open a gate, and after to close it. 

how can I define a boolean variable (VAR1 for instance)  and test it to know if the gate is open or closed ?

I need to use this variable in several scripts. can you give me the syntax of the command to write, and in what .yaml file to use :  configuration.yaml ? or automation.yaml ? (joined)  or others ?

Thank's for your help


Attached Files
.txt   automations.yaml.txt (Size: 1.6 KB / Downloads: 109)
.txt   configuration.yaml.txt (Size: 454 bytes / Downloads: 136)
Reply


Messages In This Thread
USING global VARIABLE IN yaml code - by Regis - 11-20-2023, 11:19 PM
RE: USING global VARIABLE IN yaml code - by admin - 11-21-2023, 10:16 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)