mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 05:24:29 +00:00
fix: Home Assistant: Improve various discovery mappings (#32842)
This commit is contained in:
@@ -157,6 +157,18 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
|
||||
boost_heating_countdown_time_set: {entity_category: "config", icon: "mdi:timer"},
|
||||
boost_time: {entity_category: "config", icon: "mdi:timer"},
|
||||
calibration: {entity_category: "config", icon: "mdi:wrench-clock"},
|
||||
calibration_button_hold_time: {
|
||||
enabled_by_default: false,
|
||||
entity_category: "config",
|
||||
icon: "mdi:wrench-clock",
|
||||
},
|
||||
calibration_closing_time: {entity_category: "config", icon: "mdi:wrench-clock"},
|
||||
calibration_motor_start_delay: {
|
||||
enabled_by_default: false,
|
||||
entity_category: "config",
|
||||
icon: "mdi:wrench-clock",
|
||||
},
|
||||
calibration_opening_time: {entity_category: "config", icon: "mdi:wrench-clock"},
|
||||
calibration_time: {entity_category: "config", icon: "mdi:wrench-clock"},
|
||||
calibration_time_left: {entity_category: "config", icon: "mdi:wrench-clock"},
|
||||
calibration_time_right: {entity_category: "config", icon: "mdi:wrench-clock"},
|
||||
@@ -188,6 +200,11 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
|
||||
duration: {entity_category: "config", icon: "mdi:timer"},
|
||||
eco2: {device_class: "volatile_organic_compounds_parts", state_class: "measurement"},
|
||||
eco_temperature: {entity_category: "config", icon: "mdi:thermometer"},
|
||||
effect_speed: {
|
||||
enabled_by_default: false,
|
||||
entity_category: "config",
|
||||
icon: "mdi:motion-outline",
|
||||
},
|
||||
energy: {device_class: "energy", state_class: "total_increasing"},
|
||||
external_temperature_input: {device_class: "temperature", icon: "mdi:thermometer"},
|
||||
external_temperature: {device_class: "temperature", icon: "mdi:thermometer", state_class: "measurement"},
|
||||
@@ -323,7 +340,7 @@ const ENUM_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
|
||||
effect: {enabled_by_default: false, icon: "mdi:palette"},
|
||||
force: {entity_category: "config", icon: "mdi:valve"},
|
||||
keep_time: {entity_category: "config", icon: "mdi:av-timer"},
|
||||
identify: {device_class: "identify"},
|
||||
identify: {entity_category: "diagnostic", device_class: "identify"},
|
||||
keypad_lockout: {entity_category: "config", icon: "mdi:lock"},
|
||||
load_detection_mode: {entity_category: "config", icon: "mdi:tune"},
|
||||
load_dimmable: {entity_category: "config", icon: "mdi:chart-bell-curve"},
|
||||
@@ -333,6 +350,7 @@ const ENUM_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
|
||||
mode: {entity_category: "config", icon: "mdi:tune"},
|
||||
mode_switch: {icon: "mdi:tune"},
|
||||
motor_direction: {entity_category: "config", icon: "mdi:arrow-left-right"},
|
||||
motor_state: {entity_category: "diagnostic", icon: "mdi:state-machine"},
|
||||
motion_sensitivity: {entity_category: "config", icon: "mdi:tune"},
|
||||
operation_mode: {entity_category: "config", icon: "mdi:tune"},
|
||||
power_on_behavior: {entity_category: "config", icon: "mdi:power-settings"},
|
||||
@@ -359,6 +377,11 @@ const ENUM_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
|
||||
const LIST_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
|
||||
action: {icon: "mdi:gesture-double-tap"},
|
||||
color_options: {icon: "mdi:palette"},
|
||||
effect_color: {
|
||||
enabled_by_default: false,
|
||||
entity_category: "config",
|
||||
icon: "mdi:palette-swatch",
|
||||
},
|
||||
level_config: {entity_category: "diagnostic"},
|
||||
programming_mode: {icon: "mdi:calendar-clock"},
|
||||
schedule_settings: {entity_category: "config", icon: "mdi:calendar-clock"},
|
||||
|
||||
Reference in New Issue
Block a user