greghesp / ha-bambulab

A Home Assistant Integration for Bambu Lab Printers
855 stars 69 forks source link

Logged error about fans #573

Open geofffarmer opened 1 month ago

geofffarmer commented 1 month ago

Describe the bug

I have the following error in my system log:

Logger: homeassistant.components.fan Source: components/fan/init.py:295 integration: Fan (documentation, issues) First occurred: 16:21:32 (4 occurrences) Last logged: 16:21:32

Entity None (<class 'custom_components.bambu_lab.fan.BambuLabFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/greghesp/ha-bambulab/issues Entity None (<class 'custom_components.bambu_lab.fan.BambuLabFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/greghesp/ha-bambulab/issues

To Reproduce

Seems to be since update to HA Core 2024.8

Expected Behaviour

No error

What device are you using?

A1

Diagnostic Output

Logger: homeassistant.components.fan
Source: components/fan/__init__.py:295
integration: Fan (documentation, issues)
First occurred: 16:21:32 (4 occurrences)
Last logged: 16:21:32

Entity None (<class 'custom_components.bambu_lab.fan.BambuLabFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/greghesp/ha-bambulab/issues
Entity None (<class 'custom_components.bambu_lab.fan.BambuLabFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/greghesp/ha-bambulab/issues

Log Extracts

No response

Other Information

No response

Robbe-B commented 1 month ago

FYI See => https://developers.home-assistant.io/blog/2024/07/19/fan-fanentityfeatures-turn-on_off/