- Introduced a new lock file for Home Assistant run state management. - Updated automations.yaml to enhance doorbell notification handling and streamline automation sequences. - Refactored scripts.yaml to unify mobile notification actions. - Added new KNX configurations for color control and additional switches. - Created a new mobile dashboard configuration for improved user interface. - Added multiple new dark icons for various integrations to enhance visual representation.
99 lines
2.4 KiB
YAML
99 lines
2.4 KiB
YAML
type: custom:bubble-card
|
|
card_type: button
|
|
button_type: state
|
|
entity: sensor.mobile_dashboard_weather
|
|
name: w i e r d e r
|
|
styles: |-
|
|
.bubble-button-card-container {
|
|
background: none;
|
|
font-size: 15px !important;
|
|
margin-left: 2px;
|
|
}
|
|
.bubble-icon-container {
|
|
background: none;
|
|
border-radius: 0;
|
|
}
|
|
.bubble-sub-button {
|
|
font-size: 11px !important;
|
|
margin-right: -12px;
|
|
}
|
|
tap_action:
|
|
action: none
|
|
double_tap_action:
|
|
action: none
|
|
hold_action:
|
|
action: none
|
|
card_layout: large-2-rows
|
|
sub_button:
|
|
- entity: sensor.sh15t_battery_level_soc
|
|
name: PV Battery
|
|
icon: mdi:battery
|
|
styles: |-
|
|
{% set battery_level = states('sensor.sh15t_battery_level_soc') | float %}
|
|
{% if battery_level > 80 %}
|
|
icon.setAttribute("icon", "mdi:battery");
|
|
{% elif battery_level > 60 %}
|
|
icon.setAttribute("icon", "mdi:battery-60");
|
|
{% elif battery_level > 40 %}
|
|
icon.setAttribute("icon", "mdi:battery-40");
|
|
{% elif battery_level > 20 %}
|
|
icon.setAttribute("icon", "mdi:battery-20");
|
|
{% elif battery_level > 10 %}
|
|
icon.setAttribute("icon", "mdi:battery-10");
|
|
{% else %}
|
|
icon.setAttribute("icon", "mdi:battery-alert");
|
|
{% endif %}
|
|
show_icon: true
|
|
show_background: false
|
|
show_attribute: false
|
|
show_last_changed: false
|
|
show_last_updated: false
|
|
show_state: true
|
|
show_name: false
|
|
- entity: sensor.sh15t_total_dc_power
|
|
state_background: false
|
|
show_background: false
|
|
show_name: false
|
|
name: ⚡️
|
|
show_last_changed: false
|
|
show_attribute: false
|
|
attribute: state_class
|
|
show_icon: true
|
|
show_state: true
|
|
icon: mdi:flash
|
|
- entity: sensor.tablet_og1_batterie
|
|
show_icon: true
|
|
show_name: false
|
|
show_state: true
|
|
show_background: false
|
|
name: 🖥️
|
|
visibility:
|
|
- condition: user
|
|
users:
|
|
- d257ce93c51e4a1e864bcae1c38bffd9
|
|
icon: mdi:tablet-cellphone
|
|
- entity: input_select.alarmpanel
|
|
name: 🔒
|
|
state_background: false
|
|
show_background: false
|
|
show_icon: true
|
|
show_name: false
|
|
show_state: false
|
|
show_last_changed: false
|
|
show_attribute: false
|
|
show_last_updated: false
|
|
icon: mdi:shield
|
|
show_arrow: false
|
|
show_attribute: false
|
|
show_state: true
|
|
attribute: attribution
|
|
rows: "1"
|
|
scrolling_effect: false
|
|
show_icon: true
|
|
force_icon: false
|
|
show_last_changed: false
|
|
show_last_updated: false
|
|
grid_options:
|
|
columns: full
|
|
modules: []
|