A Switch
Properties
state: switching state; eithertrue,falseornilmode::autoif in timer switch mode, otherwise:manual; can also benilif undefined / unknownlock: state of the shift lock (via UI/API); eithertrue,falseornildevicelock: state of the shift lock (via hardware button); eithertrue,falseornil