I am running Home Assistant OS 2021.8 with the RaspberryMatic CCU add-in. The CCU is set to generate a short keypress every 60 seconds as a watchdog timer to notify HA if connectivity is lost.
The HA automation listens for the homematic.keypress events and notifies me if it doesn’t see one for more than five minutes. This is what the event looks like:
{
"event_type": "homematic.keypress",
"data": {
"name": "HM-RCV-50 BidCoS-RF",
"param": "PRESS_SHORT",
"channel": 1
},
"origin": "LOCAL",
"time_fired": "2021-08-06T16:21:00.942586+00:00",
"context": {
"id": "d658fa55b8d60eff3484ca3c38f03dfc",
"parent_id": null,
"user_id": null
}
}
This all works fine until I do a restart of the host system, when the event looks like this:
"event_type": "homematic.keypress",
"data": {
"name": "BidCoS-RF",
"param": "PRESS_SHORT",
"channel": 1
Notice that the “name” has changed from “HM-RCV-50 BidCoS-RF” to just “BidCoS-RF”, which of course causes my automation to fail. Restarting the CCU add-in doesn’t fix this, but restarting HA does.
Any ideas?