twrecked / hass-virtual

Virtual Components for Home Assistant
GNU General Public License v3.0
167 stars 28 forks source link

2024.8 warnings in Log: Entity fan.xxx does not set FanEntityFeature.TURN_OFF/ON #117

Closed ildar170975 closed 3 months ago

ildar170975 commented 3 months ago

0.9.0b11 2024.8

Config:

version: 1
devices:

  fan kitchen test:
  - platform: fan
    name: +fan kitchen test
    speed: true
    speed_count: 3
    direction: false
    oscillate: false

2024-08-08 18:16:54.179 WARNING (MainThread) [homeassistant.components.fan] Entity fan.virtual_fan_kitchen_test (<class 'custom_components.virtual.fan.VirtualFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/twrecked/hass-virtual/issues 2024-08-08 18:16:54.180 WARNING (MainThread) [homeassistant.components.fan] Entity fan.virtual_fan_kitchen_test (<class 'custom_components.virtual.fan.VirtualFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/twrecked/hass-virtual/issues

twrecked commented 3 months ago

Should be fixed in 0.9.0b12.

Tony763 commented 3 months ago

Yep, tested and fan platform does not produce above error (on b15, cross checked with b11).

ildar170975 commented 3 months ago

b15 - do not observe the issue. Closing. Thanks a lot!!!