@on.setter<EOL><INDENT>def on(self, state):<DEDENT>
if state:<EOL><INDENT>self._turn_on()<EOL><DEDENT>else:<EOL><INDENT>self._turn_off()<EOL><DEDENT>
Change device state.

        :param state: True (on) or False (off).