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

Add availability status to sensors #273

Open
akamming opened this issue Nov 11, 2024 · 2 comments
Open

Add availability status to sensors #273

akamming opened this issue Nov 11, 2024 · 2 comments

Comments

@akamming
Copy link

akamming commented Nov 11, 2024

Is your feature request related to a problem? Please describe.
My use case is that i want to warn for open windows while the car is being locked. But i want to prevent false positives on someone is driving the car with the windows open. I cannot find a sensor in this addon describing the car in use status

Describe the solution you'd like
SOme sensor describing the car is in use or not

Describe alternatives you've considered
i used the domoticz plugin, but i switched to home assistant, so want to start using this addon for home assistant

Additional context
This documentation desribes how to get the car status:

accessability status

If the car is in use, availabilityStatus.value will report "unavailable" and availabilityStatus.unavailableReason will report "CAR_IN_USE"

My suggestion would be the expose both the fields "availabilityStatus.value" and "availabilityStatus.unavailableReason" to extra sensors in the addon. This way with automations you can create your own logic in Home Assistant based on this reason.

Adding this call to the addon is a good idea anyway: e.g. with "No internet" as unavailability reason, it doesn't make sense to get all the other sensors as well, so it could also improve the inner working of this plugin

Copy link

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

@akamming
Copy link
Author

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

In don’t know how to remove this stale label..

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

1 participant