From dbf0a3358d7ecf3531cb9d5cf7bd9402381498ba Mon Sep 17 00:00:00 2001 From: Adam Goode Date: Tue, 4 Jun 2024 14:00:30 -0400 Subject: [PATCH] fix: Set voc_index to `mdi:molecule` to match other VOC icons in Home Assistant (#22920) --- lib/extension/homeassistant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extension/homeassistant.ts b/lib/extension/homeassistant.ts index cd26058791..3c7e1bd915 100644 --- a/lib/extension/homeassistant.ts +++ b/lib/extension/homeassistant.ts @@ -849,7 +849,7 @@ export default class HomeAssistant extends Extension { transition: {entity_category: 'config', icon: 'mdi:transition'}, trigger_count: {icon: 'mdi:counter', enabled_by_default: false}, voc: {device_class: 'volatile_organic_compounds', state_class: 'measurement'}, - voc_index: {state_class: 'measurement'}, + voc_index: {state_class: 'measurement', icon: 'mdi:molecule'}, voc_parts: {device_class: 'volatile_organic_compounds_parts', state_class: 'measurement'}, vibration_timeout: {entity_category: 'config', icon: 'mdi:timer'}, voltage: {