claudegel / sinope-130

Neviweb130 custom component for Home Assistant to manage devices connected via a GT130 and wifi devices from Sinopé
GNU General Public License v3.0
62 stars 13 forks source link

Deprecated Warining: neviweb130 implements the is_aux_heat property or uses the auxiliary heater methods in a subclass of ClimateEntity #238

Closed horspiste closed 2 months ago

horspiste commented 3 months ago

I am getting this warning on Home Assistant, 2024.4.1, the deprecated feature will stop woking in version 2024.10.0

neviweb130::Neviweb130FloorThermostat implements the is_aux_heat property or uses the auxiliary heater methods in a subclass of ClimateEntity which is deprecated and will be unsupported from Home Assistant 2024.10. Please report it to the author of the 'neviweb130' custom integration

claudegel commented 3 months ago

Yes HA has flag is_aux_heat, turn_aux_heat_on and turn_aux_heat_off property and method to be removed from the climate entity. I'm working on an update to switch aux heat to emergency heat function. This should come this week, ready to be tested by volunteer.

horspiste commented 3 months ago

I can test that it doesn't give the warning anymore but my sinope thermostats don't have aux hear/emergency heat features.

claudegel commented 3 months ago

You get that deprecated warning because the neviweb130 app have those attribute and methods. Low voltage and floor thermostats have aux heat option. regular thermostats don't have aux heat.

claudegel commented 2 months ago

I've created a branch that fix the is_aux_heat warning. You can test by downloading the files here: https://github.com/claudegel/sinope-130/tree/aux_heat_fix/custom_components/neviweb130

horspiste commented 2 months ago

I tried to install it via HACS but it doesn't show, even if I enable "show beta versions".

Le sam. 13 avr. 2024, à 12 h 05, Claude Gelinas @.***> a écrit :

I've created a branch that fix the is_aux_heat warning. You can test by downloading the files here:

https://github.com/claudegel/sinope-130/tree/aux_heat_fix/custom_components/neviweb130

— Reply to this email directly, view it on GitHub https://github.com/claudegel/sinope-130/issues/238#issuecomment-2053688625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7QJ43PUNHVGE3EVHZF74DY5FJWBAVCNFSM6AAAAABF7KFUJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTGY4DQNRSGU . You are receiving this because you authored the thread.Message ID: @.***>

claudegel commented 2 months ago

I'm gonna put it in a beta version tonight

claudegel commented 2 months ago

Ok I've set a beta version v2.7.3. You should be able to install via hacs

horspiste commented 2 months ago

I've installed 2.7.3 via HACS and so far all seems ok. No warning in log and my Sinope devices show properly in the dashboard.

Thank you!

Sylvain

Le sam. 13 avr. 2024, à 20 h 39, Claude Gelinas @.***> a écrit :

Ok I've set a beta version v2.7.3. You should be able to install via hacs

— Reply to this email directly, view it on GitHub https://github.com/claudegel/sinope-130/issues/238#issuecomment-2053822830, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7QJ43QHYKFZICBW37H5XTY5HF5PAVCNFSM6AAAAABF7KFUJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJTHAZDEOBTGA . You are receiving this because you authored the thread.Message ID: @.***>

claudegel commented 2 months ago

Ok thank you. Let me know if you find a bug