hass-shutter-card icon indicating copy to clipboard operation
hass-shutter-card copied to clipboard

Add configurable offset (e.g. for german shutter)

Open MaxWinterstein opened this issue 5 years ago • 4 comments

In Germany 🇩🇪 (and maybe some other countries too?) we call our shutter/cover/blinds Rollladen, and they seem to behave a little differently. If you never saw the german version, here is a quick video: https://youtu.be/PCudaPpwoAM?t=76

To sum it up, when the Rollladen is closing, and touching the bottom position, it is not completely closed. The elements (Rollladenstäbe) are loosely connected and allow some light to get through (Lichtschlitze). After some additional movement in the closing direction, manually via a Belt (Gurtband) or electrical, it closes completely.

As the wife was complaining the Window (Fenster) was not looking like the real window I came up with this fix.

Also requested here: https://github.com/Deejayfool/hass-shutter-card/issues/24

MaxWinterstein avatar Oct 18 '20 07:10 MaxWinterstein

So is there a chance this gets into the main branch? I would love to see this! :-) (Or am I just too stupid to use it?)

dabepp avatar Apr 14 '21 09:04 dabepp

So is there a chance this gets into the main branch? I would love to see this! :-) (Or am I just too stupid to use it?)

You can manually overwrite the hass-shutter-card.js with my version and should be good to go until it gets merged.

this is my version: https://raw.githubusercontent.com/MaxWinterstein/hass-shutter-card/master/hass-shutter-card.js

No idea how your setup is, if you have the Visual Studio Code Add-on available it should be easy.Just open the file

image

MaxWinterstein avatar May 06 '21 22:05 MaxWinterstein

I was planing to write somthing like this :D Thanks a bunch.

Sangoku avatar Dec 01 '21 12:12 Sangoku

Hey, I copied your version using visual code but it's not working for me. Am I using it wrong?

type: custom:shutter-card
title: Roleta
entities:
  - entity: cover.curtain_switch_curtain
    name: Testna roleta
    buttons_position: left
    invert_percentage: true
    offset: 15

roleta

GreXoR1 avatar Dec 12 '21 20:12 GreXoR1

Why is this not getting merged ?

Mag1cByt3s avatar Jan 29 '23 03:01 Mag1cByt3s

Feature added with Pull Request #69

Deejayfool avatar Mar 03 '23 11:03 Deejayfool