Skip to content

Commit 28a9f39

Browse files
committed
fix: Home Assistant: set state_class measurement for external_temperature #31022
1 parent 4e360d0 commit 28a9f39

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
@@ -158,7 +158,7 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
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"},
161-
external_temperature: {device_class: "temperature", icon: "mdi:thermometer"},
161+
external_temperature: {device_class: "temperature", icon: "mdi:thermometer", state_class: "measurement"},
162162
external_humidity: {device_class: "humidity", icon: "mdi:water-percent"},
163163
formaldehyd: {state_class: "measurement"},
164164
flow: {device_class: "volume_flow_rate", state_class: "measurement"},

0 commit comments

Comments
 (0)