from .const import DOMAIN as DOMAIN
from .entity import WLEDEntity as WLEDEntity
from collections.abc import Callable as Callable, Coroutine
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
from typing import Any, Concatenate

def wled_exception_handler[_WLEDEntityT: WLEDEntity, **_P](func: Callable[Concatenate[_WLEDEntityT, _P], Coroutine[Any, Any, Any]]) -> Callable[Concatenate[_WLEDEntityT, _P], Coroutine[Any, Any, None]]: ...
def kelvin_to_255(k: int, min_k: int, max_k: int) -> int: ...
def kelvin_to_255_reverse(v: int, min_k: int, max_k: int) -> int: ...
