Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107417

Help requested with Template Cover - Grouping

$
0
0

Hi all,

I have recently implemented the Rollease integration (thank you to all those who worked on this) and would now like to create a group template which will display and allow control of blinds by percentage, and also update the icon as per the example shown on the Template Cover integration example.

I can easily achieve the control (including percentage) of the groups via the Cover Group functionality, but thought i might also be able to apply the icon update depending on state.

My question is:
Under the Multiple Covers section of the Template Cover integration, the yaml contains a number of sections, I know i don’t have to have the automation: section, but do i have to have all the other sections? and if so, can i split them into their own files, ie customize.yaml, cover.yaml, sensor.yaml…?

homeassistant:
  customize:
    cover_group:
      assume_state: true

cover:
  - platform: template
    covers:
      cover_group:
        ...
        entity_id:
          - cover.bedroom
          - cover.livingroom

sensor:
  - platform: template
    sensors:
       ...
            closed
          {% endif %}

script:
  cover_group:
    sequence:
        ...
            - cover.livingroom
          position: "{{position}}"

automation:
  - alias: "Close covers at night"
    trigger:
     ...
          entity_id: cover.cover_group
          position: 25

thanks in advance

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>