From 650132a7b34569725b62d801c8fb519f2afb7de6 Mon Sep 17 00:00:00 2001 From: 2long1 <2long1@gmail.com> Date: Wed, 25 Dec 2024 14:01:09 -0500 Subject: [PATCH] Remove NUMERIC_DISCOVERY_LOOKUP mapping for current and voltage category and enabled_by_default --- lib/extension/homeassistant.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/extension/homeassistant.ts b/lib/extension/homeassistant.ts index 2d3c75ddf2..34290d8d13 100644 --- a/lib/extension/homeassistant.ts +++ b/lib/extension/homeassistant.ts @@ -142,8 +142,6 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = { cube_side: {icon: 'mdi:cube'}, current: { device_class: 'current', - enabled_by_default: false, - entity_category: 'diagnostic', state_class: 'measurement', }, current_phase_b: { @@ -245,8 +243,6 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = { vibration_timeout: {entity_category: 'config', icon: 'mdi:timer'}, voltage: { device_class: 'voltage', - enabled_by_default: false, - entity_category: 'diagnostic', state_class: 'measurement', }, voltage_phase_b: {