Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Fritz!DECT buttons- any plans? #37

Open
blankm opened this issue Aug 12, 2020 · 2 comments
Open

Fritz!DECT buttons- any plans? #37

blankm opened this issue Aug 12, 2020 · 2 comments

Comments

@blankm
Copy link

blankm commented Aug 12, 2020

Hi,
are there any plans to integrate the buttons offered in the Fritz!DECT line?
E.g. Fritz!DECT 440 or the smaller 400?

Thanks!

@blankm blankm changed the title Fritz!DECT switch - any plans? Fritz!DECT buttons- any plans? Aug 12, 2020
@blankm
Copy link
Author

blankm commented Aug 12, 2020

Reading the code I saw there is already a skeleton for the buttons. I will have a look on that.
Yes, there is just the "lastTimePressed" value, but if that is stored upon start somewhere, the next query could check if the timestamp differs and return a kind of "hasBeenPressed"-Bool.

@andig
Copy link
Owner

andig commented Aug 14, 2020

Thanks @blankm would appreciate a PR!

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

No branches or pull requests

2 participants