Covers: unsupported tilt feature #119
Replies: 2 comments 1 reply
-
Hi @OlwinFroon, Sorry for the late reply. |
Beta Was this translation helpful? Give feedback.
-
Nice, I can see the merits of your make-and-model approach. However, I hope you'd still allow for fine tuning in the device config file. |
Beta Was this translation helpful? Give feedback.
-
E2M cover entities seem to enable tilt angle support by default because it is a feature in the D2-05-00/02 EEP, regardless if the device really supports it or not.
As a result, these devices show up with a useless and nonfunctional tilt angle control in HA.
Right now, I disable these useless controls by adding this to my configuration.yaml:
Features supported by the cover component are
OPEN = 1
CLOSE = 2
SET_POSITION = 4
STOP = 8
OPEN_TILT = 16
CLOSE_TILT = 32
STOP_TILT = 64
SET_TILT_POSITION = 128
See HERE
A cover device that supports only part of these should set the device's
supported_features
attribute accordingly by summing up the numbers attached to this list. 15 means 1+2+4+8 = everything not involving tilt.I'm wondering if we could have this in the E2M configuration.
Perhaps an optional parameter to the device file?
Beta Was this translation helpful? Give feedback.
All reactions