This page last changed on May 08, 2013 by smee204.

Is there any plans to add conditions inside macros?
I have a macro to turn everything off, however I don't have a discrete on/off cmd so I want to check the status first.

e.g.

power_light_off
power_amp_off
power_dvd_off
//conditional power off
if tv_status = on then
  tv_power
end

That would be done with rules.

Posted by mredeker at May 09, 2013 10:37
Document generated by Confluence on Jun 05, 2016 09:29