SirGoodenough / HA_Blueprints

🧯 My Collection of Automation and Script Blueprints for Home Assistant 🧯
Other
132 stars 22 forks source link

extended example on colorchange script aqara cube #3

Closed ivo1981 closed 2 years ago

ivo1981 commented 2 years ago

Can you provide a more complete example on the color change section please? If i copy paste it in an empty script it generates errors. This is probably very logical but i can't figure out how to use it. thanks a lot by the way for this addon!

SirGoodenough commented 2 years ago

I'm terribly sorry I missed this issue. I just got back into town. Anyway you can see my working copy in my personal configuration. The Script where the color change is located: https://github.com/SirGoodenough/Home-Assistant-Config/blob/master/script2/cube_script.yaml

And the Automation calling the blueprint. https://github.com/SirGoodenough/Home-Assistant-Config/blob/master/automation2/Z2M-Xiaomi_Cube_A2.yaml

SirGoodenough commented 2 years ago

close