75 lines
2.8 KiB
YAML
75 lines
2.8 KiB
YAML
---
|
|
title: Applications
|
|
icon: mdi:application-cog
|
|
panel: true
|
|
visible:
|
|
- user: 1614b22cbef54f979741cf8a6b3413ec # Alex
|
|
cards:
|
|
- type: custom:layout-card
|
|
layout_type: custom:vertical-layout
|
|
layout:
|
|
max_cols: 3
|
|
cards:
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: entities
|
|
title: Humidity Suppression
|
|
entities:
|
|
- input_boolean.app_climate_humidity_suppression_status
|
|
- input_number.app_climate_humidity_suppression_humidity_level
|
|
- input_datetime.app_humidity_suppression_time_start
|
|
- input_datetime.app_humidity_suppression_time_end
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: entities
|
|
title: Voice Assistants Night mode
|
|
entities:
|
|
- input_boolean.app_va_night_mode_status
|
|
- input_datetime.app_va_night_mode_time_start
|
|
- input_datetime.app_va_night_mode_time_end
|
|
- type: custom:layout-break
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:auto-entities
|
|
card:
|
|
type: entities
|
|
filter:
|
|
template: "{{ states.light | rejectattr('attributes.color_mode', '==', 'onoff') | rejectattr('attributes.entity_id', 'defined') | selectattr('state', '==', 'on') | map(attribute='entity_id') | list }}"
|
|
- type: markdown
|
|
content: |
|
|
{% for device in states.light | rejectattr('attributes.color_mode', '==', 'onoff') | rejectattr('attributes.entity_id', 'defined') | selectattr('state', '==', 'on') | map(attribute='entity_id') | list %}
|
|
{{ device }}
|
|
{% else %}
|
|
No On Lights
|
|
{% endfor %}
|
|
- type: markdown
|
|
content: |
|
|
{% for device in states | selectattr('state', '==', 'unavailable') | map(attribute='entity_id') | list %}
|
|
{{ device }}
|
|
{% else %}
|
|
No Unavalable Devices
|
|
{% endfor %}
|
|
- type: custom:layout-break
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: custom:battery-state-card
|
|
# title: "All Battery"
|
|
filter:
|
|
include:
|
|
- name: "attributes.device_class"
|
|
value: "battery"
|
|
exclude:
|
|
- name: "entity_id"
|
|
value: "binary_sensor.*"
|
|
- name: "entity_id"
|
|
value: "sensor.shutoff.*"
|
|
sort:
|
|
by: "state"
|
|
bulk_rename:
|
|
- from: "Battery level" # simple string replace (note: "to" is not required if you want to remove string)
|
|
to: ""
|
|
- from: "Battery" # simple string replace (note: "to" is not required if you want to remove string)
|
|
to: ""
|
|
collapse:
|
|
- name: 'Door Sensors (Qt: {count})'
|