XxX
XxX
according to [aqara equipment-resourece](https://developer.aqara.com/console/equipment-resources) model: lumi.switch.rkna01 res_name (CN)| alias| ResourceId ---|---|--- 单次累计旋转角度 | rotate_cumulate_angle | 13.2.85 当前旋转角度 | rotate_current_angle | 13.3.85 当前旋转角度的百分比 | rotate_current_angle_percent | 13.5.85 累计旋转角度的百分比 | rotate_cumulate_angle_percent |...
``` @classmethod def from_function( cls, func: Optional[Callable] = None, coroutine: Optional[Callable[..., Awaitable[Any]]] = None, name: Optional[str] = None, description: Optional[str] = None, return_direct: bool = False, args_schema: Optional[Type[BaseModel]] = None,...