Complementing the Tuya Curtain (cl) category (#65023)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
8cf1109775
commit
696b930b1c
5 changed files with 58 additions and 0 deletions
|
@ -729,6 +729,16 @@ SENSORS: dict[str, tuple[TuyaSensorEntityDescription, ...]] = {
|
|||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
),
|
||||
# Curtain
|
||||
# https://developer.tuya.com/en/docs/iot/s?id=K9gf48qy7wkre
|
||||
"cl": (
|
||||
TuyaSensorEntityDescription(
|
||||
key=DPCode.TIME_TOTAL,
|
||||
name="Last Operation Duration",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
icon="mdi:progress-clock",
|
||||
),
|
||||
),
|
||||
}
|
||||
|
||||
# Socket (duplicate of `kg`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue