diff --git a/homeassistant.c b/homeassistant.c index cf1fba7..d2a1e06 100644 --- a/homeassistant.c +++ b/homeassistant.c @@ -19,7 +19,7 @@ typedef struct { static ha_config_desc ha_config_descs[] = { - { "PAPP", "measurement", "power", "Puissance Apparente", "VA", }, + { "PAPP", "measurement", "apparent_power", "Puissance Apparente", "VA", }, { "IINST", "measurement", "current", "Intensité Instantanée", "A", }, { "HCHP", "total_increasing", "energy", "Energie Heures Pleines", "kWh", "{{ (value | float) / 1000 }}" }, { "HCHC", "total_increasing", "energy", "Energie Heures Creuses", "kWh", "{{ (value | float) / 1000 }}" },