def METHOD_NAME(self, read=False):
    if read is True:
        value = self.state_attr.get_value()
        self.actuator_state = self.states.get(value, AbstractActuator.UNKNOWN)
    return self.actuator_state