/hass-blind-card

Blind card for Home Assistant Lovelace UI

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Blind card

hacs_badge

This card allows to open, close or set a blind to the position you want. The Color of the blind can also be defined. This is a fork of the Blind Card by tungmeister. I needed a option to invert the up/down commands.

blind card

Configuration

General

Name Type Required Default Description
type string True - Must be "custom:blind-card"
title string False - Title of the card

Entities

Name Type Required Default Description
entity string True - The blind entity ID
name string False Friendly name of the entity Name to display for the blind
buttons_position string False left Set buttons on left or on right of the blind
title_position string False top Set title on top or on bottom of the blind
invert_percentage boolean False false Set it to true to invert the direction of the blind: 0% corresponds to open and 100% to closed
invert_commands boolean False false Set it to true if you want to invert the up/down buttons to match your motors direction
blind_color string False 'white' Set blind Color e.g. green or hex #00FF00

Remark : you can also just give the entity ID (without to specify entity:) if you don't need to specify the other configurations.

Sample

type: 'custom:blind-card'
title: My blinds
entities:
  - entity: cover.left_living_blind
    name: Left blind
    buttons_position: left
    title_position: bottom
    blind_color: '#FFD580'
  - cover.bedroom_blind

Colored Blind

Install

If you use HACS, the resources will automatically be configured with the needed file.

If you don't use HACS, you can download js file from latest releases. Drop it then in www folder in your config directory. Next add the following entry in lovelace configuration:

resources:
  - url: /local/hass-blind-card.js
    type: module