Script semplice per controllare una luce con un interruttore
metadata:name:Turn on light with switchdescription:Basic example of turning on a light with another switch.automations:starters:type:device.state.OnOffdevice:Office Switch - Officestate:onis:trueactions:-type:device.command.OnOffdevices:-Christmas lights - Living Roomon:true
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Informazioni errate","incorrectInformation","thumb-down"],["Informazioni/Esempi non sufficienti","notEnoughInformationSamples","thumb-down"],["Troppo complicato","tooComplicated","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-02-06 UTC."],[],[]]