(self)
return super().get_value() in [STATE_ON, True]
Return the state value of this capability for this entity.
Return the state value of this capability for this entity.
Return the state value of this capability for this entity .
def get_value(self) -> bool | None:
        """Return the state value of this capability for this entity."""
        if not self.retrievable:
            return None

        return super().get_value() in [STATE_ON, True]
def get_value ( self ) -> bool | None : if not self . retrievable : return None return super ( ) . get_value ( ) in [ STATE_ON , True ]