12 V Emergency Shutter

Hey together,

I have a problem with a battery backuped 12 V Shutter and I don’t know where to sort this in.

All my other shutters are running HMIP wall actors which is integrating awesome to HA so I thought why not use HMIP component to integrate the 12 V Shutter either. Now I use a 12 V powered relay actor with 2 independent relays to turn on Up or down movement. The problem is that these can be on both and it’s also necessary to turn them off after a certain time. I will never have information about the position % closed which doesn’t bother me too much.

My problem is that I can’t use a regular shutter card for the integration to a dashboard. Played around with different helpers, groups and integration type change but it always ends up that the switch up and down turn on at the same time. This leads to the shutter not moving any further. Automation for this is okay with turn on switch for one direction, turn it off and on again, then wait 4sec and turn it off again. Otherwise the shutter stops at like 10% of the way :man_facepalming:.

Did anyone have the same requirements and a solution to this?

Have you tried a template cover?

You can incorporate a list of actions for the open and close actions.

It will operate in optimistic mode if you don’t provide a state or position template but should still only allow the open or close actions, not both at the same time.

Okay nice this is what I’ve been looking for. Thank you.

I added this to configuration.yaml

cover:
  - platform: template
    covers:
      kuche_rollade:
        device_class: kuche
        friendly_name: "Rollade Küche"
        #value_template: "none" 
        #icon_template: "none"
        open_cover:
          action: script.kuche_hoch
        close_cover:
          action: script.kuche_runter

But I can’t find the entity in a cover card. Suggestions?

Can you find cover.kuche_rollade in Developer Tools → States?

Related errors in Settings → System → Logs?

You also need to restart home assistant for it to be loaded.

Oh:

That is not a valid device class. See the list of valid cover device classes below the image here: Cover - Home Assistant

You probably want:

device_class: shutter

This likely would have pointed you in the right direction:

This and the full restart did the trick!
Thank you very much.

Now I just need to find a way to stop the cover and at least get one position. But this should be easy then.

Great!