Fix typo in gauge metric type (#7216)

This commit is contained in:
Roman Lomonosov 2020-01-11 10:15:30 +03:00
parent 3b69fb92db
commit 20c58f5f20
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ void HandleMetrics(void)
dtostrfd(Energy.current[0], Settings.flag2.current_resolution, parameter);
WSContentSend_P(PSTR("# TYPE current gauge\ncurrent %s\n"), parameter);
dtostrfd(Energy.active_power[0], Settings.flag2.wattage_resolution, parameter);
WSContentSend_P(PSTR("# TYPE active_power guage\nactive_power %s\n"), parameter);
WSContentSend_P(PSTR("# TYPE active_power gauge\nactive_power %s\n"), parameter);
dtostrfd(Energy.daily, Settings.flag2.energy_resolution, parameter);
WSContentSend_P(PSTR("# TYPE energy_daily gauge\nenergy_daily %s\n"), parameter);
dtostrfd(Energy.total, Settings.flag2.energy_resolution, parameter);