diff --git a/custom_components/adaptive_lighting/_docs_helpers.py b/custom_components/adaptive_lighting/_docs_helpers.py index 2f8371cb..00c83fe1 100644 --- a/custom_components/adaptive_lighting/_docs_helpers.py +++ b/custom_components/adaptive_lighting/_docs_helpers.py @@ -42,6 +42,8 @@ def _type_to_str(type_: Any) -> str: """Convert a (voluptuous) type to a string.""" if type_ == cv.entity_ids: return "list of `entity_id`s" + elif type_ == cv.string: + return "str" elif type_ in (bool, int, float, str): return f"`{type_.__name__}`" elif type_ == cv.boolean: