StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
619 stars 111 forks source link

[FR] Convert firmware update switches to new button entities #617

Closed kongo09 closed 2 years ago

kongo09 commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently, the integration provides switches to initiate firmware updates. However, this is not really a switch action.

Describe the solution you'd like

Starting from HA 2021.12 a new button entity is provided. This reflects the action for a firmware update better.

Describe alternatives you've considered

The current switch solution works.

Additional context

https://www.home-assistant.io/blog/2021/12/11/release-202112/#the-button-entity

iw6ovz commented 2 years ago

The component doesn't work!

kongo09 commented 2 years ago

The component doesn't work!

It works very well. There is a fix needed for the latest 2021.12 but that's already addressed in the upcoming release. Try the beta of you're stuck on 2021.12

hakana commented 2 years ago

Release 0.3.1 public is available now!

kongo09 commented 2 years ago

This has not been addressed in 0.3.1

You probably confused the off-topic discussion that the component wouldn't work with the initial request of converting the switch entity to a (new) button entity for firmware upgrades?

iw6ovz commented 2 years ago

It's ok Now!

kongo09 commented 2 years ago

It's ok Now!

You are off-topic here

This feature request is about the firmware update switch:

image

hakana commented 2 years ago

I understand and will look on it asap