Skip to content

Commit 3e60f91

Browse files
committed
fix: Home Assisant: set state class to measurement for illuminane_raw #30439
1 parent 1eaa2f3 commit 3e60f91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/extension/homeassistant.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
166166
humidity_min: {entity_category: "config", icon: "mdi:water-percent"},
167167
illuminance_calibration: {entity_category: "config", icon: "mdi:wrench-clock"},
168168
illuminance: {device_class: "illuminance", state_class: "measurement"},
169+
illuminance_raw: {state_class: "measurement"},
169170
internalTemperature: {
170171
device_class: "temperature",
171172
entity_category: "diagnostic",

0 commit comments

Comments
 (0)