Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 5643c508 authored by Sean Rees's avatar Sean Rees Committed by GitHub
Browse files

Merge pull request #1 from hvtuananh/main

fan can also have OFF mode.
parents 3ccd67dc 78d34651
Branches
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ class Metrics():
# Operational State
# Ignoring: tilt (known values OK), standby_monitoring.
self.fan_mode = prometheus_client.Enum(
'dyson_fan_mode', 'Current mode of the fan', labels, states=['AUTO', 'FAN'])
'dyson_fan_mode', 'Current mode of the fan', labels, states=['AUTO', 'FAN', 'OFF'])
self.fan_state = prometheus_client.Enum(
'dyson_fan_state', 'Current running state of the fan', labels, states=['FAN', 'OFF'])
self.fan_speed = prometheus_client.Gauge(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment