Skip to content

Commit 4f412cb

Browse files
authored
fix: Home Assistant: Change device_class of eco2 to volatile_organic_compounds_parts (#30840)
1 parent 5a4d6b5 commit 4f412cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/extension/homeassistant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
154154
},
155155
distance: {device_class: "distance", state_class: "measurement"},
156156
duration: {entity_category: "config", icon: "mdi:timer"},
157-
eco2: {device_class: "carbon_dioxide", state_class: "measurement"},
157+
eco2: {device_class: "volatile_organic_compounds_parts", state_class: "measurement"},
158158
eco_temperature: {entity_category: "config", icon: "mdi:thermometer"},
159159
energy: {device_class: "energy", state_class: "total_increasing"},
160160
external_temperature_input: {device_class: "temperature", icon: "mdi:thermometer"},

0 commit comments

Comments
 (0)