@property
def state(self) -> StateType:
    'Return the state of the entity.'
    return self._attr_state
Return the state of the entity.
@property
def state(self) -> StateType:
    
    return self._attr_state