@property
def is_on(self) -> (bool | None):
    'Return True if entity is on.'
    return self._attr_is_on
Return True if entity is on.
@property
def is_on(self) -> (bool | None):
    
    return self._attr_is_on