(request: WSGIRequest)
Updates the wled led_count.
Updates the wled led_count.
Updates the wled led_count .
def set_wled_led_count(request: WSGIRequest) -> None:
    """Updates the wled led_count."""
    value = int(request.POST.get("value"))  # type: ignore
    if not (2 <= value <= 490):
        return
    storage.set("wled_led_count", value)
    _notify_settings_changed("wled")
def set_wled_led_count ( request : WSGIRequest ) -> None : value = int ( request . POST . get ( "value" ) ) # type: ignore if not ( 2 <= value <= 490 ) : return storage . set ( "wled_led_count" , value ) _notify_settings_changed ( "wled" )