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

[prometheus] Adding valve entity metrics (#8223)

This commit is contained in:
Jordan Zucker
2025-02-11 11:51:55 -08:00
committed by GitHub
parent 33f9d66e81
commit 6b3f3e1da6
3 changed files with 70 additions and 0 deletions

View File

@@ -121,6 +121,14 @@ number:
max_value: 100
step: 1
valve:
- platform: template
name: "Template Valve"
lambda: |-
return VALVE_OPEN;
optimistic: true
has_position: true
prometheus:
include_internal: true
relabel: