// On turns a switch on
On turns a switch on
// On turns a switch on
func (d *Device) On() error {
	if err := d.getCodeWord(true); err != nil {
		return err
	}
	d.sendTriState()
	return nil
}
func ( d * Device ) On ( ) error { if err := d . getCodeWord ( true ) ; err != nil { return err } d . sendTriState ( ) return nil }
On turns a switch on
On turns a switch on