9 Commits

View File

@ -562,9 +562,9 @@ views:
- type: custom:decluttering-card
template: main_button_name
variables:
- name: Briefings
- icon: mdi:text
- navigation_path: '#briefings'
- name: Batteries
- icon: mdi:battery-charging
- navigation_path: '#batteries'
- columns: 2
grid_options:
columns: 6
@ -572,9 +572,9 @@ views:
- type: custom:decluttering-card
template: main_button_name
variables:
- name: Batteries
- icon: mdi:battery-charging
- navigation_path: '#batteries'
- name: Messaging
- icon: mdi:bullhorn
- navigation_path: '#messaging'
- columns: 2
grid_options:
columns: 6
@ -644,16 +644,6 @@ views:
.is-on .bubble-icon {
opacity: 1 !important;
}
- type: custom:decluttering-card
template: main_button_name
variables:
- name: Messaging
- icon: mdi:bullhorn
- navigation_path: '#messaging'
- columns: 2
grid_options:
columns: 6
rows: auto
- type: custom:decluttering-card
template: main_button_name
variables:
@ -3531,71 +3521,6 @@ views:
- entity: script.evening_on_first_floor
- entity: script.evening_on_second_floor
- entity: script.emma_rainbow_lights
- type: vertical-stack
cards:
- type: custom:bubble-card
card_type: pop-up
hash: '#briefings'
button_type: name
name: Briefings
icon: mdi:text
- type: custom:mushroom-template-card
primary: Hello, {{user}}
secondary: >-
{% from 'weather.jinja' import weatherReport %} {% from
'formatting.jinja' import cleanup %} {% import 'status.jinja'
as status %}
{{ weatherReport('full','text') }}
--- Indoor Temps ---
Average: {{
states('sensor.average_room_temperature',with_unit=true) }}
Coldest: {{
state_attr('sensor.coldest_room_temperature','room') }}, {{
states('sensor.coldest_room_temperature',with_unit=true) }}
Warmest: {{
state_attr('sensor.warmest_room_temperature','room') }}, {{
states('sensor.warmest_room_temperature',with_unit=true) }}
--- Lights ---
Average: {{
states('sensor.average_room_illuminance',with_unit=true) }}
Dimmest: {{ state_attr('sensor.dimmest_room','room') }}, {{
states('sensor.dimmest_room',with_unit=true) }}
Brightest: {{ state_attr('sensor.brightest_room','room') }},
{{ states('sensor.brightest_room',with_unit=true) }}
-----------------
{{ cleanup(status.tony_status_report('full','text')) }}
{{ cleanup(status.tina_status_report('full','text')) }}
{{ cleanup(status.kallen_status_report('full','text')) }}
{{ cleanup(status.emma_status_report('full','text')) }}
{{ cleanup(status.house_status_report('full','text')) }}
{{ cleanup(status.laundry_report('full','text')) }}
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
multiline_secondary: true
fill_container: false
- type: vertical-stack
cards:
- type: custom:bubble-card
@ -3805,6 +3730,271 @@ views:
- condition: state
entity: binary_sensor.raining
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.tony_morning_meds_taken') }}
icon: mdi:medication
color: ''
entity: input_datetime.tony_morning_meds_taken
label: Tony Morning Meds
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.tony_morning_meds_taken
state: 'on'
- condition: state
entity: input_boolean.tony_awake
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.tony_afternoon_meds_taken') }}
icon: mdi:medication
color: ''
entity: input_datetime.tony_morning_meds_taken
label: Tony Afternoon Meds
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.tony_afternoon_meds_taken
state: 'on'
- condition: state
entity: input_boolean.tony_awake
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.tony_night_meds_taken') }}
icon: mdi:medication
color: ''
entity: input_datetime.tony_morning_meds_taken
label: Tony Night Meds
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.tony_night_meds_taken
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.tina_morning_meds_taken') }}
icon: mdi:medication
color: ''
entity: input_datetime.tina_morning_meds_taken
label: Tina Morning Meds
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.tina_morning_meds_taken
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.tina_night_meds_taken') }}
icon: mdi:medication
color: ''
entity: input_datetime.tina_night_meds_taken
label: Tina Night Meds
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.tina_night_meds_taken
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.kallen_morning_meds_taken') }}
icon: mdi:medication
color: ''
entity: input_datetime.kallen_morning_meds_taken
label: Kallen Morning Meds
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- 879b4c04e32841b3ad1d2763a11b4e70
- condition: state
entity: input_boolean.kallen_morning_meds_taken
state: 'on'
- condition: state
entity: input_boolean.kallen_sleeping
state: 'off'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.kallen_night_meds_taken') }}
icon: mdi:medication
color: ''
entity: input_datetime.kallen_night_meds_taken
label: Kallen Night Meds
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- 879b4c04e32841b3ad1d2763a11b4e70
- condition: state
entity: input_boolean.kallen_night_meds_taken
state: 'on'
- condition: state
entity: input_boolean.kallen_sleeping
state: 'on'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.emma_awake_at') }}
icon: mdi:weather-sunset-up
color: ''
entity: input_datetime.emma_awake_at
label: Emma Awake At
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- 879b4c04e32841b3ad1d2763a11b4e70
- condition: state
entity: input_boolean.emma_sleeping
state: 'off'
- type: custom:mushroom-template-badge
content: |-
{% from 'time.jinja' import input_datetime_read %}
{{ input_datetime_read('input_datetime.emma_asleep_at') }}
icon: mdi:sleep
color: ''
entity: input_datetime.emma_asleep_at
label: Emma Asleep At
tap_action:
action: none
hold_action:
action: none
double_tap_action:
action: none
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- 879b4c04e32841b3ad1d2763a11b4e70
- condition: state
entity: input_boolean.emma_sleeping
state: 'on'
header:
card:
type: markdown
text_only: true
content: >-
{% from 'weather.jinja' import weatherReport %} {% from
'formatting.jinja' import cleanup %} {% import 'status.jinja' as
status %}
{% from 'time.jinja' import current_date_readout, current_time %}
# Hello {{ user }}
It is currently {{ cleanup(current_time("time",12)) }} on {{
cleanup(current_date_readout()) }}
{{ weatherReport('full','dashboard') }}
---
--- Climate ---
Average: {{ states('sensor.average_room_temperature',with_unit=true)
}}
Coldest: {{ state_attr('sensor.coldest_room_temperature','room') }},
{{ states('sensor.coldest_room_temperature',with_unit=true) }}
Warmest: {{ state_attr('sensor.warmest_room_temperature','room') }},
{{ states('sensor.warmest_room_temperature',with_unit=true) }}
---
--- Lights ---
Lights On: {{ states('sensor.current_lights_on') }}
Average Lux: {{
states('sensor.average_room_illuminance',with_unit=true) }}
Dimmest: {{ state_attr('sensor.dimmest_room','room') }}, {{
states('sensor.dimmest_room',with_unit=true) }}
Brightest: {{ state_attr('sensor.brightest_room','room') }}, {{
states('sensor.brightest_room',with_unit=true) }}
layout: responsive
badges_position: bottom
- title: Old
path: old
icon: ''