diff --git a/homeassistant/loader.py b/homeassistant/loader.py index 6a8131d2454..6c083b6a024 100644 --- a/homeassistant/loader.py +++ b/homeassistant/loader.py @@ -1098,7 +1098,11 @@ class Helpers: def bind_hass(func: _CallableT) -> _CallableT: - """Decorate function to indicate that first argument is hass.""" + """Decorate function to indicate that first argument is hass. + + The use of this decorator is discouraged, and it should not be used + for new functions. + """ setattr(func, "__bind_hass", True) return func