Closed steinaaj closed 2 years ago
I have the same problem, and find that the HIGH, LOW and MEDIUM speed settings are depreceated after Home Assistant 2022.3 according to the fan class documentation (https://github.com/home-assistant/core/commit/723dcbafca45267bf0d57016fc82e61beb69969f)
Updated version 1.0.6 should fix this
It works perfect. Thank you for the quick response. :)
Hey. Some simle syntax examples would be much apreciated.
I have some trouble with the new set_preset_mode Script example:
sequence:
How do i supply the correct speed The error i get is: "call service script/1649512423018. extra keys not allowed @ data['speed']"
speed should be changed to preset_mode You can see it here in the fan documentation
I get the following failure from the log, after updating:
Unable to prepare setup for platform dukaone.fan: Platform not found (cannot import name 'SPEED_HIGH' from 'homeassistant.components.fan' (/usr/src/homeassistant/homeassistant/components/fan/init.py)).