gce-electronics / HA_RFPlayer

RFPlayer plugin for Home assistant
Apache License 2.0
27 stars 9 forks source link

Mise à jour suite deprecated NumberEntity Home Assistant Core 2022.10 #19

Closed Doubledom45 closed 1 year ago

Doubledom45 commented 1 year ago

Bonjour, Suite à la demande De HA pour la version 2022.10 avec les erreurs log suivantes

Entity None (<class 'custom_components.rfplayer.number.RfplayerJammingNumber'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author.
11:44:19 – (AVERTISSEMENT) Nombre

custom_components.rfplayer.number::RfplayerJammingNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.
11:44:18 – (AVERTISSEMENT) Nombre

Voir pour modifier le fichier "number.py" J'ai fait la modification sur la version Béta . Un pull requests pour ta version ? @+Dombitmoji

Aohzan commented 1 year ago

Salut, oui tu peux faire une PR pour, mais tu peux aussi faire une PR pour toutes tes modifs non ?

Doubledom45 commented 1 year ago

Pour le NumberEntity OK.

Pour la PR de la Béta, je ne sais pas trop, j'attends toujours des retours sur le Visionic . A toi de voir si on fait ou pas ? @+Dombitmoji