From 0f643b3b06bd0d0eaa339e30125557ffc0bda54d Mon Sep 17 00:00:00 2001 From: Gilles Grandou Date: Wed, 24 Aug 2022 09:59:37 +0200 Subject: [PATCH] ha: PAPP is type apparent_power not power, in VA. --- homeassistant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}" },