risco-mqtt-local icon indicating copy to clipboard operation
risco-mqtt-local copied to clipboard

Prefix Partition name to zone name

Open ekkesa opened this issue 2 years ago • 0 comments

Currently the integration creates the zone names using binary_sensor.<zone_name>.

To align with the cloud integration, and to easily mimic the Risco app to group zone switches in UI (see example below). The suggestion is to prefix the partition name to the zone. For Example: The partition name (label) is Living Area, The zone name (label) is Entrance Hall.

So the binary sensor will be binary_sensor.living_area_entrance_hall and the bypass switch will be switch.living_area_entrance_hall

                  - type: custom:fold-entity-row
                    head:
                      type: section
                      label: Living Area
                    group_config:
                      secondary_info: last-changed
                    entities:
                      - type: custom:auto-entities
                        filter:
                          include:
                            - entity_id: "switch.living_area_*bypass"
                        card:
                          type: entities

ekkesa avatar Jul 07 '22 18:07 ekkesa