'Handle a node activated event for this node.'

def node_event(self, value):

    if (self.hass is None):
        return
    self.hass.bus.fire(EVENT_NODE_EVENT, {ATTR_ENTITY_ID: self.entity_id, ATTR_NODE_ID: self.node.node_id, ATTR_BASIC_LEVEL: value})
