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

Trigger alarm when open windows get closed (not only when closed windows get open) #1038

Open
2 tasks done
hajar97 opened this issue Oct 3, 2024 · 3 comments
Open
2 tasks done

Comments

@hajar97
Copy link

hajar97 commented Oct 3, 2024

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Currently alarm is only triggered when windows are open from close state. In advanced settings it is possible to ignore initially open state of the window when arming. For such windows, it then should be possible to trigger alarm when they get closed while initially they were open during the arming.

Additional info

Either trigger alarm on windows regardless of their initial state (preferred). So if they were closed and got opened when armed alarm should trigger. But equally if they were open when armed, alarm should trigger when they are closed.

Alternatively, make it configurable if to raise alarm when initially open windows get closed (less preferred).

@nielsfaber
Copy link
Owner

In alarmo a window being closed is considered safe, likewise a window being open is considered unsafe.
If you want to invert this, you will have to use a template binary sensor that will have the opposite state.
See https://www.home-assistant.io/integrations/template/.

@hajar97
Copy link
Author

hajar97 commented Oct 19, 2024 via email

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants