danobot / entity-controller

Home Assistant Entity and lighting controller for managing devices with timers, scripts, and sun-based time restrictions.
https://danobot.github.io/ec-docs/
GNU General Public License v3.0
294 stars 40 forks source link

Set context of controlled entity correctly #255

Closed dvbit closed 2 years ago

dvbit commented 3 years ago

Hi Thanks for the great component. I am using the context-Id associated to a device change to understand if that device has been switched manually or programmatically . This usually works well except with devices switched by entity controller where it is saying they are triggered manually even if it is not so.

Here is the code I use `#

_ _ ____

| \ ____ () | |_ | | | |() _ | \ | |_ _ (_) |

| | | |/ _ \ \ / / |/ / \ | || ' | / _ \ '/ ` |/ | | |/ | ' \ | | | |/ \ / _` | | |

| |_| | /\ V /| | (| / | || | | | || / | | (| | (| || | () | | | | | |_| | _/ || (| | | |

|_/ \| _/ ||_\| ||| ||__|| _,|_|\||_/|| || |__/ _|\_,|||

input_select: tavolosoggiorno_interaction: name: Interazione Tavolo Soggiorno options:

sensor:

automation: