@callback
def async_check_value(self, value):
    'Check if the new value matches a missing value for this entity.\n\n        If a match is found, it is added to the values mapping.\n        '
    if (not check_node_schema(value.node, self._schema)):
        return
    for (name, name_value) in self._values.items():
        if (name_value is not None):
            continue
        if (not check_value_schema(value, self._schema[const.DISC_VALUES][name])):
            continue
        self._values[name] = value
        if self._entity_created:
            async_dispatcher_send(self._hass, f'{DOMAIN}_{self.values_id}_value_added')
        self._async_check_entity_ready()
Check if the new value matches a missing value for this entity.

If a match is found, it is added to the values mapping.
@callback
def async_check_value(self, value):
    'Check if the new value matches a missing value for this entity.\n\n        If a match is found, it is added to the values mapping.\n        '
    if (not check_node_schema(value.node, self._schema)):
        return
    for (name, name_value) in self._values.items():
        if (name_value is not None):
            continue
        if (not check_value_schema(value, self._schema[const.DISC_VALUES][name])):
            continue
        self._values[name] = value
        if self._entity_created:
            async_dispatcher_send(self._hass, f'{DOMAIN}_{self.values_id}_value_added')
        self._async_check_entity_ready()