Hey. I’m using an Overkiz integration for my Somfy awning. I have an automation that opens or closes the awning from time to time using cover.set_cover_position
. I’m trying to distinguish such events from situations when the awning is manipulated using a remote. I rely on context.parent_id
for this. The problem is that it’s always empty. I played around with the awning and realized that context.user_id
isn’t present as well. What I’m doing is that I have a simple automation that listens to the awning’s state changes. When it’s triggered, I look at the changed variable.
alias: "..."
trigger:
- platform: state
entity_id:
- cover.awning
I also have Velux shutters connected via Overkiz where I face the same problem. On the contrary, Homematic IP shutters don’t have this problem, which makes me think that something might be wrong with Overkiz. I read the source code of both integrations but didn’t find any mention of the context whatsoever.
My overall idea is that I pause automations for some time if shutters are manipulated manually. I have ideas on how I could detect automation events without context.parent_id
, but they require additional helper entities and are less reliable. Also, it works so nicely for Homematic, so that I really want to make it work for Overkiz as well. Could you please advise me on where I should look next to troubleshoot the situation? Thanks.