def get_plugin_score(variant, plugin_name, config_parser):
    logger.debug("Checking scores for plugin {0}".format(plugin_name))
    # This is a plugin to collect the correct value from the vcf
    plugin = config_parser.plugins[plugin_name]
    # This is the score function for this plugin
    score_function = config_parser.score_functions[plugin_name]
    
    value = plugin.get_value(variant_dict=variant)
    logger.debug("Found value {0} for plugin {1}".format(value, plugin_name))
    
    # Score is allways a number
    score = score_function.get_score(value)
    logger.debug("Score is {0} for plugin {1}".format(score, plugin_name))
    
    return score
Setup the Efergy sensor.
dataset/ETHPy150Open moonso/genmod/genmod/score_variants/score_variant.py/get_plugin_score--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/efergy.py/setup_platform