-
Notifications
You must be signed in to change notification settings - Fork 34
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
ESPHome Cover doesn't show "stop" in home assistant only up and down since 2023.5.0 #4516
Comments
having same issue. not sure what to try/debug. anyone have idea ? |
Had the same issue with a somfy controller. Solution is to add to the somfy_cover.h file that you are using the line traits.set_supports_stop(true). CoverTraits get_traits() override { The change was made here esphome/esphome#3897. I don't think this was thoroughly tested as it breaks things on existing devices - @jesserockz you may want to set the default to true to not break things. |
You are using a custom component/header. It is up to the author or yourself of those components to keep them up to date, or PR them into ESPHome where they would be kept up to date when we make internal changes like this. |
I run three Somfy RTS covers off of an ESP32. I also ran into this issue. I added Is there something else I need to update or to reload to convince home assistant that the stop functionality is now there? |
I think that is all that is required as far as I know. My code is as above - I only added the traits.set_supports_stop(true); line to get it working again. |
This should have definitively been marked as a breaking change! |
The problem
Since the update to esphome 2023.5.0 the cover entity lost the "stop" button in home assistant.
ESPhome
![image](https://private-user-images.githubusercontent.com/39600990/238880348-1b67d8c5-a9e9-4cfe-8cdb-eeb5fdca6f39.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MDI4MDYsIm5iZiI6MTcxOTYwMjUwNiwicGF0aCI6Ii8zOTYwMDk5MC8yMzg4ODAzNDgtMWI2N2Q4YzUtYTllOS00Y2ZlLThjZGItZWViNWZkY2E2ZjM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI4VDE5MjE0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjMTM3YzMyZmZlYjJiYWEzMjAwYTZlNDU1Y2IyZjgyMzE5ZjA0NzU5Y2M1NDI2MzM0Mzk4N2MxZjQyMzlhOWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yiN8-8OBnpV5fIi3lnW1nRK-oYyOlfFWPcmNzeXtomg)
Home assistant
![image](https://private-user-images.githubusercontent.com/39600990/238880564-9134be76-5be2-4ba0-8bac-df1364777eb4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MDI4MDYsIm5iZiI6MTcxOTYwMjUwNiwicGF0aCI6Ii8zOTYwMDk5MC8yMzg4ODA1NjQtOTEzNGJlNzYtNWJlMi00YmEwLThiYWMtZGYxMzY0Nzc3ZWI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI4VDE5MjE0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYyNmZkYTdmMjMxM2UyZDk4YzE5ZDkwYTViNGQ5YjRkMzYyOTEyNDFmNTM5ZjYyODU2ZGVlZDgyYmNjZjdmODgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.edOoyqejMjocs6eq8povax1av95rEL6zeScbQWoLx9s)
Which version of ESPHome has the issue?
2023.5.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.5.3
What platform are you using?
ESP8266
Board
nodemcu-32s
Component causing the issue
cover
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
When i move back to 2023.4.4 the stop button is back in home assistant
![image](https://private-user-images.githubusercontent.com/39600990/238882945-89666b70-96db-4004-8bee-c4a1838fc17e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MDI4MDYsIm5iZiI6MTcxOTYwMjUwNiwicGF0aCI6Ii8zOTYwMDk5MC8yMzg4ODI5NDUtODk2NjZiNzAtOTZkYi00MDA0LThiZWUtYzRhMTgzOGZjMTdlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI4VDE5MjE0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE0ZTQzODlkYTI0M2E5MTQ4YzUyZjk0ODU4MTViNjIyYTZlODk2NmYyNDg1MTBiMDkxNTY0YmJhNmIwZGFiMDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.K2RHgA5MG719oq5mW8LuF82XQnKS3dk0BJbw2rX9dKM)
The text was updated successfully, but these errors were encountered: