Skip to content

Commit 8d8d37e

Browse files
committed
fix: Home Assistant: discover temperature_probe as temperature device_class #30862
1 parent 09d010e commit 8d8d37e

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
@@ -226,6 +226,7 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
226226
smoke_density: {icon: "mdi:google-circles-communities", state_class: "measurement"},
227227
soil_moisture: {device_class: "moisture", state_class: "measurement"},
228228
temperature: {device_class: "temperature", state_class: "measurement"},
229+
temperature_probe: {device_class: "temperature", state_class: "measurement"},
229230
temperature_calibration: {entity_category: "config", icon: "mdi:wrench-clock"},
230231
temperature_max: {entity_category: "config", icon: "mdi:thermometer-plus"},
231232
temperature_min: {entity_category: "config", icon: "mdi:thermometer-minus"},

0 commit comments

Comments
 (0)