(self)
return None
Return modes mapping from entity configuration.
Return modes mapping from entity configuration.
Return modes mapping from entity configuration .
def modes_map_config(self) -> dict[str, list[str]] | None:
        """Return modes mapping from entity configuration."""
        if CONF_ENTITY_MODE_MAP in self.entity_config:
            return self.entity_config[CONF_ENTITY_MODE_MAP].get(self.instance)

        return None
def modes_map_config ( self ) -> dict [ str , list [ str ] ] | None : if CONF_ENTITY_MODE_MAP in self . entity_config : return self . entity_config [ CONF_ENTITY_MODE_MAP ] . get ( self . instance ) return None