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'