TileBoard icon indicating copy to clipboard operation
TileBoard copied to clipboard

Support for venetian blinds

Open yolani opened this issue 3 years ago • 4 comments

Not an issue but a feature request: Are there any plans to support venetian blinds in a single card? Would require. a cover card that can also take care of the tilt_position attribute, for example here: image

yolani avatar Apr 22 '21 09:04 yolani

How does this even look like in Lovelace?

alphasixtyfive avatar Apr 22 '21 11:04 alphasixtyfive

You get 2 sliders, one for position and one tile_position: image And theoretically a second stop button but that's pretty useless.

yolani avatar Apr 22 '21 12:04 yolani

I tried to add sliders[] to my TYPES.COVER object but it does not seem to support them.

{
                     position: [1, 0],
                     title: 'Raffstore',
                     id: 'cover.wohnzimmer_rs_wohnzimmer_31',
                     type: TYPES.COVER,
                     states: {
                        open: "Offen",
                        closed: "Geschlossen"
                     },
                     sliders: [
                        {
                           title: 'Position',
                           field: 'current_position',
                           max: 100,
                           min: 0,
                           step: 5,
                           request: {
                              type: "call_service",
                              domain: "cover",
                              service: "set_cover_position",
                              field: "position"
                           }
                        },
                        {
                           title: 'TiltPosition',
                           field: 'current_tilt_position',
                           max: 100,
                           min: 0,
                           step: 5,
                           request: {
                              type: "call_service",
                              domain: "cover",
                              service: "set_cover_tilt_position",
                              field: "tilt_position"
                           }
                        }
                     ],
                  }

yolani avatar Apr 22 '21 12:04 yolani

No, sliders are only for light tile. You can simply add a second tile with a slider.

alphasixtyfive avatar Apr 22 '21 16:04 alphasixtyfive