Check if something went on because of system or manual

Hi All,

Is there a way to create something or check if a input_boolean or switch is turned on or off by the system or because of a manual action?
Sometimes I see a switch on and don’t know if I did it accidentally or something inside the system.

Yes and no. Yes you can determine if it was done by an automation. No not if it was done manually (except by lack of an automation message).

In your automation use the file notification service to write to a file when switching automatically.

Alternatively you can use the logbook.log custom entries service in your automations.

1 Like

Thanks. Let me check this and see if its useful for me !