Thanks! Yes, the Customization solves the device class problem.
Multple RfxTrx PT2622 motion sensors still don’t work.
After adding just the living room sensor, I set the off delay like this:
Turns on and off as expected, both in HA and physically (The LED on the sensor).
After adding a second one, the kitchen motion sensor, both of them get screwed up:
- Living room sensor is always off both in HA and physically.
- Kitchen sensor is always on in HA, turns on/off normally physically.
Nothing in the HA logs about this.
.storage/core.config_entires for RfxTrx looks like this:
{
"entry_id": "70ff11bc920c1c79abeeca2a7c956e10",
"version": 1,
"domain": "rfxtrx",
"title": "RFXTRX",
"data": {
"host": null,
"port": null,
"device": "/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1R3NR7-if00-port0",
"automatic_add": true,
"devices": {
"0a520a00660100c5340189": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"a",
"66:01"
]
},
"0a520d01880300c93d0189": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"d",
"88:03"
]
},
"0a520a027f0100e02b0179": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"a",
"7f:01"
]
},
"0a520d03bc0200c1390179": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"d",
"bc:02"
]
},
"0a520d04870300b33b0179": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"d",
"87:03"
]
},
"0a520d06f30100b23e0179": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"d",
"f3:01"
]
},
"0a520d04430300b03d0169": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"d",
"43:03"
]
},
"0b11000165bc0cfe01010f70": {
"device_id": [
"11",
"0",
"65bc0cfe:1"
],
"fire_event": false,
"signal_repetitions": 3
},
"0b11000448bc0cfe09010f70": {
"device_id": [
"11",
"0",
"48bc0cfe:9"
],
"fire_event": false,
"signal_repetitions": 3
},
"09130001481c46019180": {
"device_id": [
"13",
"0",
"481c46"
],
"fire_event": true,
"signal_repetitions": 1,
"off_delay": 10
},
"0a520d04400181f4f10369": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"d",
"40:01"
]
},
"0a520d0c400381f4f90369": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"52",
"d",
"40:03"
]
},
"0913001e8c3446019180": {
"device_id": [
"13",
"0",
"8c3446"
],
"fire_event": true,
"signal_repetitions": 1,
"off_delay": 10
},
"0913002393f846018e70": {
"fire_event": false,
"signal_repetitions": 1,
"device_id": [
"13",
"0",
"93f846"
]
}
}
}
"options": {},
"system_options": {
"disable_new_entities": false
},
"source": "user",
"connection_class": "local_push",
"unique_id": "rfxtrx"
},
The ones that matter are the ones with off_delay set to 10:
"09130001481c46019180": {
"device_id": [
"13",
"0",
"481c46"
],
"fire_event": true,
"signal_repetitions": 1,
"off_delay": 10
},
"0913001e8c3446019180": {
"device_id": [
"13",
"0",
"8c3446"
],
"fire_event": true,
"signal_repetitions": 1,
"off_delay": 10
},