nbogojevic/homeassistant-midea-air-appliances-lan

FanEntityFeature.TURN_OFF

Closed this issue · 2 comments

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

Entity None (<class 'custom_components.midea_dehumidifier_lan.fan.DehumidiferFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/issues
Entity None (<class 'custom_components.midea_dehumidifier_lan.fan.DehumidiferFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan/issues

I've created an PR for these entity features. It should fix the warnings we're seeing.

Thank you so much! I've merged your pull request