Private GIT

Skip to content
Snippets Groups Projects
Commit 78d34651 authored by Tuan Anh Hoang Vu's avatar Tuan Anh Hoang Vu
Browse files

fan can also have OFF mode.

parent 3ccd67dc
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 to comment