(self)
return self.config.should_expose(self.entity_id)
If device should be exposed.
If device should be exposed.
If device should be exposed .
def should_expose(self) -> bool:
        """If device should be exposed."""
        if self.entity_id in CLOUD_NEVER_EXPOSED_ENTITIES:
            return False

        if not self.yandex_device_type:
            return False

        return self.config.should_expose(self.entity_id)
def should_expose ( self ) -> bool : if self . entity_id in CLOUD_NEVER_EXPOSED_ENTITIES : return False if not self . yandex_device_type : return False return self . config . should_expose ( self . entity_id )