def api_error(self, message):
        self._errors[NON_FIELD_ERRORS] = self.error_class([message])
Suggestion if the entity should be hidden from UIs.
dataset/ETHPy150Open CiscoSystems/avos/horizon/forms/base.py/SelfHandlingForm.api_error--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/isy994.py/ISYDeviceABC.hidden