(request: WSGIRequest)
Updates the wled ip.
Updates the wled ip.
Updates the wled ip .
def set_wled_ip(request: WSGIRequest) -> None:
    """Updates the wled ip."""
    value = request.POST.get("value")  # type: ignore
    try:
        socket.inet_aton(value)
    except socket.error:
        return
    storage.set("wled_ip", value)
    _notify_settings_changed("wled")
def set_wled_ip ( request : WSGIRequest ) -> None : value = request . POST . get ( "value" ) # type: ignore try : socket . inet_aton ( value ) except socket . error : return storage . set ( "wled_ip" , value ) _notify_settings_changed ( "wled" )