mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Move config out of subfolder
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
aqara_tvoc_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
entities:
|
||||
- sensor.aqara_tvoc_voc
|
||||
cache: false
|
||||
group_by: hour
|
||||
icon: "mdi:molecule"
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: true
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Temperature
|
||||
entities:
|
||||
- sensor.aqara_tvoc_temperature
|
||||
font_size: 75
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 6
|
||||
hours_to_show: 72
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Humidity
|
||||
entities:
|
||||
- sensor.aqara_tvoc_humidity
|
||||
font_size: 75
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 6
|
||||
hours_to_show: 72
|
||||
@@ -0,0 +1,27 @@
|
||||
bedroom_air_quality_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
entities:
|
||||
- sensor.purifier_air_quality
|
||||
cache: false
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: true
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Allergens
|
||||
entities:
|
||||
- sensor.purifier_allergens
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: tru
|
||||
@@ -0,0 +1,22 @@
|
||||
bedroom_allergen_index_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
entities:
|
||||
- sensor.purifier_allergens
|
||||
cache: false
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: true
|
||||
color_thresholds:
|
||||
- value: 2
|
||||
color: "var(--color-green)"
|
||||
- value: 4
|
||||
color: "var(--color-blue)"
|
||||
- value: 5
|
||||
color: "var(--color-red)"
|
||||
@@ -0,0 +1,31 @@
|
||||
bedroom_climate_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: climate_card
|
||||
variables:
|
||||
- main_entity: sensor.bedroom_weather_temperature
|
||||
- main_name: Humidity
|
||||
- left_entity: sensor.bedroom_weather_humidity
|
||||
- left-name: Temperature
|
||||
- right_entity: sensor.bedroom_weather_pressure
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Air Quality
|
||||
entities:
|
||||
- sensor.purifier_air_quality
|
||||
font_size: 75
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 6
|
||||
hours_to_show: 72
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Allergens
|
||||
entities:
|
||||
- sensor.purifier_allergens
|
||||
font_size: 75
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 6
|
||||
hours_to_show: 72
|
||||
@@ -0,0 +1,29 @@
|
||||
bedroom_humidity_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: custom:decluttering-card
|
||||
template: climate_card
|
||||
variables:
|
||||
- main_entity: sensor.bedroom_weather_humidity
|
||||
- left_entity: sensor.bedroom_weather_temperature
|
||||
- right_entity: sensor.bedroom_weather_pressure
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Air Quality
|
||||
entities:
|
||||
- sensor.purifier_air_quality
|
||||
font_size: 75
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 6
|
||||
hours_to_show: 72
|
||||
- type: "custom:mini-graph-card"
|
||||
name: Allergens
|
||||
entities:
|
||||
- sensor.purifier_allergens
|
||||
font_size: 75
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 6
|
||||
hours_to_show: 72
|
||||
@@ -0,0 +1,33 @@
|
||||
brita_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- input_number.brita_remaining_liters
|
||||
- input_datetime.brita_next_change
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [v3_button, v3_popup_button]
|
||||
name: New filter
|
||||
entity: script.brita_new_filter
|
||||
show_state: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
styles:
|
||||
card:
|
||||
- margin-left: 8px
|
||||
|
||||
- type: custom:button-card
|
||||
template: [v3_button, v3_popup_button]
|
||||
name: Pour water
|
||||
entity: script.brita_pour_water
|
||||
show_state: false
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: [v3_button, v3_popup_button]
|
||||
name: Filter
|
||||
entity: binary_sensor.brita_should_change_filter
|
||||
@@ -0,0 +1,267 @@
|
||||
bulsatcom_remote_card:
|
||||
card:
|
||||
type: picture-elements
|
||||
image: /local/images/remotes/bulsatcom.png
|
||||
elements:
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_power
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 6.8%
|
||||
top: 6.6%
|
||||
left: 22%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_mute
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 6.8%
|
||||
top: 6.6%
|
||||
left: 81%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_ok
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 42.1%
|
||||
height: 12%
|
||||
top: 23%
|
||||
left: 51.2%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_left
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 18%
|
||||
height: 5%
|
||||
top: 23%
|
||||
left: 19%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_right
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 18%
|
||||
height: 5%
|
||||
top: 23%
|
||||
left: 83.8%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_up
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 50%
|
||||
height: 4%
|
||||
top: 14%
|
||||
left: 51%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_down
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 50%
|
||||
height: 4%
|
||||
top: 32%
|
||||
left: 51%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_back
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 6.8%
|
||||
top: 39%
|
||||
left: 21.2%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_menu
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 28%
|
||||
height: 8%
|
||||
top: 43.5%
|
||||
left: 51.4%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_info
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 6.8%
|
||||
top: 39%
|
||||
left: 81.2%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_volume_down
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 36.9%
|
||||
height: 6.2%
|
||||
top: 54%
|
||||
left: 29.4%
|
||||
border-top-left-radius: 45%
|
||||
border-bottom-left-radius: 45%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_volume_up
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 36.9%
|
||||
height: 6.2%
|
||||
top: 54%
|
||||
left: 72%
|
||||
border-top-right-radius: 45%
|
||||
border-bottom-right-radius: 45%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_1
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 62.5%
|
||||
left: 20.5%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_2
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 62.5%
|
||||
left: 51%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_3
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 62.5%
|
||||
left: 81.5%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_4
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 69.5%
|
||||
left: 20.5%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_5
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 69.5%
|
||||
left: 51%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_6
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 69.5%
|
||||
left: 81.5%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_7
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 76.5%
|
||||
left: 21.5%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_8
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 76.5%
|
||||
left: 51%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_9
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 76.5%
|
||||
left: 81.5%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_epg
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 83.5%
|
||||
left: 21.5%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_0
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 83.5%
|
||||
left: 51%
|
||||
border-radius: 40%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.bulsatcom_clock
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 22.2%
|
||||
height: 4%
|
||||
top: 83.5%
|
||||
left: 81.5%
|
||||
border-radius: 40%
|
||||
@@ -0,0 +1,119 @@
|
||||
cadmium_card:
|
||||
v3_xs_button:
|
||||
- title:
|
||||
- icon:
|
||||
card:
|
||||
type: entities
|
||||
style: |
|
||||
#states > div:last-child {
|
||||
margin: 0 -16px -16px -16px;
|
||||
}
|
||||
title: "[[title]]"
|
||||
icon: "[[icon]]"
|
||||
entities:
|
||||
- type: custom:hui-vertical-stack-card
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: switch.cadmium
|
||||
name: Power
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: script.cadmium_lock
|
||||
name: Lock
|
||||
icon: mdi:lock
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: script.cadmium_displays_on
|
||||
name: Displ. on
|
||||
icon: mdi:monitor-dashboard
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: script.cadmium_displays_off
|
||||
name: Displ. off
|
||||
icon: mdi:monitor-off
|
||||
tap_action:
|
||||
action: toggle
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: script.cadmium_refresh
|
||||
name: Refresh
|
||||
icon: mdi:refresh
|
||||
tap_action:
|
||||
action: toggle
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
style:
|
||||
"#states div": |
|
||||
mini-graph-card {
|
||||
margin: 0 -15px -15px
|
||||
}
|
||||
|
||||
entities:
|
||||
- sensor.cadmium_uptime
|
||||
- sensor.cadmium_idle_time
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:decluttering-card
|
||||
template: percentage_card
|
||||
variables:
|
||||
- name: Memory
|
||||
- entity: sensor.cadmium_memory_used_percent
|
||||
- icon: mdi:memory
|
||||
- orange: 70
|
||||
- red: 85
|
||||
entities:
|
||||
- entity: sensor.cadmium_memory_used
|
||||
name: Memory used
|
||||
- entity: sensor.cadmium_memory_available
|
||||
name: Memory available
|
||||
- entity: sensor.cadmium_memory_total
|
||||
name: Memory total
|
||||
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:decluttering-card
|
||||
template: percentage_card
|
||||
variables:
|
||||
- name: "C: Drive"
|
||||
- entity: sensor.cadmium_c_usage
|
||||
- icon: mdi:harddisk
|
||||
- orange: 70
|
||||
- red: 85
|
||||
entities:
|
||||
- entity: sensor.cadmium_c_used_space
|
||||
name: "C: Drive used"
|
||||
- entity: sensor.cadmium_c_free_space
|
||||
name: "C: Drive available"
|
||||
- entity: sensor.cadmium_c_total_space
|
||||
name: "C: Drive total"
|
||||
- type: custom:mini-graph-card
|
||||
align_state: left
|
||||
entities:
|
||||
- color: var(--accent-color)
|
||||
entity: sensor.cadmium_cpu_usage
|
||||
- color: green
|
||||
entity: sensor.cadmium_memory_used_percent
|
||||
points_per_hour: 1
|
||||
line_width: 3
|
||||
hour24: true
|
||||
hours_to_show: 24
|
||||
group_by: hour
|
||||
show:
|
||||
fill: fade
|
||||
icon: true
|
||||
name: true
|
||||
state: true
|
||||
name_adaptive_color: false
|
||||
labels: hover
|
||||
legend: false
|
||||
tap_action:
|
||||
action: none
|
||||
@@ -0,0 +1,40 @@
|
||||
climate_card:
|
||||
default:
|
||||
- main_name: "Temperature"
|
||||
- left_name: "Humidity"
|
||||
- right_name: "Pressure"
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: "[[main_name]]"
|
||||
entities:
|
||||
- "[[main_entity]]"
|
||||
cache: false
|
||||
group_by: hour
|
||||
hours_to_show: 72
|
||||
line_width: 2
|
||||
show:
|
||||
average: true
|
||||
extrema: true
|
||||
fill: true
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:mini-graph-card"
|
||||
name: "[[left_name]]"
|
||||
entities:
|
||||
- "[[left_entity]]"
|
||||
font_size: 75
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 6
|
||||
hours_to_show: 72
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
name: "[[right_name]]"
|
||||
entities:
|
||||
- "[[right_entity]]"
|
||||
font_size: 75
|
||||
line_color: "var(--color-blue)"
|
||||
line_width: 6
|
||||
hours_to_show: 72
|
||||
@@ -0,0 +1,107 @@
|
||||
hdmi_switch_remote_card:
|
||||
card:
|
||||
type: picture-elements
|
||||
image: /local/images/remotes/hdmi_switch_new.png
|
||||
elements:
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_on
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 14.4%
|
||||
left: 82%
|
||||
border-radius: 50%
|
||||
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_off
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 14%
|
||||
left: 14.1%
|
||||
border-radius: 50%
|
||||
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_1
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 25.9%
|
||||
left: 13.5%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_2
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 25.9%
|
||||
left: 83%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_3
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 38.4%
|
||||
left: 49%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_4
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 50.3%
|
||||
left: 13.5%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_5
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 50.3%
|
||||
left: 83%
|
||||
border-radius: 50%
|
||||
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_next
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 62.7%
|
||||
left: 49%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_prev
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 75.8%
|
||||
left: 49%
|
||||
border-radius: 50%
|
||||
@@ -0,0 +1,213 @@
|
||||
mercury_card:
|
||||
default:
|
||||
- title:
|
||||
card:
|
||||
type: entities
|
||||
style: |
|
||||
#states > div:last-child {
|
||||
margin: 0 -16px -16px -16px;
|
||||
}
|
||||
title: "[[title]]"
|
||||
icon: "[[icon]]"
|
||||
entities:
|
||||
- type: custom:hui-horizontal-stack-card
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: switch.cadmium
|
||||
icon: mdi:firefox
|
||||
name: "Open UI"
|
||||
tap_action:
|
||||
action: url
|
||||
url_path: https://home.gar.dev
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: update.mercury_dsm_update
|
||||
name: Update?
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: button.mercury_reboot
|
||||
name: Reboot
|
||||
- type: custom:button-card
|
||||
template: v3_xs_button
|
||||
entity: button.mercury_shutdown
|
||||
name: Shutdown
|
||||
|
||||
- entity: sensor.mercury_temperature
|
||||
name: Temperature
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:decluttering-card
|
||||
template: percentage_card
|
||||
variables:
|
||||
- name: CPU
|
||||
- entity: sensor.mercury_cpu_utilization_total
|
||||
- icon: mdi:chip
|
||||
- orange: 40
|
||||
- red: 60
|
||||
entities:
|
||||
- entity: sensor.mercury_cpu_utilization_user
|
||||
name: CPU load (User)
|
||||
- entity: sensor.mercury_cpu_load_average_5_min
|
||||
name: CPU load (5 min)
|
||||
- entity: sensor.mercury_cpu_load_average_15_min
|
||||
name: CPU load (15 min)
|
||||
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:decluttering-card
|
||||
template: percentage_card
|
||||
variables:
|
||||
- name: Memory
|
||||
- entity: sensor.mercury_memory_usage_real
|
||||
- icon: mdi:memory
|
||||
- orange: 70
|
||||
- red: 85
|
||||
entities:
|
||||
- entity: sensor.mercury_memory_available_real
|
||||
name: Memory available (Real)
|
||||
- entity: sensor.mercury_memory_total_real
|
||||
name: Memory total (Real)
|
||||
- entity: sensor.mercury_memory_available_swap
|
||||
name: Memory available (Swap)
|
||||
- entity: sensor.mercury_memory_total_swap
|
||||
name: Memory total (Swap)
|
||||
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:decluttering-card
|
||||
template: percentage_card
|
||||
variables:
|
||||
- name: Volume 1
|
||||
- entity: sensor.mercury_volume_1_volume_used
|
||||
- icon: mdi:harddisk
|
||||
- orange: 85
|
||||
- red: 90
|
||||
entities:
|
||||
- entity: sensor.mercury_volume_1_status
|
||||
name: Status
|
||||
- entity: sensor.mercury_volume_1_average_disk_temp
|
||||
name: Average temperature
|
||||
- entity: sensor.mercury_volume_1_used_space
|
||||
name: Used space
|
||||
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
entity: sensor.mercury_drive_1_status
|
||||
name: Drive 1
|
||||
entities:
|
||||
- entity: sensor.mercury_drive_1_temperature
|
||||
name: Temperature
|
||||
- entity: binary_sensor.mercury_drive_1_below_min_remaining_life
|
||||
name: Below minimum remaining life
|
||||
- entity: binary_sensor.mercury_drive_1_exceeded_max_bad_sectors
|
||||
name: Exceeded max bad sectors
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
entity: sensor.mercury_drive_2_status
|
||||
name: Drive 2
|
||||
entities:
|
||||
- entity: sensor.mercury_drive_2_temperature
|
||||
name: Temperature
|
||||
- entity: binary_sensor.mercury_drive_2_below_min_remaining_life
|
||||
name: Below minimum remaining life
|
||||
- entity: binary_sensor.mercury_drive_2_exceeded_max_bad_sectors
|
||||
name: Exceeded max bad sectors
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
entity: sensor.mercury_drive_3_status
|
||||
name: Drive 3
|
||||
entities:
|
||||
- entity: sensor.mercury_drive_3_temperature
|
||||
name: Temperature
|
||||
- entity: binary_sensor.mercury_drive_3_below_min_remaining_life
|
||||
name: Below minimum remaining life
|
||||
- entity: binary_sensor.mercury_drive_3_exceeded_max_bad_sectors
|
||||
name: Exceeded max bad sectors
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
entity: sensor.mercury_drive_4_status
|
||||
name: Drive 4
|
||||
entities:
|
||||
- entity: sensor.mercury_drive_4_temperature
|
||||
name: Temperature
|
||||
- entity: binary_sensor.mercury_drive_4_below_min_remaining_life
|
||||
name: Below minimum remaining life
|
||||
- entity: binary_sensor.mercury_drive_4_exceeded_max_bad_sectors
|
||||
name: Exceeded max bad sectors
|
||||
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
entity: sensor.mercury_cache_device_1_status
|
||||
name: Cache
|
||||
entities:
|
||||
- entity: sensor.mercury_cache_device_1_temperature
|
||||
name: Temperature
|
||||
- entity: binary_sensor.mercury_cache_device_1_below_min_remaining_life
|
||||
name: Below minimum remaining life
|
||||
- entity: binary_sensor.mercury_cache_device_1_exceeded_max_bad_sectors
|
||||
name: Exceeded max bad sectors
|
||||
|
||||
- type: custom:hui-horizontal-stack-card
|
||||
cards:
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: sensor.mercury_download_throughput
|
||||
name: Down
|
||||
style: |
|
||||
:host {
|
||||
--paper-item-icon-color: green;
|
||||
}
|
||||
style: &network-indicator-style
|
||||
.: |
|
||||
ha-card {
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
margin-top: -1.4em;
|
||||
max-height: 1px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
"#states div":
|
||||
hui-sensor-entity-row:
|
||||
$:
|
||||
hui-generic-entity-row:
|
||||
$: |
|
||||
.info {
|
||||
margin-left: 0 !important;
|
||||
flex-grow: 0 !important;
|
||||
text-overflow: unset !important;
|
||||
white-space: unset !important;
|
||||
}
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: sensor.mercury_upload_throughput
|
||||
name: Up
|
||||
style: |
|
||||
:host {
|
||||
--paper-item-icon-color: var(--accent-color);
|
||||
}
|
||||
style: *network-indicator-style
|
||||
|
||||
- type: custom:mini-graph-card
|
||||
align_state: left
|
||||
entities:
|
||||
- color: var(--accent-color)
|
||||
entity: sensor.mercury_upload_throughput
|
||||
- color: green
|
||||
entity: sensor.mercury_download_throughput
|
||||
group: false
|
||||
points_per_hour: 1
|
||||
line_width: 3
|
||||
hour24: true
|
||||
hours_to_show: 24
|
||||
show:
|
||||
fill: fade
|
||||
icon: false
|
||||
name: false
|
||||
state: false
|
||||
name_adaptive_color: true
|
||||
labels: hover
|
||||
legend: false
|
||||
tap_action:
|
||||
action: none
|
||||
@@ -0,0 +1,64 @@
|
||||
network_card:
|
||||
default:
|
||||
- title:
|
||||
- icon:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
title: "[[title]]"
|
||||
icon: "[[icon]]"
|
||||
entities:
|
||||
- type: custom:template-entity-row
|
||||
name: Open network tab
|
||||
icon: mdi:server-network
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /lovelace-main/network
|
||||
- type: custom:template-entity-row
|
||||
name: Open admin UI
|
||||
icon: mdi:firefox
|
||||
tap_action:
|
||||
action: url
|
||||
url_path: http://router.lan
|
||||
- type: "custom:mini-graph-card"
|
||||
animate: true
|
||||
points_per_hour: 1
|
||||
hours_to_show: 72
|
||||
show:
|
||||
graph: bar
|
||||
average: true
|
||||
extrema: true
|
||||
entities:
|
||||
- entity: sensor.fast_com_download
|
||||
|
||||
- type: "custom:mini-graph-card"
|
||||
animate: true
|
||||
points_per_hour: 1
|
||||
hours_to_show: 72
|
||||
show:
|
||||
graph: bar
|
||||
average: true
|
||||
extrema: true
|
||||
entities:
|
||||
- entity: sensor.speedtest_download
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mini-graph-card
|
||||
points_per_hour: 0.3
|
||||
hours_to_show: 72
|
||||
font_size: 75
|
||||
line_color: var(--accent-color)
|
||||
line_width: 6
|
||||
entities:
|
||||
- sensor.speedtest_upload
|
||||
|
||||
- type: custom:mini-graph-card
|
||||
font_size: 75
|
||||
points_per_hour: 0.3
|
||||
hours_to_show: 72
|
||||
line_color: var(--accent-color)
|
||||
line_width: 6
|
||||
entities:
|
||||
- sensor.speedtest_ping
|
||||
@@ -0,0 +1,93 @@
|
||||
old_hdmi_switch_remote_card:
|
||||
card:
|
||||
type: picture-elements
|
||||
image: /local/images/remotes/hdmi_switcher.png
|
||||
elements:
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_1
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 9.6%
|
||||
left: 19.5%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_2
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 9.6%
|
||||
left: 50%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_3
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 9.6%
|
||||
left: 80.5%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_4
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 23%
|
||||
left: 19.5%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_next
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 23%
|
||||
left: 80.5%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_pip
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 63.7%
|
||||
left: 19.5%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_sel
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 63.7%
|
||||
left: 50%
|
||||
border-radius: 50%
|
||||
- type: image
|
||||
image: /local/images/floorplan/transparent.png
|
||||
entity: script.hdmi_switch_enter
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
width: 23.6%
|
||||
height: 11.8%
|
||||
top: 63.7%
|
||||
left: 80.5%
|
||||
border-radius: 50%
|
||||
@@ -0,0 +1,100 @@
|
||||
philips_airpurifier_card:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [v3_button_purifier, v3_popup_button]
|
||||
entity: fan.philips_airpurifier
|
||||
styles:
|
||||
card:
|
||||
- margin-left: 8px
|
||||
- type: custom:button-card
|
||||
template: [v3_button, v3_popup_button]
|
||||
entity: sensor.purifier_speed
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_next
|
||||
service_data:
|
||||
entity_id: input_select.purifier_speed
|
||||
- type: custom:button-card
|
||||
template: [v3_button, v3_popup_button]
|
||||
entity: sensor.purifier_preset_mode
|
||||
state_display: "[[[ return entity.state.charAt(0).toUpperCase() + entity.state.slice(1); ]]]"
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_next
|
||||
service_data:
|
||||
entity_id: input_select.purifier_preset_mode
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:button-card
|
||||
template: [v3_button, v3_popup_button]
|
||||
entity: sensor.purifier_function
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.purifier_toggle_function
|
||||
styles:
|
||||
card:
|
||||
- margin-left: 8px
|
||||
|
||||
- type: custom:button-card
|
||||
template: [v3_button, v3_popup_button]
|
||||
entity: sensor.purifier_target_humidity
|
||||
variables:
|
||||
value_has_error: |
|
||||
[[[
|
||||
return states['binary_sensor.purifier_out_of_water'].state === 'on';
|
||||
]]]
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: input_select.select_next
|
||||
service_data:
|
||||
entity_id: input_select.purifier_target_humidity
|
||||
|
||||
- type: custom:button-card
|
||||
template: [v3_button, v3_popup_button]
|
||||
entity: binary_sensor.purifier_filter_needs_change
|
||||
variables:
|
||||
value_has_error: "[[[ return entity.state === 'on' ]]]"
|
||||
|
||||
- type: entities
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:template-entity-row
|
||||
name: Sensors
|
||||
icon: mdi:air-purifier
|
||||
entities:
|
||||
- sensor.purifier_air_quality
|
||||
- sensor.purifier_allergens
|
||||
- sensor.purifier_temperature
|
||||
- sensor.purifier_humidity
|
||||
- binary_sensor.purifier_out_of_water
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:template-entity-row
|
||||
name: Attributes
|
||||
icon: mdi:view-headline
|
||||
entities:
|
||||
- sensor.purifier_speed
|
||||
- sensor.purifier_preset_mode
|
||||
- sensor.purifier_function
|
||||
- sensor.purifier_target_humidity
|
||||
- sensor.purifier_brightness
|
||||
- sensor.purifier_timer
|
||||
- sensor.purifier_time_remaining
|
||||
- binary_sensor.purifier_child_lock
|
||||
- binary_sensor.purifier_display_light
|
||||
- type: custom:fold-entity-row
|
||||
head:
|
||||
type: custom:template-entity-row
|
||||
name: Filters
|
||||
icon: mdi:air-filter
|
||||
entities:
|
||||
- sensor.purifier_pre_filter
|
||||
- sensor.purifier_hepa_filter
|
||||
- sensor.purifier_carbon_filter
|
||||
- sensor.purifier_wick_filter
|
||||
@@ -0,0 +1,57 @@
|
||||
pi_hole_card:
|
||||
default:
|
||||
- title:
|
||||
- icon:
|
||||
card:
|
||||
type: vertical-stack
|
||||
cards:
|
||||
- type: entities
|
||||
title: "[[title]]"
|
||||
icon: "[[icon]]"
|
||||
entities:
|
||||
- entity: binary_sensor.pi_hole_enabled
|
||||
name: Status
|
||||
- entity: switch.pihole_temp_disable
|
||||
name: Pause for 5 mins
|
||||
- type: custom:template-entity-row
|
||||
name: Open admin UI
|
||||
icon: mdi:firefox
|
||||
tap_action:
|
||||
action: url
|
||||
url_path: http://cobalt.lan:8081/admin
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mini-graph-card
|
||||
name: Total queries
|
||||
font_size: 75
|
||||
line_color: var(--accent-color)
|
||||
line_width: 6
|
||||
entities:
|
||||
- sensor.pi_hole_dns_queries_today
|
||||
|
||||
- type: custom:mini-graph-card
|
||||
name: Queries blocked
|
||||
font_size: 75
|
||||
line_color: var(--accent-color)
|
||||
line_width: 6
|
||||
entities:
|
||||
- sensor.pi_hole_ads_blocked_today
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mini-graph-card
|
||||
name: Percent blocked
|
||||
font_size: 75
|
||||
line_color: var(--accent-color)
|
||||
line_width: 6
|
||||
entities:
|
||||
- sensor.pi_hole_ads_percentage_blocked_today
|
||||
|
||||
- type: custom:mini-graph-card
|
||||
name: Seen clients
|
||||
font_size: 75
|
||||
line_color: var(--accent-color)
|
||||
line_width: 6
|
||||
entities:
|
||||
- sensor.pi_hole_seen_clients
|
||||
Reference in New Issue
Block a user