1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Add Webserver Prometheus support for sensor, binary sensor, fan, light, cover and switch (#1032)

This commit is contained in:
Marvin Gaube
2020-06-10 03:00:12 +02:00
committed by GitHub
parent cd7af19e7c
commit f63fd9696f
8 changed files with 431 additions and 1 deletions

View File

@@ -153,6 +153,7 @@ web_server:
port: 8080
css_url: https://esphome.io/_static/webserver-v1.min.css
js_url: https://esphome.io/_static/webserver-v1.min.js
prometheus: true
power_supply:
id: 'atx_power_supply'

View File

@@ -197,6 +197,7 @@ logger:
esp8266_store_log_strings_in_flash: false
web_server:
prometheus: true
deep_sleep:
run_duration: 20s