#Is it possible to have custom/virtual field/values in a ZHA Quirk?

1 messages · Page 1 of 1 (latest)

long creek
#

I have a working quirk from this amazing person, it is for a Tuya based Zigbee 24g mmWave Sensor
https://github.com/zigpy/zha-device-handlers/issues/3012#issuecomment-3746728974

I am trying to modify it to add a Deadzone Start and End range so that the motion will report as clear if the target_distance is within that deadzone range.

Is this even technically possible?

I should add context too, this is in a room with a ceiling fan that is always running so the sensor will continue to report the same target distance forever which is the fan... 🙁

marsh mountain
#

this sounds more like something that you could do at the home assistant level, by making a "template sensor" which applies the conditions you want.

gentle wagon
#

Yeah, we‘re not allowed to add "virtual config entities" to HA.