Returns a boolean true or false value for the state of a unit. If the unit is dimmable it will return true if the value is non-zero and false if the value is zero.
status of (name of unit)
if status of "Garage Motion" is true then turnon "Outside Siren" end if