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

[Request] Endpoint state change according to any current call state #101

Open
sesardelaisla opened this issue May 21, 2024 · 1 comment
Open

Comments

@sesardelaisla
Copy link

sesardelaisla commented May 21, 2024

Would it be possible to add a feature to the integration so an endpoint sensor state is changed according to any current call state? As far as I have seen, endpoint states are "Not in use", "Ringing" and "In use". However, there is not any state change if you call a number when (for example) the phone you are calling is unavailable (mobile phone off, out of coverage...). it would be great to detect whether the call is on "Dial" state, for instance. The purpose for this is to be able to build conditional scripts for "call forwarding" (a few calls in a row depending on previous state) in HASS without having to deal with the extensions.conf file, so being able to change endpoint state according to Hangup codes would be also great.

Thanks!

@TECH7Fox
Copy link
Owner

Hi, there are some extra attributes in the connected line entity that you can use. Did you try those?

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