libpurecool/dyson_pure_humidifycool.py
def _parse_command_args(self, **kwargs):
        """Parse command arguments.

        :param kwargs Arguments
        :return payload dictionary
        """
        data = super()._parse_command_args(**kwargs)

        humidifier_state = kwargs.get('humidifier_state')
        humidifier_auto = kwargs.get('humidifier_auto')
        humidity_target = kwargs.get('humidity_target')

        f_humidifier_state = humidifier_state.value if humidifier_state \
            else self._current_state.humidifier_state
        f_humidifier_auto = humidifier_auto.value if humidifier_auto \
            else self._current_state.humidifier_auto
        f_humidity_target = humidity_target if humidity_target \
            else self._current_state.humidity_target

        data["hume"] = f_humidifier_state
        data["haut"] = f_humidifier_auto
        data["humt"] = f_humidity_target

        return data
Parse command arguments.

        :param kwargs Arguments
        :return payload dictionary
        
Parse command arguments.
:param kwargs Arguments
:return payload dictionary
Parse command arguments . : param kwargs Arguments : return payload dictionary
def _parse_command_args(self, **kwargs):
        data = super()._parse_command_args(**kwargs)
        humidifier_state = kwargs.get('humidifier_state')
        humidifier_auto = kwargs.get('humidifier_auto')
        humidity_target = kwargs.get('humidity_target')
        f_humidifier_state = humidifier_state.value if humidifier_state \
            else self._current_state.humidifier_state
        f_humidifier_auto = humidifier_auto.value if humidifier_auto \
            else self._current_state.humidifier_auto
        f_humidity_target = humidity_target if humidity_target \
            else self._current_state.humidity_target
        data["hume"] = f_humidifier_state
        data["haut"] = f_humidifier_auto
        data["humt"] = f_humidity_target
        return data
def _parse_command_args ( self , ** kwargs ) : data = super ( ) . _parse_command_args ( ** kwargs ) humidifier_state = kwargs . get ( 'humidifier_state' ) humidifier_auto = kwargs . get ( 'humidifier_auto' ) humidity_target = kwargs . get ( 'humidity_target' ) f_humidifier_state = humidifier_state . value if humidifier_state else self . _current_state . humidifier_state f_humidifier_auto = humidifier_auto . value if humidifier_auto else self . _current_state . humidifier_auto f_humidity_target = humidity_target if humidity_target else self . _current_state . humidity_target data [ "hume" ] = f_humidifier_state data [ "haut" ] = f_humidifier_auto data [ "humt" ] = f_humidity_target return data
Parse command arguments.
Parse command arguments .
"""Parse command arguments.

        :param kwargs Arguments
        :return payload dictionary
        """
self