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

Sunroof status disappeared #139

Closed
euroman2007 opened this issue Sep 8, 2023 · 6 comments
Closed

Sunroof status disappeared #139

euroman2007 opened this issue Sep 8, 2023 · 6 comments

Comments

@euroman2007
Copy link

Hi,
My sunroof status disappeared in home assistant.
It also isn't possible to open or close my sunroof with home assistant anymore. Anyone else having this problem?

@ReneNulschDE
Copy link
Owner

Hi, the sunroof can be opened only if the car was not unlocked via keys (same like the official app)

If the car is closed and locked the sunroof open service works for me.

Please first check if the official app is working. Could be too that one of your licenses is expired.

@euroman2007
Copy link
Author

Thanks for your reaction,
I am missing the sensors and entities entirely.
The license should not be the problem they are active until the end of 2025. Through the app the function works. I never use my key to lock or unlock the car. So that should not be the issue either. I have also reinstalled your app. But it didn't help unfortunately. Any ideas ?

@ReneNulschDE
Copy link
Owner

ReneNulschDE commented Sep 8, 2023

Can you first check if the HA service "mbapi2020.sunroof_open" / close is working when the car is closed and locked? If this doesn't work, what is the error message in the log

And please check if the lock sensor has no attribute sunroofstatus

Btw: there is no out of the box sensor or switch for the sunroof. The attribute sunroofstatus has the following values
0: closed
1: completely open
2: partial open
3: moving

@euroman2007
Copy link
Author

Thanks for your response, in the service section I can use the function to open and close the sunroof. Without problems. But if I check within my entities the function is not there. Open and close windows are there but the sunroof function not.. the reason why I ask is because they were there before. And I had made an Automation witch closed my car windows and the sunroof if any of them where open. Because sometimes you have people in the back they always forget to close the windows 😑

@ReneNulschDE
Copy link
Owner

Then you have to check your custom sensors (template?) - the component has no dedicated sunroof sensor out of the box.

@euroman2007
Copy link
Author

Thank you very much. I never used costum sensors for it. But I'm gonna take a look. Greetings Fernando
Thanks for your time and great support

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