Closed toughvj closed 4 months ago
The horizontal swing setting seems to have disappeared from the interface.
no. it's not
This may be related to your code, but in 2.13 it disappeared as well
have you set horizontal_swing: true ifconfig?
No, I haven't set it.
So? Everything is in readme file
horizontal_swing: <OPTIONAL: boolean (true/false); this feature will enable horizontal swing on devices that have this functionality. This feature replaces presets in the UI
UI allows to set the swing range. I do not want to replace UI Presets so I didn't set this option.
I'm a little confused. You write that horizontal_swing doesn't work, but you don't actually use it. Do you mean that you are using the built-in presets and want them to appear in the selection list if you don't want to use horizontal_swing? Do you mean something else?
Well, yes, adding the horizontal_swing option to the config enables the horizontal swing settings in the UI card. I was confused by the words "This feature replaces presets in the UI" and didn't add it before. Is it just me, or did previous versions have a swing setting in the UI without adding this option?
You're right, previous versions didn't require this option. I have now made one more change: if the horizontal_swing option is not set, the device in HA does not have a preset option, so it does not appear as an empty list in the UI.
Tested! Works like a charm again. Thanks @toughvj :).
IMPORTANT! From this version, auto_light and auto_xfan must be set as input_boolean