# add_disco_summary_value

**Descripción**

Añade un valor a una clave del diccionario 'resumen'.

Si la clave ya existe, se incrementará el valor. En caso contrario, se creará una nueva clave.

**Parámetros**

<table border="1" id="bkmrk-module-acepta-el-tip" style="border-collapse: collapse; width: 100%; height: 87px;"><tbody><tr style="height: 29px;"><td style="width: 12.5%; height: 29px;">**Nombre**</td><td style="width: 6.25%; height: 29px;">**Tipo**</td><td style="width: 8.84259%; height: 29px;">**Requerido**</td><td style="width: 47.4074%; height: 29px;">**Descripción**</td></tr><tr style="height: 29px;"><td style="width: 12.5%; height: 29px;">key</td><td style="width: 6.25%; height: 29px;">str</td><td style="width: 8.84259%; height: 29px;">SI</td><td style="width: 47.4074%; height: 29px;">Clave a la que añadir el valor</td></tr><tr style="height: 29px;"><td style="width: 12.5%; height: 29px;">value</td><td style="width: 6.25%; height: 29px;">None</td><td style="width: 8.84259%; height: 29px;">SI</td><td style="width: 47.4074%; height: 29px;">Valor a añadir a la clave</td></tr></tbody></table>

**Return**

<table border="1" id="bkmrk-tipo-none" style="border-collapse: collapse; width: 100%;"><tbody><tr><td style="width: 100%;">**Tipo**</td></tr><tr><td style="width: 100%;">None</td></tr></tbody></table>

**Versión**

- 1.0.0

**Ejemplo**

```
import pandoraPlugintools as pt

# Add values to existing keys in the discovery summary
pt.set_disco_summary_value('total_devices', 100)
pt.set_disco_summary_value('active_devices', 75)
pt.set_disco_summary_value('inactive_devices', 25)

# Add values to existing keys using add_disco_summary_value function
pt.add_disco_summary_value('total_devices', 10)
pt.add_disco_summary_value('active_devices', 5)
pt.add_disco_summary_value('inactive_devices', 5)

# Add values to new keys using add_disco_summary_value function
pt.add_disco_summary_value('new_key', 50)

# Verify by printing the updated _SUMMARY
print(pt._SUMMARY)
```