Skip to content

Commit ddc7ba8

Browse files
fabiandevc0ffeeca7
andauthored
Linked entities for HomeKit valve duration characteristics (#40222)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
1 parent 659de7e commit ddc7ba8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

source/_integrations/homekit.markdown

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,14 @@ homekit:
194194
description: The `entity_id` of a `sensor` entity to use as the temperature sensor of the air purifier accessory.
195195
required: false
196196
type: string
197+
linked_valve_duration:
198+
description: The `entity_id` of an `input_number` entity to use as the default run time of a valve switch (switch type `faucet`, `shower`, `sprinkler`, or `valve`), or valve accessory. Minimum value `300` seconds. Maximum value `3600` seconds. Step size `300` seconds. Changes in HomeKit will change the sensor state (and vice versa).
199+
required: false
200+
type: string
201+
linked_valve_end_time:
202+
description: The `entity_id` of a `sensor` (timestamp) entity to use for calculating the remaining time of a valve switch (switch type `faucet`, `shower`, `sprinkler`, or `valve`), or valve accessory. The end time has to be maintained in Home Assistant. HomeKit will not update the state of this sensor.
203+
required: false
204+
type: string
197205
low_battery_threshold:
198206
description: Minimum battery level before the accessory starts reporting a low battery.
199207
required: false
@@ -450,10 +458,10 @@ The following integrations are currently supported:
450458
| sensor | CarbonMonoxideSensor | All sensors that have `carbon_monoxide` as their `device_class` |
451459
| sensor | CarbonDioxideSensor | All sensors that have `co2` as part of their `entity_id` or `carbon_dioxide` as their `device_class` |
452460
| sensor | LightSensor | All sensors that have `lm` or `lx` as their `unit_of_measurement` or `illuminance` as their `device_class` |
453-
| switch | Switch | Represented as a switch by default but can be changed by using `type` within `entity_config`. |
461+
| switch | Switch | Represented as a switch by default but can be changed by using `type` within `entity_config`. Valve switches (type `faucet`, `shower`, `sprinkler`, or `valve`) can be linked with `linked_valve_duration` and `linked_valve_end_time`. |
454462
| water_heater | WaterHeater | All `water_heater` devices. |
455463
| device_automation | DeviceTriggerAccessory | All devices that support triggers. |
456-
| valve | Valve | All `valve` devices. |
464+
| valve | Valve | All `valve` devices can be linked with `linked_valve_duration` and `linked_valve_end_time`. |
457465

458466
# Device triggers
459467

0 commit comments

Comments
 (0)