Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: report source of last operation #3

Open
balk77 opened this issue Dec 3, 2019 · 3 comments
Open

feature request: report source of last operation #3

balk77 opened this issue Dec 3, 2019 · 3 comments

Comments

@balk77
Copy link

balk77 commented Dec 3, 2019

Hi, it would be nice to know what the source is off the last operation. Did it come from HA or did someone press the original button on the wall? I would like to have this to override the HA controlled speed and for that I would like to have a switch. Is that possible?

@CoMPaTech
Copy link
Owner

The 'HA or not-HA' is something that can easily be build by adding a virtual switch to flip - detecting which wall-remote was pressed I'm not sure about :)
About the doable part, we could add/modify the behaviour of the esp to 'flip' a virtual switch (and/or input_binary) named 'last action by?' where 0 indicates HA and 1 indicates ESP - to indicate who changed it last time around? Is that what you are looking for?

@balk77
Copy link
Author

balk77 commented Dec 3, 2019

Yes, that would fullfil my needs :)
It does not matter which remote has been used. Would this work?
https://esphome.io/components/binary_sensor/template.html

@CoMPaTech
Copy link
Owner

Yeah that should work, i'll try to find some playing time coming weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants