synology/surveillance_station.py
def set_home_mode(self, state):
        """Set the state of Home Mode"""
        state_parameter = HOME_MODE_OFF
        if state:
            state_parameter = HOME_MODE_ON
        return self._api.home_mode_set_state(state_parameter)
def set_home_mode(self, state):
        """Set the state of Home Mode"""
        state_parameter = HOME_MODE_OFF
        if state:
            state_parameter = HOME_MODE_ON
        return self._api.home_mode_set_state(state_parameter)
Set the state of Home Mode