Add duration and sensitivity configuration for Eve Motion (#100861)

pull/100863/head
Jc2k 2023-09-25 15:52:27 +01:00 committed by GitHub
parent 4c255677c3
commit 8ed0f05270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -77,6 +77,8 @@ CHARACTERISTIC_PLATFORMS = {
CharacteristicsTypes.VENDOR_EVE_ENERGY_WATT: "sensor",
CharacteristicsTypes.VENDOR_EVE_DEGREE_AIR_PRESSURE: "sensor",
CharacteristicsTypes.VENDOR_EVE_DEGREE_ELEVATION: "number",
CharacteristicsTypes.VENDOR_EVE_MOTION_DURATION: "number",
CharacteristicsTypes.VENDOR_EVE_MOTION_SENSITIVITY: "number",
CharacteristicsTypes.VENDOR_EVE_THERMO_VALVE_POSITION: "sensor",
CharacteristicsTypes.VENDOR_HAA_SETUP: "button",
CharacteristicsTypes.VENDOR_HAA_UPDATE: "button",

View File

@ -49,6 +49,18 @@ NUMBER_ENTITIES: dict[str, NumberEntityDescription] = {
icon="mdi:volume-high",
entity_category=EntityCategory.CONFIG,
),
CharacteristicsTypes.VENDOR_EVE_MOTION_DURATION: NumberEntityDescription(
key=CharacteristicsTypes.VENDOR_EVE_MOTION_DURATION,
name="Duration",
icon="mdi:timer",
entity_category=EntityCategory.CONFIG,
),
CharacteristicsTypes.VENDOR_EVE_MOTION_SENSITIVITY: NumberEntityDescription(
key=CharacteristicsTypes.VENDOR_EVE_MOTION_SENSITIVITY,
name="Sensitivity",
icon="mdi:knob",
entity_category=EntityCategory.CONFIG,
),
}