diff --git a/README.md b/README.md index 97699468..41cee76a 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ I regularly update my configuration files. You can check my current Home Assista Description | value -- | -- Number of entities | 477 -Number of sensors | 244 +Number of sensors | 251 ## My installed extensions: @@ -41,22 +41,13 @@ Number of sensors | 244 - [Waste Collection Schedule](https://github.com/mampfes/hacs_waste_collection_schedule) ### Lovelace plugins -- [Apexcharts Card](https://github.com/RomRider/apexcharts-card) -- [Bar Card](https://github.com/custom-cards/bar-card) - [Card Mod](https://github.com/thomasloven/lovelace-card-mod) -- [Comfortable Environment Card](https://github.com/argaar/comfortable-environment-card) -- [Garbage Collection Card](https://github.com/amaximus/garbage-collection-card) -- [Layout Card](https://github.com/thomasloven/lovelace-layout-card) - [Mini Graph Card](https://github.com/kalkih/mini-graph-card) - [Mushroom](https://github.com/piitaya/lovelace-mushroom) - [Simple Weather Card](https://github.com/kalkih/simple-weather-card) -- [Spotify Lovelace Card](https://github.com/custom-cards/spotify-card) - [Stack In Card](https://github.com/custom-cards/stack-in-card) -- [State Switch](https://github.com/thomasloven/lovelace-state-switch) -- [Wallpanel](https://github.com/j-a-n/lovelace-wallpanel) ### Themes -- [Mushroom Themes](https://github.com/piitaya/lovelace-mushroom-themes) ## Lovelace @@ -68,9 +59,10 @@ Number of sensors | 244 Livingroom Bedroom Kitchen - Home Lab - Entrance Bathroom + Entrance + Lab + Stats
@@ -79,14 +71,18 @@ Number of sensors | 244 Livingroom Bedroom Kitchen - Home Lab - Entrance Bathroom + Entrance + Lab 1 + Lab 2 + Stats 1 + Stats 2
## Other things that I run on my Home Server - [AdGuard Home](https://adguard.com/en/adguard-home/overview.html) LXC +- [WireGuard](https://www.wireguard.com/) LXC - [Transmission](https://transmissionbt.com/) LXC - [Docker](https://www.docker.com/) LXC - [InfluxDB](https://www.influxdata.com/) Docker container @@ -97,8 +93,9 @@ Number of sensors | 244 - [NginxProxyManager](https://nginxproxymanager.com/) Docker container - [Portainer](https://portainer.io/) Docker container - [UptimeKuma](https://github.com/louislam/uptime-kuma) Docker container - - [WireGuard](https://www.wireguard.com/) Docker container - [Broadlink Manager](https://github.com/t0mer/broadlinkmanager-docker) Docker container + - [Watchtower](https://containrrr.dev/watchtower/) Docker container + - [Vaultwarden](https://www.vaultwarden.net/) Docker container ## Additional Hardware - 1x [KYYKA CC2531](https://www.amazon.it/gp/product/B08Q7NPSRX) with Zigbee2MQTT Firmware @@ -111,6 +108,8 @@ Number of sensors | 244 - 1x Echo Dot (3rd gen) - 1x Broadlink RM4 Pro - 1x Broadlink RM3 Mini +- 1x ESP32 + PMS5003 sensor +- 1x ESP8266 + relay > smart bulbs, led strips, temperature and humidity sensors, smart plugs list and missing links incoming... diff --git a/docs/images/desktop/bathroom.png b/docs/images/desktop/bathroom.png index cf25abfe..9d74e64b 100644 Binary files a/docs/images/desktop/bathroom.png and b/docs/images/desktop/bathroom.png differ diff --git a/docs/images/desktop/bedroom.png b/docs/images/desktop/bedroom.png index c2bc2048..338b515b 100644 Binary files a/docs/images/desktop/bedroom.png and b/docs/images/desktop/bedroom.png differ diff --git a/docs/images/desktop/entrance.png b/docs/images/desktop/entrance.png index 18027add..8f1f9422 100644 Binary files a/docs/images/desktop/entrance.png and b/docs/images/desktop/entrance.png differ diff --git a/docs/images/desktop/home.png b/docs/images/desktop/home.png index a41183a2..ef521e18 100644 Binary files a/docs/images/desktop/home.png and b/docs/images/desktop/home.png differ diff --git a/docs/images/desktop/home_lab.png b/docs/images/desktop/home_lab.png deleted file mode 100644 index 5a2909a4..00000000 Binary files a/docs/images/desktop/home_lab.png and /dev/null differ diff --git a/docs/images/desktop/kitchen.png b/docs/images/desktop/kitchen.png index 74833a25..add1f108 100644 Binary files a/docs/images/desktop/kitchen.png and b/docs/images/desktop/kitchen.png differ diff --git a/docs/images/desktop/lab.png b/docs/images/desktop/lab.png new file mode 100644 index 00000000..71788f58 Binary files /dev/null and b/docs/images/desktop/lab.png differ diff --git a/docs/images/desktop/livingroom.png b/docs/images/desktop/livingroom.png index 12ddcccc..183a6938 100644 Binary files a/docs/images/desktop/livingroom.png and b/docs/images/desktop/livingroom.png differ diff --git a/docs/images/desktop/stats.png b/docs/images/desktop/stats.png new file mode 100644 index 00000000..8c63e604 Binary files /dev/null and b/docs/images/desktop/stats.png differ diff --git a/docs/images/mobile/bathroom.jpg b/docs/images/mobile/bathroom.jpg index aeb53d89..df618f7e 100644 Binary files a/docs/images/mobile/bathroom.jpg and b/docs/images/mobile/bathroom.jpg differ diff --git a/docs/images/mobile/bedroom.jpg b/docs/images/mobile/bedroom.jpg index 0b990bd0..b03c5e55 100644 Binary files a/docs/images/mobile/bedroom.jpg and b/docs/images/mobile/bedroom.jpg differ diff --git a/docs/images/mobile/entrance.jpg b/docs/images/mobile/entrance.jpg index 2bde19ea..ace7fd49 100644 Binary files a/docs/images/mobile/entrance.jpg and b/docs/images/mobile/entrance.jpg differ diff --git a/docs/images/mobile/home.jpg b/docs/images/mobile/home.jpg index 6d88c026..1daac42d 100644 Binary files a/docs/images/mobile/home.jpg and b/docs/images/mobile/home.jpg differ diff --git a/docs/images/mobile/home_lab.jpg b/docs/images/mobile/home_lab.jpg deleted file mode 100644 index 0d447ea8..00000000 Binary files a/docs/images/mobile/home_lab.jpg and /dev/null differ diff --git a/docs/images/mobile/kitchen.jpg b/docs/images/mobile/kitchen.jpg index 017d4974..052eb587 100644 Binary files a/docs/images/mobile/kitchen.jpg and b/docs/images/mobile/kitchen.jpg differ diff --git a/docs/images/mobile/lab_1.jpg b/docs/images/mobile/lab_1.jpg new file mode 100644 index 00000000..4c8f27bb Binary files /dev/null and b/docs/images/mobile/lab_1.jpg differ diff --git a/docs/images/mobile/lab_2.jpg b/docs/images/mobile/lab_2.jpg new file mode 100644 index 00000000..939dad04 Binary files /dev/null and b/docs/images/mobile/lab_2.jpg differ diff --git a/docs/images/mobile/livingroom.jpg b/docs/images/mobile/livingroom.jpg index 219e1bf7..8a34f3f1 100644 Binary files a/docs/images/mobile/livingroom.jpg and b/docs/images/mobile/livingroom.jpg differ diff --git a/docs/images/mobile/stats_1.jpg b/docs/images/mobile/stats_1.jpg new file mode 100644 index 00000000..c4da475e Binary files /dev/null and b/docs/images/mobile/stats_1.jpg differ diff --git a/docs/images/mobile/stats_2.jpg b/docs/images/mobile/stats_2.jpg new file mode 100644 index 00000000..b6df5769 Binary files /dev/null and b/docs/images/mobile/stats_2.jpg differ diff --git a/templates/README.j2 b/templates/README.j2 index b45fddd2..6d36d54c 100644 --- a/templates/README.j2 +++ b/templates/README.j2 @@ -48,9 +48,10 @@ Number of sensors | {{states.sensor | count}} Livingroom Bedroom Kitchen - Home Lab - Entrance Bathroom + Entrance + Lab + Stats
@@ -59,14 +60,18 @@ Number of sensors | {{states.sensor | count}} Livingroom Bedroom Kitchen - Home Lab - Entrance Bathroom + Entrance + Lab 1 + Lab 2 + Stats 1 + Stats 2
## Other things that I run on my Home Server - [AdGuard Home](https://adguard.com/en/adguard-home/overview.html) LXC +- [WireGuard](https://www.wireguard.com/) LXC - [Transmission](https://transmissionbt.com/) LXC - [Docker](https://www.docker.com/) LXC - [InfluxDB](https://www.influxdata.com/) Docker container @@ -77,8 +82,9 @@ Number of sensors | {{states.sensor | count}} - [NginxProxyManager](https://nginxproxymanager.com/) Docker container - [Portainer](https://portainer.io/) Docker container - [UptimeKuma](https://github.com/louislam/uptime-kuma) Docker container - - [WireGuard](https://www.wireguard.com/) Docker container - [Broadlink Manager](https://github.com/t0mer/broadlinkmanager-docker) Docker container + - [Watchtower](https://containrrr.dev/watchtower/) Docker container + - [Vaultwarden](https://www.vaultwarden.net/) Docker container ## Additional Hardware - 1x [KYYKA CC2531](https://www.amazon.it/gp/product/B08Q7NPSRX) with Zigbee2MQTT Firmware @@ -91,6 +97,8 @@ Number of sensors | {{states.sensor | count}} - 1x Echo Dot (3rd gen) - 1x Broadlink RM4 Pro - 1x Broadlink RM3 Mini +- 1x ESP32 + PMS5003 sensor +- 1x ESP8266 + relay > smart bulbs, led strips, temperature and humidity sensors, smart plugs list and missing links incoming... diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index 8b89c5ea..f6db688d 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -1,359 +1,285 @@ -decluttering_templates: - services_card: - card: - cards: - - title: Home lab - type: custom:mushroom-title-card - - chips: - - icon: mdi:arrow-right - tap_action: - action: navigate - navigation_path: /lovelace/services - type: template - - entity: sensor.proxmox_cpu_usage - icon: mdi:memory - type: entity - - entity: sensor.proxmox_memory_usage - icon: mdi:chip - type: entity - - entity: sensor.speedtest_download - icon: mdi:download - type: entity - type: custom:mushroom-chips-card - - cards: - - entity: binary_sensor.internet_connection - icon: mdi:router-wireless - name: Internet - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - - entity: binary_sensor.proxmox_is_running - icon: mdi:server-network - name: Proxmox - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - type: horizontal-stack - - cards: - - entity: binary_sensor.adguard_protection - icon: mdi:shield-check - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - - entity: binary_sensor.transmission_switch - icon: mdi:light-switch - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - type: horizontal-stack - - cards: - - entity: switch.dummy_switch - icon: mdi:monitor-dashboard - icon_color: green - primary: Dashy - tap_action: - action: url - url_path: service.com - type: custom:mushroom-template-card - type: horizontal-stack - type: vertical-stack -title: Casa views: - badges: - - display_type: complete - entity: person.aronne - name: '' - show_entity_picture: true + - color: blue + entity: sensor.home_temperature + show_icon: true + show_name: false + show_state: true + type: entity + - color: cyan + entity: sensor.home_humidity + show_icon: true + show_name: false + show_state: true type: entity - - display_type: complete - entity: person.valentina - name: '' - show_entity_picture: true + - color: yellow + entity: sensor.frient_energy_monitor_power + show_icon: true + show_name: false + show_state: true type: entity - - entity: sensor.home_temperature - name: '' - - entity: sensor.home_humidity - name: '' - - entity: sensor.frient_energy_monitor_power - name: '' - - entity: sensor.daily_energy - icon: mdi:transmission-tower - name: '' + - color: teal + entity: sensor.indoor_aqi + show_icon: true + show_name: false + show_state: true type: entity - cards: - - entity: weather.casa - name: Casa - show_current: true - show_forecast: true - type: weather-forecast + - color: red + entity: sensor.speedtest_download + show_icon: true + show_name: false + show_state: true + type: entity + cards: [] + max_columns: 2 + sections: - cards: - - title: 🛋️ Sala - title_tap_action: - action: navigate - navigation_path: /lovelace/livingroom + - grid_options: + columns: full + title: "{% set time = now().hour %}\n{% if (time >= 18) %}\n Buona sera, {{user}}!\n\ + {% elif (time >= 12) %}\n Buon pomeriggio, {{user}}!\n{% elif (time >= 5)\ + \ %}\n Buongiorno, {{user}}!\n{% else %}\n Ciao, {{user}}!\n{% endif %}" type: custom:mushroom-title-card - - chips: - - entity: sensor.termometro_sala_temperature - icon: '' - type: entity - - entity: sensor.termometro_sala_humidity - icon: '' - type: entity - - entity: media_player.echo_sala - icon: '' - type: entity - type: custom:mushroom-chips-card - - cards: - - entity: light.livingroom - name: Luce - type: custom:mushroom-light-card - - entity: climate.condizionatore_sala - icon: mdi:air-conditioner - name: Condizionatore - type: custom:mushroom-climate-card - type: horizontal-stack - type: vertical-stack + column_span: 3 + type: grid + - cards: + - entity: weather.casa + forecast_type: daily + type: weather-forecast + visibility: + - condition: screen + media_query: '(min-width: 768px)' + - entity: weather.casa + primary_info: + - wind_bearing + - humidity + secondary_info: + - precipitation + - precipitation_probability + type: custom:simple-weather-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + column_span: 1 + type: grid + - cards: + - entity: person.aronne + grid_options: + columns: 6 + rows: 1 + icon_type: entity-picture + type: custom:mushroom-person-card + - entity: person.valentina + grid_options: + columns: 6 + rows: 1 + icon_type: entity-picture + type: custom:mushroom-person-card + type: grid - cards: - - title: 🛌 Camera - title_tap_action: + - grid_options: + columns: full + layout_options: + grid_columns: full + title: 🏠 Rooms + type: custom:mushroom-title-card + - entity: light.livingroom + hold_action: + action: toggle + icon: mdi:sofa + icon_color: "{% if is_state('light.livingroom', 'on') %}\n orange\n{% endif\ + \ %}" + primary: Sala + secondary: '{{ states(''sensor.termometro_sala_temperature'') }} °C - {{ states(''sensor.termometro_sala_humidity'') + }}%' + tap_action: + action: navigate + navigation_path: /lovelace/livingroom + type: custom:mushroom-template-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - entity: light.bed + hold_action: + action: toggle + icon: mdi:bed-double + icon_color: "{% if is_state('light.bed', 'on') %}\n orange\n{% endif %}" + primary: Camera + secondary: '{{ states(''sensor.termometro_camera_temperature'') }} °C - {{ states(''sensor.termometro_camera_humidity'') + }}%' + tap_action: action: navigate navigation_path: /lovelace/bedroom - type: custom:mushroom-title-card - - chips: - - entity: sensor.termometro_camera_temperature - icon: '' - type: entity - - entity: sensor.termometro_camera_humidity - icon: '' - type: entity - - entity: media_player.echo_dot_camera - icon: '' - type: entity - type: custom:mushroom-chips-card - - cards: - - entity: light.bed - name: Luce - type: custom:mushroom-light-card - - entity: climate.condizionatore_camera - icon: mdi:air-conditioner - name: Condizionatore - type: custom:mushroom-climate-card - type: horizontal-stack - type: vertical-stack - - cards: - - title: 🍳 Cucina - title_tap_action: + type: custom:mushroom-template-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - icon: mdi:chef-hat + icon_color: "{% if is_state('binary_sensor.garbage_collection_tomorrow', 'on')\ + \ %}\n red\n{% endif %}" + primary: Cucina + secondary: '{{ states(''sensor.termometro_cucina_temperature'') }} °C - {{ states(''sensor.termometro_cucina_humidity'') + }}%' + tap_action: action: navigate navigation_path: /lovelace/kitchen - type: custom:mushroom-title-card - - chips: - - entity: sensor.termometro_cucina_temperature - icon: '' - type: entity - - entity: sensor.termometro_cucina_humidity - icon: '' - type: entity - - entity: media_player.echo_show_cucina - icon: '' - type: entity - - content_info: name - entity: binary_sensor.garbage_collection_tomorrow - icon: mdi:trash-can-outline - icon_color: red - name: Raccolta rifiuti domani - type: entity - use_entity_picture: false - type: custom:mushroom-chips-card - - cards: - - entity: climate.condizionatore_cucina - icon: mdi:air-conditioner - name: Condizionatore - type: custom:mushroom-climate-card - type: horizontal-stack - type: vertical-stack - - cards: - - title: 🚽 Bagno - title_tap_action: + type: custom:mushroom-template-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - entity: switch.water_heater + hold_action: + action: toggle + icon: mdi:toilet + icon_color: "{% if is_state('switch.water_heater', 'on') %}\n cyan\n{% endif\ + \ %}" + primary: Bagno + secondary: '{{ states(''sensor.termometro_bagno_temperature'') }} °C - {{ states(''sensor.termometro_bagno_humidity'') + }}%' + tap_action: action: navigate navigation_path: /lovelace/bathroom - type: custom:mushroom-title-card - - chips: - - entity: sensor.termometro_bagno_temperature - icon: '' - type: entity - - entity: sensor.termometro_bagno_humidity - icon: '' - type: entity - type: custom:mushroom-chips-card - - cards: - - entity: switch.water_heater - icon: mdi:water-boiler - icon_color: cyan - tap_action: - action: toggle - type: custom:mushroom-entity-card - type: horizontal-stack - type: vertical-stack - - cards: - - title: 🚪 Ingresso - title_tap_action: + type: custom:mushroom-template-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - entity: light.vetrina_ingresso + hold_action: + action: toggle + icon: mdi:door + icon_color: "{% if is_state('light.entrance', 'on') %}\n orange\n{% endif %}" + primary: Ingresso + secondary: '' + tap_action: action: navigate navigation_path: /lovelace/entrance - type: custom:mushroom-title-card - - chips: [] - type: custom:mushroom-chips-card - - cards: - - entity: light.entrance - name: Luce - type: custom:mushroom-light-card - type: horizontal-stack - type: vertical-stack + type: custom:mushroom-template-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - alert_classes: + - motion + - moisture + area: soggiorno + navigation_path: /lovelace/livingroom + sensor_classes: + - temperature + - humidity + type: area + visibility: + - condition: screen + media_query: '(min-width: 768px)' + - alert_classes: + - motion + - moisture + area: camera_da_letto + navigation_path: /lovelace/bedroom + sensor_classes: + - temperature + - humidity + type: area + visibility: + - condition: screen + media_query: '(min-width: 768px)' + - alert_classes: + - motion + - moisture + area: bagno + navigation_path: /lovelace/bathroom + sensor_classes: + - temperature + - humidity + type: area + visibility: + - condition: screen + media_query: '(min-width: 768px)' + - alert_classes: + - motion + - moisture + area: cucina + navigation_path: /lovelace/kitchen + sensor_classes: + - temperature + - humidity + type: area + visibility: + - condition: screen + media_query: '(min-width: 768px)' + - alert_classes: + - motion + - moisture + area: ingresso + navigation_path: /lovelace/entrance + sensor_classes: + - temperature + - humidity + type: area + visibility: + - condition: screen + media_query: '(min-width: 768px)' + column_span: 4 + type: grid - cards: - - title: 🧪 Lab - title_tap_action: - action: navigate - navigation_path: /lovelace/services + - grid_options: + columns: full + layout_options: + grid_columns: full + title: 🤓 Nerd corner type: custom:mushroom-title-card - - chips: - - entity: sensor.proxmox_cpu_usage - icon: mdi:memory - type: entity - - entity: sensor.proxmox_memory_usage - icon: mdi:chip - type: entity - - entity: sensor.speedtest_download - icon: mdi:download - type: entity - type: custom:mushroom-chips-card - - cards: - - entity: binary_sensor.internet_connection - icon: mdi:router-wireless - icon_color: red - name: Internet - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - - entity: binary_sensor.proxmox_is_running - icon: mdi:server-network - icon_color: indigo - name: Proxmox - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - type: horizontal-stack - - cards: - - entity: binary_sensor.adguard_protection - icon: mdi:shield-check - icon_color: green - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - - entity: binary_sensor.transmission_switch - icon: mdi:light-switch - icon_color: amber - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - type: horizontal-stack - - cards: - - entity: switch.dummy_switch - icon: mdi:monitor-dashboard - icon_color: teal - primary: Dashy - tap_action: - action: url - url_path: http://192.168.1.13:8080/ - type: custom:mushroom-template-card - type: horizontal-stack - type: vertical-stack - - cards: - - title: Media player - type: custom:mushroom-title-card - - collapsible_controls: false - entity: media_player.spotify_aronne_brivio - fill_container: false - layout: vertical - media_controls: - - previous - - play_pause_stop - - next - name: Spotify - show_volume_level: true - type: custom:mushroom-media-player-card - use_media_artwork: true - use_media_info: true - type: vertical-stack - icon: mdi:home-assistant - path: default_view + - hold_action: + action: none + icon: mdi:chart-bar-stacked + icon_color: "{% if is_state('switch.dummy_switch', 'on') %}\n teal\n{% endif\ + \ %}" + primary: Stats + secondary: '' + tap_action: + action: navigate + navigation_path: /lovelace/stats + type: custom:mushroom-template-card + - double_tap_action: + action: none + hold_action: + action: toggle + icon: mdi:test-tube + icon_color: "{% if is_state('switch.dummy_switch', 'on') %}\n purple\n{% endif\ + \ %}" + primary: Lab + secondary: '' + tap_action: + action: navigate + navigation_path: /lovelace/lab + type: custom:mushroom-template-card + column_span: 4 + type: grid + theme: Backend-selected + title: Home + type: sections - badges: [] - cards: - - cards: - - title: Smart home - type: custom:mushroom-title-card - - cards: - - collapsible_controls: true - entity: media_player.tv - show_volume_level: true - tap_action: - action: toggle - type: custom:mushroom-media-player-card - use_media_info: true - volume_controls: - - volume_set - - volume_buttons - - entity: light.spada_suprema - icon: mdi:sword - icon_color: cyan - name: Spada Suprema - primary_info: name - secondary_info: state - tap_action: - action: toggle - type: custom:mushroom-light-card - type: horizontal-stack - - collapsible_controls: true - entity: light.piantana_sala - icon: mdi:floor-lamp-torchiere - name: Piantana - primary_info: name - secondary_info: state - show_brightness_control: true - show_color_temp_control: true - type: custom:mushroom-light-card - use_light_color: true - - collapsible_controls: true - entity: climate.condizionatore_sala - hvac_modes: - - heat - - cool - icon: mdi:air-conditioner - name: Condizionatore - show_temperature_control: true - type: custom:mushroom-climate-card - - cards: - - card: - entity: light.albero_di_natale - icon: mdi:pine-tree - icon_color: green - type: custom:mushroom-light-card - conditions: - - condition: state - entity: binary_sensor.christmas_time - state: 'on' - type: conditional - type: horizontal-stack - type: vertical-stack + cards: [] + icon: mdi:sofa + max_columns: 3 + path: livingroom + sections: - cards: - - title: Sensori - type: custom:mushroom-title-card + - detail: 1 + entity: sensor.termometro_sala_temperature + graph: line + hours_to_show: 24 + name: Temperatura + type: sensor + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - detail: 1 + entity: sensor.termometro_sala_humidity + graph: line + hours_to_show: 24 + name: Umidità + type: sensor + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' - animate: true color_thresholds: - color: '#f39c12' @@ -384,6 +310,9 @@ views: - label: Day value: above_horizon type: custom:mini-graph-card + visibility: + - condition: screen + media_query: '(min-width: 768px)' - animate: true entities: - color: '#89cff0' @@ -408,22 +337,124 @@ views: - label: Day value: above_horizon type: custom:mini-graph-card - type: vertical-stack + visibility: + - condition: screen + media_query: '(min-width: 768px)' + type: grid + - cards: + - title: Smart home + type: custom:mushroom-title-card + - collapsible_controls: false + entity: light.piantana_sala + fill_container: false + icon: mdi:floor-lamp + show_brightness_control: true + show_color_temp_control: true + tap_action: + action: toggle + type: custom:mushroom-light-card + use_light_color: true + - collapsible_controls: true + entity: media_player.tv + show_volume_level: true + tap_action: + action: toggle + type: custom:mushroom-media-player-card + use_media_info: true + volume_controls: [] + - entity: light.spada_suprema + icon: mdi:sword + icon_color: cyan + tap_action: + action: toggle + type: custom:mushroom-light-card + - collapsible_controls: true + entity: climate.condizionatore_sala + hvac_modes: + - heat_cool + - 'off' + layout_options: + grid_columns: full + name: Condizionatore + show_temperature_control: true + type: custom:mushroom-climate-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - entity: climate.condizionatore_sala + features: + - type: climate-hvac-modes + name: Condizionatore + show_current_as_primary: false + type: thermostat + visibility: + - condition: screen + media_query: '(min-width: 768px)' + - entity: light.albero_di_natale + grid_options: + columns: full + icon: mdi:pine-tree + icon_color: green + tap_action: + action: toggle + type: custom:mushroom-entity-card + visibility: + - condition: state + entity: binary_sensor.christmas_time + state: 'on' + type: grid + - cards: + - title: Extra + type: custom:mushroom-title-card + - entity: switch.adaptive_lighting_default + grid_options: + columns: full + type: tile + - collapsible_controls: true + entity: light.piantana_sala_luce_grande + icon: mdi:floor-lamp-torchiere + name: Grande + primary_info: name + secondary_info: state + show_brightness_control: true + show_color_temp_control: true + tap_action: + action: toggle + type: custom:mushroom-light-card + use_light_color: true + - collapsible_controls: true + entity: light.piantana_sala_luce_piccola + icon: mdi:floor-lamp + name: Piccola + primary_info: name + secondary_info: state + show_brightness_control: true + show_color_control: false + show_color_temp_control: true + tap_action: + action: toggle + type: custom:mushroom-light-card + use_light_color: true + type: grid - cards: - title: Media player type: custom:mushroom-title-card - collapsible_controls: false entity: media_player.firestick + grid_options: + columns: full icon: mdi:television layout: vertical media_controls: [] name: Firestick show_volume_level: true type: custom:mushroom-media-player-card - use_media_artwork: true use_media_info: true volume_controls: [] - entity: media_player.echo_sala + grid_options: + columns: full + rows: 3 icon: mdi:speaker-wireless layout: vertical media_controls: @@ -432,164 +463,41 @@ views: - next show_volume_level: true type: custom:mushroom-media-player-card - use_media_artwork: true use_media_info: true volume_controls: - volume_mute - volume_set - volume_buttons - type: vertical-stack - - cards: - - title: Extra - type: custom:mushroom-title-card - - cards: - - collapsible_controls: true - entity: light.piantana_sala_luce_grande - icon: mdi:floor-lamp-torchiere - name: Grande - primary_info: name - secondary_info: state - show_brightness_control: true - show_color_temp_control: true - type: custom:mushroom-light-card - use_light_color: true - - collapsible_controls: true - entity: light.piantana_sala_luce_piccola - icon: mdi:floor-lamp - name: Piccola - primary_info: name - secondary_info: state - show_brightness_control: true - show_color_temp_control: true - type: custom:mushroom-light-card - use_light_color: true - type: horizontal-stack - - humidity_sensor: sensor.termometro_sala_humidity - name: Room Name - show_index: ALL - temperature_sensor: sensor.termometro_sala_temperature - type: custom:comfortable-environment-card - type: vertical-stack - icon: mdi:sofa - path: livingroom + type: grid + subview: true + theme: Backend-selected + title: Sala + type: sections - badges: [] - cards: - - cards: - - title: Smart home - type: custom:mushroom-title-card - - cards: - - collapsible_controls: true - entity: light.abat_jour_letto_sinistra - icon: mdi:floor-lamp - name: Letto Nennè - primary_info: name - secondary_info: state - show_brightness_control: true - show_color_control: true - show_color_temp_control: true - tap_action: - action: toggle - type: custom:mushroom-light-card - use_light_color: true - type: horizontal-stack - - collapsible_controls: true - entity: climate.condizionatore_camera - hvac_modes: - - heat - - cool - icon: mdi:air-conditioner - name: Condizionatore - show_temperature_control: true - tap_action: - action: toggle - type: custom:mushroom-climate-card - - cards: - - entity: switch.work_station - icon: mdi:account-hard-hat - name: Work Station - primary_info: name - secondary_info: state - tap_action: - action: toggle - type: custom:mushroom-entity-card - - entity: switch.gaming_station - icon: mdi:controller - name: Gaming Station - primary_info: name - secondary_info: state - tap_action: - action: toggle - type: custom:mushroom-entity-card - type: horizontal-stack - - entity: switch.mosquitto_repellent - icon: mdi:bee - icon_color: light-green - name: Antizanzare - tap_action: - action: toggle - type: custom:mushroom-entity-card - type: vertical-stack - - cards: - - title: Scrivania - type: custom:mushroom-title-card - - cards: - - collapsible_controls: true - entity: light.luce_scrivania - icon: mdi:led-strip-variant - name: Luce - show_brightness_control: true - show_color_control: true - show_color_temp_control: true - tap_action: - action: toggle - type: custom:mushroom-light-card - use_light_color: true - type: horizontal-stack - - cards: - - entity: switch.fisso - icon: mdi:desktop-classic - icon_color: green - name: PC - tap_action: - action: toggle - type: custom:mushroom-entity-card - - entity: switch.casse_pc - icon: mdi:speaker - icon_color: purple - name: Casse - tap_action: - action: toggle - type: custom:mushroom-entity-card - type: horizontal-stack - - cards: - - collapsible_controls: true - entity: light.asus_tuf_gaming_b460_plus_0 - icon: '' - name: Scheda madre - show_brightness_control: true - show_color_control: true - show_color_temp_control: false - tap_action: - action: toggle - type: custom:mushroom-light-card - use_light_color: true - - collapsible_controls: true - entity: light.nzxt_smart_device_v2_2 - fill_container: false - icon: mdi:led-strip-variant - name: Led PC - show_brightness_control: true - show_color_control: true - show_color_temp_control: false - tap_action: - action: toggle - type: custom:mushroom-light-card - use_light_color: true - type: horizontal-stack - type: vertical-stack + cards: [] + icon: mdi:bed-double + max_columns: 3 + path: bedroom + sections: - cards: - - title: Sensori - type: custom:mushroom-title-card + - detail: 1 + entity: sensor.termometro_camera_temperature + graph: line + hours_to_show: 24 + name: Temperatura + type: sensor + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - detail: 1 + entity: sensor.termometro_camera_humidity + graph: line + hours_to_show: 24 + name: Umidità + type: sensor + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' - animate: true color_thresholds: - color: '#f39c12' @@ -620,6 +528,9 @@ views: - label: Day value: above_horizon type: custom:mini-graph-card + visibility: + - condition: screen + media_query: '(min-width: 768px)' - animate: true entities: - color: '#89cff0' @@ -644,13 +555,151 @@ views: - label: Day value: above_horizon type: custom:mini-graph-card - type: vertical-stack + visibility: + - condition: screen + media_query: '(min-width: 768px)' + type: grid + - cards: + - title: Smart home + type: custom:mushroom-title-card + - collapsible_controls: true + entity: light.abat_jour_letto_sinistra + grid_options: + columns: full + icon: mdi:floor-lamp + layout_options: + grid_columns: full + name: Letto Nennè + primary_info: name + secondary_info: state + show_brightness_control: true + show_color_control: true + show_color_temp_control: true + tap_action: + action: toggle + type: custom:mushroom-light-card + use_light_color: true + - entity: switch.work_station + icon: mdi:account-hard-hat + name: Work Station + primary_info: name + secondary_info: state + tap_action: + action: toggle + type: custom:mushroom-entity-card + - entity: switch.gaming_station + icon: mdi:controller + name: Gaming Station + primary_info: name + secondary_info: state + tap_action: + action: toggle + type: custom:mushroom-entity-card + - collapsible_controls: true + entity: climate.condizionatore_camera + hvac_modes: + - heat_cool + - 'off' + layout_options: + grid_columns: full + name: Condizionatore + show_temperature_control: true + type: custom:mushroom-climate-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - entity: climate.condizionatore_camera + features: + - type: climate-hvac-modes + type: thermostat + visibility: + - condition: screen + media_query: '(min-width: 768px)' + - entity: switch.mosquitto_repellent + grid_options: + columns: full + rows: 1 + icon: mdi:bee + icon_color: light-green + layout_options: + grid_columns: full + name: Antizanzare + tap_action: + action: toggle + type: custom:mushroom-entity-card + type: grid + - cards: + - title: Scrivania + type: custom:mushroom-title-card + - collapsible_controls: true + entity: light.luce_scrivania + grid_options: + columns: full + icon: mdi:led-strip-variant + layout_options: + grid_columns: full + name: Luce + show_brightness_control: true + show_color_control: true + show_color_temp_control: true + tap_action: + action: toggle + type: custom:mushroom-light-card + use_light_color: true + - entity: switch.fisso + icon: mdi:desktop-classic + icon_color: green + name: PC + tap_action: + action: toggle + type: custom:mushroom-entity-card + - entity: switch.casse_pc + icon: mdi:speaker + icon_color: purple + name: Casse + tap_action: + action: toggle + type: custom:mushroom-entity-card + - collapsible_controls: true + entity: light.asus_tuf_gaming_b460_plus_0 + icon: '' + name: Scheda madre + show_brightness_control: true + show_color_control: true + show_color_temp_control: false + tap_action: + action: toggle + type: custom:mushroom-light-card + use_light_color: true + - collapsible_controls: true + entity: light.nzxt_smart_device_v2_2 + fill_container: false + icon: mdi:led-strip-variant + name: Led PC + show_brightness_control: true + show_color_control: true + show_color_temp_control: false + tap_action: + action: toggle + type: custom:mushroom-light-card + use_light_color: true + type: grid + - cards: + - title: Extra + type: custom:mushroom-title-card + - entity: switch.adaptive_lighting_default + grid_options: + columns: full + type: tile + type: grid - cards: - title: Media player type: custom:mushroom-title-card - collapsible_controls: true entity: media_player.echo_dot_camera fill_container: false + grid_options: + columns: full icon: mdi:speaker-wireless layout: vertical media_controls: @@ -659,73 +708,76 @@ views: - next show_volume_level: true type: custom:mushroom-media-player-card - use_media_artwork: true use_media_info: true volume_controls: - volume_mute - volume_set - volume_buttons - type: vertical-stack - - cards: - - title: Extra - type: custom:mushroom-title-card - - humidity_sensor: sensor.termometro_camera_humidity - name: Room Name - show_index: ALL - temperature_sensor: sensor.termometro_camera_temperature - type: custom:comfortable-environment-card - type: vertical-stack - icon: mdi:bed-king - path: bedroom + type: grid + subview: true + theme: Backend-selected + title: Camera + type: sections - badges: [] - cards: + cards: [] + icon: mdi:chef-hat + max_columns: 3 + path: kitchen + sections: - cards: - - title: Raccolta rifiuti - type: custom:mushroom-title-card + - detail: 1 + entity: sensor.termometro_cucina_temperature + graph: line + hours_to_show: 24 + name: Temperatura + type: sensor + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - detail: 1 + entity: sensor.termometro_cucina_humidity + graph: line + hours_to_show: 24 + name: Umidità + type: sensor + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' - cards: - - entity: sensor.garbage_collection_trash - icon_color: brown - name: Indifferenziato - type: custom:mushroom-entity-card - - entity: sensor.garbage_collection_organic - icon: mdi:sprout - icon_color: green - name: Organico - type: custom:mushroom-entity-card - - entity: sensor.garbage_collection_paper - icon: mdi:note-multiple - icon_color: disabled - name: Carta - type: custom:mushroom-entity-card - - entity: sensor.garbage_collection_plastic - icon: mdi:spray-bottle - icon_color: orange - name: Plastica - type: custom:mushroom-entity-card - - entity: sensor.garbage_collection_glass_and_metal - icon: mdi:glass-fragile - icon_color: cyan - name: Vetro e Metallo - type: custom:mushroom-entity-card - columns: 2 - square: false - type: grid - type: vertical-stack - - cards: - - title: Smart home - type: custom:mushroom-title-card - - collapsible_controls: true - entity: climate.condizionatore_cucina - icon: mdi:air-conditioner - name: Condizionatore - show_temperature_control: true - tap_action: - action: toggle - type: custom:mushroom-climate-card - type: vertical-stack - - cards: - - title: Sensori - type: custom:mushroom-title-card + - cards: + - entity: sensor.garbage_collection_trash + icon_color: brown + layout: vertical + name: ' ' + type: custom:mushroom-entity-card + - entity: sensor.garbage_collection_organic + icon: mdi:sprout + icon_color: green + layout: vertical + name: ' ' + type: custom:mushroom-entity-card + - entity: sensor.garbage_collection_paper + icon: mdi:note-multiple + icon_color: disabled + layout: vertical + name: ' ' + type: custom:mushroom-entity-card + - entity: sensor.garbage_collection_plastic + icon: mdi:spray-bottle + icon_color: orange + layout: vertical + name: ' ' + type: custom:mushroom-entity-card + - entity: sensor.garbage_collection_glass_and_metal + icon: mdi:glass-fragile + icon_color: cyan + layout: vertical + name: ' ' + type: custom:mushroom-entity-card + columns: 5 + square: false + type: grid + type: vertical-stack - animate: true color_thresholds: - color: '#f39c12' @@ -756,6 +808,9 @@ views: - label: Day value: above_horizon type: custom:mini-graph-card + visibility: + - condition: screen + media_query: '(min-width: 768px)' - animate: true entities: - color: '#89cff0' @@ -780,77 +835,42 @@ views: - label: Day value: above_horizon type: custom:mini-graph-card - type: vertical-stack + visibility: + - condition: screen + media_query: '(min-width: 768px)' + type: grid - cards: - - title: Home lab + - title: Smart home type: custom:mushroom-title-card - - chips: - - icon: mdi:arrow-right - tap_action: - action: navigate - navigation_path: /lovelace/services - type: template - - entity: sensor.proxmox_cpu_usage - icon: mdi:memory - type: entity - - entity: sensor.proxmox_memory_usage - icon: mdi:chip - type: entity - - entity: sensor.speedtest_download - icon: mdi:download - type: entity - type: custom:mushroom-chips-card - - cards: - - entity: binary_sensor.internet_connection - icon: mdi:router-wireless - icon_color: red - name: Internet - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - - entity: binary_sensor.proxmox_is_running - icon: mdi:server-network - icon_color: indigo - name: Proxmox - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - type: horizontal-stack - - cards: - - entity: binary_sensor.adguard_protection - icon: mdi:shield-check - icon_color: green - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - - entity: binary_sensor.transmission_switch - icon: mdi:light-switch - icon_color: amber - tap_action: - action: navigate - navigation_path: /lovelace/services - type: custom:mushroom-entity-card - type: horizontal-stack - - cards: - - entity: switch.dummy_switch - icon: mdi:monitor-dashboard - icon_color: teal - primary: Dashy - tap_action: - action: url - url_path: http://192.168.1.13:8080/ - type: custom:mushroom-template-card - type: horizontal-stack - type: vertical-stack + - collapsible_controls: true + entity: climate.condizionatore_cucina + hvac_modes: + - heat_cool + - 'off' + layout_options: + grid_columns: full + name: Condizionatore + show_temperature_control: true + type: custom:mushroom-climate-card + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - entity: climate.condizionatore_cucina + features: + - type: climate-hvac-modes + type: thermostat + visibility: + - condition: screen + media_query: '(min-width: 768px)' + type: grid - cards: - title: Media player type: custom:mushroom-title-card - collapsible_controls: true entity: media_player.echo_show_cucina fill_container: false + grid_options: + columns: full layout: vertical media_controls: - previous @@ -858,39 +878,41 @@ views: - next show_volume_level: true type: custom:mushroom-media-player-card - use_media_artwork: true use_media_info: true volume_controls: - volume_mute - volume_set - volume_buttons - type: vertical-stack - - cards: - - title: Extra - type: custom:mushroom-title-card - - humidity_sensor: sensor.termometro_cucina_humidity - name: Room Name - show_index: ALL - temperature_sensor: sensor.termometro_cucina_temperature - type: custom:comfortable-environment-card - type: vertical-stack - icon: mdi:chef-hat - path: kitchen + type: grid + subview: true + theme: Backend-selected + title: Cucina + type: sections - badges: [] - cards: - - cards: - - title: Smart home - type: custom:mushroom-title-card - - entity: switch.water_heater - icon: mdi:water-boiler - icon_color: cyan - tap_action: - action: toggle - type: custom:mushroom-entity-card - type: vertical-stack + cards: [] + icon: mdi:toilet + max_columns: 3 + path: bathroom + sections: - cards: - - title: Sensori - type: custom:mushroom-title-card + - detail: 1 + entity: sensor.termometro_bagno_temperature + graph: line + hours_to_show: 24 + name: Temperatura + type: sensor + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' + - detail: 1 + entity: sensor.termometro_bagno_humidity + graph: line + hours_to_show: 24 + name: Umidità + type: sensor + visibility: + - condition: screen + media_query: '(min-width: 0px) and (max-width: 767px)' - animate: true color_thresholds: - color: '#f39c12' @@ -921,6 +943,9 @@ views: - label: Day value: above_horizon type: custom:mini-graph-card + visibility: + - condition: screen + media_query: '(min-width: 768px)' - animate: true entities: - color: '#89cff0' @@ -945,517 +970,574 @@ views: - label: Day value: above_horizon type: custom:mini-graph-card - type: vertical-stack + visibility: + - condition: screen + media_query: '(min-width: 768px)' + type: grid - cards: - - title: Extra + - title: Smart home type: custom:mushroom-title-card - - humidity_sensor: sensor.termometro_bagno_humidity - name: Room Name - show_index: ALL - temperature_sensor: sensor.termometro_bagno_temperature - type: custom:comfortable-environment-card - type: vertical-stack - icon: mdi:toilet - path: bathroom + - entity: switch.water_heater + grid_options: + columns: full + icon: mdi:water-boiler + tap_action: + action: toggle + type: custom:mushroom-entity-card + type: grid + subview: true theme: Backend-selected + title: Bagno + type: sections - badges: [] - cards: + cards: [] + icon: mdi:test-tube + max_columns: 3 + path: lab + sections: - cards: - - title: Smart home + - title: Overview type: custom:mushroom-title-card - - entity: light.vetrina_ingresso - icon: mdi:file-cabinet + - entity: sensor.speedtest_download + icon: mdi:router-wireless + icon_color: red + primary: Internet + secondary: '{{ states(''sensor.speedtest_download'') }} Mbps' + tap_action: + action: url + url_path: http://192.168.1.1/ + type: custom:mushroom-template-card + - entity: binary_sensor.proxmox_is_running + icon: mdi:server-network + icon_color: indigo + name: Proxmox tap_action: + action: url + url_path: https://192.168.1.2:8006/ + type: custom:mushroom-entity-card + - entity: switch.adguard_protection + hold_action: action: toggle + icon: mdi:shield-check + icon_color: green + name: AdGuard Home + tap_action: + action: url + url_path: http://192.168.1.5:3000/ type: custom:mushroom-entity-card - type: vertical-stack - icon: mdi:door - path: entrance -- badges: [] - cards: - - aggregate_func: max - animate: true - entities: - - sensor.daily_energy - group_by: date - height: 100 - hours_to_show: 240 - icon: mdi:pulse - line_color: orange - line_width: 2 - name: Consumo elettrico giornaliero - points_per_hour: 1 - show: - average: true - extrema: true - graph: bar - labels: false - smoothing: true - type: custom:mini-graph-card - - entities: - - entity: sensor.home_temperature - - entity: sensor.weather_temperature - icon: mdi:thermometer - - entity: sensor.home_humidity - - entity: sensor.weather_humidity - icon: mdi:water-percent - - entity: sensor.thermal_comfort_absolute_humidity - name: Home absolute humidity - - entity: sensor.external_absolute_humidity - icon: mdi:water - title: Weather - type: entities + - entity: switch.transmission_switch + icon: mdi:light-switch + icon_color: "{% if is_state('switch.transmission_switch', 'on') %}\n amber\n\ + {% endif %}" + primary: Transmission + secondary: '{{ states(''switch.transmission_switch'') }}' + tap_action: + action: url + url_path: http://192.168.1.6:9091/ + type: custom:mushroom-template-card + - entity: switch.dummy_switch + grid_options: + columns: full + icon: mdi:monitor-dashboard + icon_color: teal + primary: Dashy + secondary: '' + tap_action: + action: url + url_path: http://192.168.1.13:8080/ + type: custom:mushroom-template-card + type: grid - cards: - - subtitle: Umidità + - title: 🗄️ Server type: custom:mushroom-title-card - - entity: sensor.mold_indicator - name: Rischio muffa - needle: true - segments: - - color: '#FF453A' - from: 100 - - color: '#FE5335' - from: 95 - - color: '#FE6230' - from: 90 - - color: '#FE702B' - from: 85 - - color: '#FE7F26' - from: 80 - - color: '#FE8E21' - from: 75 - - color: '#FE9C1C' - from: 70 - - color: '#FEAB17' - from: 65 - - color: '#FEB912' - from: 60 - - color: '#FEC80D' - from: 55 - - color: '#FED709' - from: 50 - - color: '#EBD10F' - from: 45 - - color: '#D8CC15' - from: 40 - - color: '#C6C61B' - from: 35 - - color: '#B3C121' - from: 30 - - color: '#A1BB28' - from: 25 - - color: '#8EB62E' - from: 20 - - color: '#7BB034' - from: 15 - - color: '#69AB3A' - from: 10 - - color: '#56A540' - from: 5 - - color: '#44A047' - from: 0 - type: gauge - - cards: - - entity: sensor.thermal_comfort_absolute_humidity - icon_color: green - name: Interno - primary_info: state - secondary_info: name - style: "ha-card {\n border: none\n}\n" - type: custom:mushroom-entity-card - - entity: sensor.external_absolute_humidity - icon_color: blue - name: Esterno - primary_info: state - secondary_info: name - style: "ha-card {\n border: none\n}\n" - type: custom:mushroom-entity-card - columns: 2 - square: false - type: grid - - animate: true - entities: - - color: green - entity: sensor.thermal_comfort_absolute_humidity - name: Interno - - entity: sensor.external_absolute_humidity - name: Esterno - font_size: 50 - hours_to_show: 24 - line_width: 3 - show: - icon: false - labels: false - labels_secondary: false - legend: false - name: false - points: hover - state: false - style: "ha-card {\n border: none\n}\n" - type: custom:mini-graph-card - keep: - background: false - box_shadow: false - margin: false - style: "ha-card-border-width: 0\nha-card {\n border: none\n}\n" - type: custom:stack-in-card + - badge_icon: '' + card_mod: + style: "{% set ashlvl = states('sensor.proxmox_memory_usage') | float(0) %}\n\ + {% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\n\ + ha-card {\n background: linear-gradient(90deg, rgb(255,111,34,0.5) {{\ + \ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n\ + }\n" + entity: sensor.proxmox_cpu_usage + grid_options: + columns: full + icon: mdi:chart-areaspline + icon_color: deep-orange + primary: CPU + secondary: '{{ states(''sensor.proxmox_cpu_usage'') }} %' + tap_action: + action: more-info + type: custom:mushroom-template-card + - badge_icon: '' + card_mod: + style: "{% set ashlvl = states('sensor.proxmox_memory_usage') | float(0) %}\n\ + {% set ashpercent1 = ashlvl / 16 * 100 %}\n{% set ashpercent2 = ashpercent1\ + \ + 0.1 %}\nha-card {\n background: linear-gradient(90deg, rgba(33,150,243,0.5)\ + \ {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n\ + }\n" + entity: sensor.proxmox_memory_usage + grid_options: + columns: full + icon: mdi:memory + icon_color: blue + primary: RAM + secondary: '{{ states(''sensor.proxmox_memory_usage'') }} GB' + tap_action: + action: more-info + type: custom:mushroom-template-card + - badge_icon: '' + card_mod: + style: "{% set ashlvl = states('sensor.proxmox_storage_usage') | float(0)\ + \ %}\n{% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 +\ + \ 0.1 %}\nha-card {\n background: linear-gradient(90deg, rgb(76, 175,\ + \ 80, 0.5) {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n\ + }\n" + entity: sensor.proxmox_storage_usage + grid_options: + columns: full + icon: mdi:harddisk + icon_color: green + primary: Storage + secondary: '{{ states(''sensor.proxmox_storage_usage'') }} %' + tap_action: + action: more-info + type: custom:mushroom-template-card + type: grid - cards: - - subtitle: Qualità dell'aria + - title: 🖥️ Fisso type: custom:mushroom-title-card - - entity: sensor.indoor_aqi - max: 200 - min: 0 - name: '' - needle: true - segments: - - color: '#44A047' - from: 0 - - color: '#69AB3A' - from: 10 - - color: '#8EB62E' - from: 20 - - color: '#B3C121' - from: 30 - - color: '#D8CC15' - from: 40 - - color: '#FED709' - from: 50 - - color: '#FEC507' - from: 60 - - color: '#FEB305' - from: 70 - - color: '#FEA104' - from: 80 - - color: '#FE8F02' - from: 90 - - color: '#FE7E01' - from: 100 - - color: '#E9640F' - from: 110 - - color: '#D54B1E' - from: 120 - - color: '#C1322D' - from: 130 - - color: '#AD193C' - from: 140 - - color: '#99004B' - from: 150 - - color: '#960047' - from: 155 - - color: '#930043' - from: 160 - - color: '#90003F' - from: 165 - - color: '#8E003B' - from: 170 - - color: '#8B0037' - from: 175 - - color: '#880033' - from: 180 - - color: '#86002F' - from: 185 - - color: '#83002B' - from: 190 - - color: '#800027' - from: 195 - - color: '#7E0023' - from: 200 - type: gauge - - cards: - - entity: sensor.esp32_01_particulate_matter_10_0_m_concentration - icon_color: green - name: <10µm - primary_info: state - secondary_info: name - style: "ha-card {\n border: none\n}\n" - type: custom:mushroom-entity-card - - entity: sensor.esp32_01_particulate_matter_2_5_m_concentration - icon_color: blue - name: <2.5µm - primary_info: state - secondary_info: name - style: "ha-card {\n border: none\n}\n" - type: custom:mushroom-entity-card - - entity: sensor.esp32_01_particulate_matter_1_0_m_concentration - icon_color: red - name: <1µm - primary_info: state - secondary_info: name - style: "ha-card {\n border: none\n}\n" - type: custom:mushroom-entity-card - columns: 3 - square: false - type: grid - - animate: true - entities: - - color: green - entity: sensor.esp32_01_particulate_matter_10_0_m_concentration - name: <10µm - - entity: sensor.esp32_01_particulate_matter_2_5_m_concentration - name: <2.5µm - - color: red - entity: sensor.esp32_01_particulate_matter_1_0_m_concentration - name: <1µm - font_size: 50 - hours_to_show: 24 - line_width: 3 - show: - icon: false - labels: false - labels_secondary: false - legend: false - name: false - points: hover - state: false - style: "ha-card {\n border: none\n}\n" - type: custom:mini-graph-card - keep: - background: false - box_shadow: false - margin: false - style: "ha-card-border-width: 0\nha-card {\n border: none\n}\n" - type: custom:stack-in-card - - entities: - - entity: sensor.thermal_comfort_dew_point - name: Dew point - - entity: sensor.thermal_comfort_dew_point_perception - name: Dew point perception - - entity: sensor.thermal_comfort_frost_point - name: Frost point - - entity: sensor.thermal_comfort_frost_risk - name: Frost risk - - entity: sensor.thermal_comfort_heat_index - name: Heat index - - entity: sensor.thermal_comfort_humidex - name: Humidex - - entity: sensor.thermal_comfort_humidex_perception - name: Humidex perception - - entity: sensor.thermal_comfort_moist_air_enthalpy - name: Moist air enthalpy - - entity: sensor.thermal_comfort_relative_strain_perception - name: Relative strain perception - - entity: sensor.thermal_comfort_summer_scharlau_perception - name: Summer Scharlau perception - - entity: sensor.thermal_comfort_summer_simmer_perception - name: Summer Simmer perception - - entity: sensor.thermal_comfort_thoms_discomfort_perception - name: Thoms discomfort perception - - entity: sensor.thermal_comfort_winter_scharlau_perception - name: Winter Scharlau perception - state_color: false - title: Thermal Comfort - type: entities - icon: mdi:chart-areaspline-variant - path: data -- badges: [] - cards: + - badge_icon: '' + card_mod: + style: "{% set ashlvl = states('sensor.fisso_cpuload') | float(0) %}\n{% set\ + \ ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\nha-card\ + \ {\n background: linear-gradient(90deg, rgb(255,111,34,0.5) {{ ashpercent1\ + \ }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n\ + }\n" + entity: sensor.fisso_cpuload + grid_options: + columns: full + icon: mdi:chart-areaspline + icon_color: deep-orange + primary: CPU + secondary: '{{ states(''sensor.fisso_cpuload'') }} %' + tap_action: + action: more-info + type: custom:mushroom-template-card + - badge_icon: '' + card_mod: + style: "{% set ashlvl = states('sensor.fisso_memoryusage') | float(0) %}\n\ + {% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\n\ + ha-card {\n background: linear-gradient(90deg, rgba(33,150,243,0.5) {{\ + \ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n\ + }\n" + entity: sensor.fisso_memoryusage + grid_options: + columns: full + icon: mdi:memory + icon_color: blue + primary: RAM + secondary: '{{ states(''sensor.fisso_memoryusage'') }} %' + tap_action: + action: more-info + type: custom:mushroom-template-card + - entities: + - entity: sensor.fisso_activewindow + name: Finestra Attiva + - entity: sensor.fisso_currentvolume + name: Volume + - entity: button.fisso_mediamute + icon: mdi:volume-mute + name: Mute + - entity: button.fisso_hibernate + icon: mdi:snowflake + name: Hibernate + type: entities + type: grid - cards: - - title: Modem + - title: 💻 Abo type: custom:mushroom-title-card - - chips: - - icon: mdi:open-in-new - tap_action: - action: url - url_path: http://192.168.1.1 - type: template - - entity: sensor.speedtest_download - icon: mdi:download - type: entity - - entity: sensor.speedtest_upload - icon: mdi:upload - type: entity - - entity: sensor.speedtest_ping - type: entity - type: custom:mushroom-chips-card - - cards: - - animate: true - entities: - - sensor.speedtest_download - font_size: 75 - icon: mdi:download - line_color: green - line_width: 8 - name: Download - type: custom:mini-graph-card - - animate: true - entities: - - sensor.speedtest_upload - font_size: 75 - icon: mdi:upload - line_color: orange - line_width: 8 - name: Upload - type: custom:mini-graph-card - type: horizontal-stack - - cards: - - animate: true - entities: - - sensor.speedtest_ping - font_size: 75 - icon: mdi:speedometer - line_color: red - line_width: 4 - name: Ping - type: custom:mini-graph-card - type: horizontal-stack - type: vertical-stack + - badge_icon: '' + card_mod: + style: "{% set ashlvl = states('sensor.abo_cpuload') | float(0) %}\n{% set\ + \ ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\nha-card\ + \ {\n background: linear-gradient(90deg, rgb(255,111,34,0.5) {{ ashpercent1\ + \ }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n\ + }\n" + entity: sensor.abo_cpuload + grid_options: + columns: full + icon: mdi:chart-areaspline + icon_color: deep-orange + primary: CPU + secondary: '{{ states(''sensor.abo_cpuload'') }} %' + tap_action: + action: more-info + type: custom:mushroom-template-card + - badge_icon: '' + card_mod: + style: "{% set ashlvl = states('sensor.abo_memoryusage') | float(0) %}\n{%\ + \ set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\n\ + ha-card {\n background: linear-gradient(90deg, rgba(33,150,243,0.5) {{\ + \ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n\ + }\n" + entity: sensor.abo_memoryusage + grid_options: + columns: full + icon: mdi:memory + icon_color: blue + primary: RAM + secondary: '{{ states(''sensor.abo_memoryusage'') }} %' + tap_action: + action: more-info + type: custom:mushroom-template-card + - entities: + - entity: sensor.abo_activewindow + name: Finestra attiva + - entity: sensor.abo_battery_charge_remaining_percentage + name: Batteria + - entity: sensor.abo_battery_charge_status + name: In carica + - entity: sensor.abo_audio_default_device_volume + name: Volume + - entity: button.abo_mediamute + icon: mdi:volume-mute + name: Mute + - entity: button.abo_hibernate + icon: mdi:snowflake + name: Hibernate + type: entities + type: grid + subview: true + theme: Backend-selected + title: Lab + type: sections +- badges: [] + cards: [] + icon: mdi:door + max_columns: 3 + path: entrance + sections: - cards: - - title: Proxmox + - title: Smart home type: custom:mushroom-title-card - - chips: - - icon: mdi:open-in-new - tap_action: - action: url - url_path: https://192.168.1.2:8006/ - type: template - type: custom:mushroom-chips-card - - cards: - - badge_icon: '' - card_mod: - style: "{% set ashlvl = states('sensor.proxmox_memory_usage') | float(0)\ - \ %}\n{% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1\ - \ + 0.1 %}\nha-card {\n background: linear-gradient(90deg, rgb(255,111,34,0.5)\ - \ {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n\ - }\n" - entity: sensor.proxmox_cpu_usage - icon: mdi:chart-areaspline - icon_color: deep-orange - primary: CPU - secondary: '{{ states(''sensor.proxmox_cpu_usage'') }} %' - tap_action: - action: more-info - type: custom:mushroom-template-card - - badge_icon: '' - card_mod: - style: "{% set ashlvl = states('sensor.proxmox_memory_usage') | float(0)\ - \ %}\n{% set ashpercent1 = ashlvl / 16 * 100 %}\n{% set ashpercent2 =\ - \ ashpercent1 + 0.1 %}\nha-card {\n background: linear-gradient(90deg,\ - \ rgba(33,150,243,0.5) {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n\ - \ border-color:rgba(52,52,52,1);\n}\n" - entity: sensor.proxmox_memory_usage - icon: mdi:memory - icon_color: blue - primary: RAM - secondary: '{{ states(''sensor.proxmox_memory_usage'') }} GB' - tap_action: - action: more-info - type: custom:mushroom-template-card - - badge_icon: '' - card_mod: - style: "{% set ashlvl = states('sensor.proxmox_storage_usage') | float(0)\ - \ %}\n{% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1\ - \ + 0.1 %}\nha-card {\n background: linear-gradient(90deg, rgb(76,\ - \ 175, 80, 0.5) {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n \ - \ border-color:rgba(52,52,52,1);\n}\n" - entity: sensor.proxmox_storage_usage - icon: mdi:harddisk - icon_color: green - primary: Storage - secondary: '{{ states(''sensor.proxmox_storage_usage'') }} %' - tap_action: - action: more-info - type: custom:mushroom-template-card - type: vertical-stack - type: vertical-stack + - entity: light.vetrina_ingresso + grid_options: + columns: full + type: custom:mushroom-light-card + type: grid + subview: true + theme: Backend-selected + title: Ingresso + type: sections +- badges: [] + cards: [] + icon: mdi:chart-areaspline-variant + max_columns: 3 + path: stats + sections: - cards: - - title: AdGuard Home - type: custom:mushroom-title-card - - chips: - - icon: mdi:open-in-new - tap_action: - action: url - url_path: http://192.168.1.5:3000/ - type: template - - entity: sensor.adguard_average_processing_speed - type: entity - - entity: sensor.adguard_parental_control_blocked - type: entity - - entity: sensor.adguard_safe_browsing_blocked - type: entity - - entity: sensor.adguard_safe_searches_enforced - type: entity - type: custom:mushroom-chips-card - - cards: - - animate: true - entities: - - sensor.adguard_dns_queries - font_size: 75 - line_width: 8 - name: Requests - type: custom:mini-graph-card - - animate: true - entities: - - sensor.adguard_dns_queries_blocked_ratio - font_size: 75 - line_color: '#e74c3c' - line_width: 8 - name: Blocked - type: custom:mini-graph-card - type: horizontal-stack + - aggregate_func: max + animate: true + entities: + - sensor.daily_energy + group_by: date + height: 100 + hours_to_show: 240 + icon: mdi:pulse + line_color: orange + line_width: 2 + name: Consumo elettrico giornaliero + points_per_hour: 1 + show: + average: true + extrema: true + graph: bar + labels: false + smoothing: true + type: custom:mini-graph-card - entities: - - entity: switch.adguard_filtering - icon: mdi:filter-check - name: Filtering - - entity: switch.adguard_protection - name: Protection - - entity: switch.adguard_parental_control - icon: mdi:human-male-girl - name: Parental Control - - entity: switch.adguard_safe_browsing - icon: mdi:shield-half-full - name: Safe Browsing - - entity: switch.adguard_safe_search - icon: mdi:shield-search - name: Safe Search + - entity: sensor.home_temperature + - entity: sensor.weather_temperature + icon: mdi:thermometer + - entity: sensor.home_humidity + - entity: sensor.weather_humidity + icon: mdi:water-percent + - entity: sensor.thermal_comfort_absolute_humidity + name: Home absolute humidity + - entity: sensor.external_absolute_humidity + icon: mdi:water + title: Weather type: entities - type: vertical-stack + visibility: + - condition: screen + media_query: '(min-width: 768px)' + - entities: + - entity: sensor.thermal_comfort_dew_point + name: Dew point + - entity: sensor.thermal_comfort_dew_point_perception + name: Dew point perception + - entity: sensor.thermal_comfort_frost_point + name: Frost point + - entity: sensor.thermal_comfort_frost_risk + name: Frost risk + - entity: sensor.thermal_comfort_heat_index + name: Heat index + - entity: sensor.thermal_comfort_humidex + name: Humidex + - entity: sensor.thermal_comfort_humidex_perception + name: Humidex perception + - entity: sensor.thermal_comfort_moist_air_enthalpy + name: Moist air enthalpy + - entity: sensor.thermal_comfort_relative_strain_perception + name: Relative strain perception + - entity: sensor.thermal_comfort_summer_scharlau_perception + name: Summer Scharlau perception + - entity: sensor.thermal_comfort_summer_simmer_perception + name: Summer Simmer perception + - entity: sensor.thermal_comfort_thoms_discomfort_perception + name: Thoms discomfort perception + - entity: sensor.thermal_comfort_winter_scharlau_perception + name: Winter Scharlau perception + state_color: false + title: Thermal Comfort + type: entities + visibility: + - condition: screen + media_query: '(min-width: 768px)' + type: grid - cards: - - title: Transmission - type: custom:mushroom-title-card - - chips: - - icon: mdi:open-in-new - tap_action: - action: url - url_path: http://192.168.1.6:9091/ - type: template - - entity: sensor.transmission_completed_torrents - icon: mdi:check - type: entity - - entity: sensor.transmission_paused_torrents - icon: mdi:pause - type: entity - - entity: sensor.transmission_started_torrents - icon: mdi:play - type: entity - type: custom:mushroom-chips-card - cards: + - subtitle: Umidità + type: custom:mushroom-title-card + - entity: sensor.mold_indicator + name: Rischio muffa + needle: true + segments: + - color: '#FF453A' + from: 100 + - color: '#FE5335' + from: 95 + - color: '#FE6230' + from: 90 + - color: '#FE702B' + from: 85 + - color: '#FE7F26' + from: 80 + - color: '#FE8E21' + from: 75 + - color: '#FE9C1C' + from: 70 + - color: '#FEAB17' + from: 65 + - color: '#FEB912' + from: 60 + - color: '#FEC80D' + from: 55 + - color: '#FED709' + from: 50 + - color: '#EBD10F' + from: 45 + - color: '#D8CC15' + from: 40 + - color: '#C6C61B' + from: 35 + - color: '#B3C121' + from: 30 + - color: '#A1BB28' + from: 25 + - color: '#8EB62E' + from: 20 + - color: '#7BB034' + from: 15 + - color: '#69AB3A' + from: 10 + - color: '#56A540' + from: 5 + - color: '#44A047' + from: 0 + type: gauge + - cards: + - entity: sensor.thermal_comfort_absolute_humidity + icon_color: green + name: Interno + primary_info: state + secondary_info: name + style: "ha-card {\n border: none\n}\n" + type: custom:mushroom-entity-card + - entity: sensor.external_absolute_humidity + icon_color: blue + name: Esterno + primary_info: state + secondary_info: name + style: "ha-card {\n border: none\n}\n" + type: custom:mushroom-entity-card + columns: 2 + square: false + type: grid - animate: true entities: - - sensor.transmission_down_speed - font_size: 75 - icon: mdi:progress-download - line_color: green - line_width: 8 - name: Download + - color: green + entity: sensor.thermal_comfort_absolute_humidity + name: Interno + - entity: sensor.external_absolute_humidity + name: Esterno + font_size: 50 + hours_to_show: 24 + line_width: 3 + show: + icon: false + labels: false + labels_secondary: false + legend: false + name: false + points: hover + state: false + style: "ha-card {\n border: none\n}\n" type: custom:mini-graph-card + keep: + background: false + box_shadow: false + margin: false + style: "ha-card-border-width: 0\nha-card {\n border: none\n}\n" + type: custom:stack-in-card + - cards: + - subtitle: Qualità dell'aria + type: custom:mushroom-title-card + - entity: sensor.indoor_aqi + max: 200 + min: 0 + name: '' + needle: true + segments: + - color: '#44A047' + from: 0 + - color: '#69AB3A' + from: 10 + - color: '#8EB62E' + from: 20 + - color: '#B3C121' + from: 30 + - color: '#D8CC15' + from: 40 + - color: '#FED709' + from: 50 + - color: '#FEC507' + from: 60 + - color: '#FEB305' + from: 70 + - color: '#FEA104' + from: 80 + - color: '#FE8F02' + from: 90 + - color: '#FE7E01' + from: 100 + - color: '#E9640F' + from: 110 + - color: '#D54B1E' + from: 120 + - color: '#C1322D' + from: 130 + - color: '#AD193C' + from: 140 + - color: '#99004B' + from: 150 + - color: '#960047' + from: 155 + - color: '#930043' + from: 160 + - color: '#90003F' + from: 165 + - color: '#8E003B' + from: 170 + - color: '#8B0037' + from: 175 + - color: '#880033' + from: 180 + - color: '#86002F' + from: 185 + - color: '#83002B' + from: 190 + - color: '#800027' + from: 195 + - color: '#7E0023' + from: 200 + type: gauge + - subtitle: Esterno + type: custom:mushroom-title-card + - cards: + - entity: sensor.u_s_air_pollution_level + name: Inquinamento + primary_info: state + secondary_info: name + style: "ha-card {\n border: none\n}\n" + type: custom:mushroom-entity-card + - entity: sensor.u_s_air_quality_index + icon_color: blue + name: AQI + primary_info: state + secondary_info: name + style: "ha-card {\n border: none\n}\n" + type: custom:mushroom-entity-card + columns: 2 + square: false + style: "ha-card {\n align: center\n}\n" + type: grid + - subtitle: Interno + type: custom:mushroom-title-card + - cards: + - entity: sensor.esp32_01_particulate_matter_10_0_m_concentration + icon_color: green + name: <10µm + primary_info: state + secondary_info: name + style: "ha-card {\n border: none\n}\n" + type: custom:mushroom-entity-card + - entity: sensor.esp32_01_particulate_matter_2_5_m_concentration + icon_color: blue + name: <2.5µm + primary_info: state + secondary_info: name + style: "ha-card {\n border: none\n}\n" + type: custom:mushroom-entity-card + - entity: sensor.esp32_01_particulate_matter_1_0_m_concentration + icon_color: red + name: <1µm + primary_info: state + secondary_info: name + style: "ha-card {\n border: none\n}\n" + type: custom:mushroom-entity-card + columns: 3 + square: false + type: grid - animate: true entities: - - sensor.transmission_up_speed - font_size: 75 - icon: mdi:progress-upload - line_color: orange - line_width: 8 - name: Upload + - color: green + entity: sensor.esp32_01_particulate_matter_10_0_m_concentration + name: <10µm + - entity: sensor.esp32_01_particulate_matter_2_5_m_concentration + name: <2.5µm + - color: red + entity: sensor.esp32_01_particulate_matter_1_0_m_concentration + name: <1µm + font_size: 50 + hours_to_show: 24 + line_width: 3 + show: + icon: false + labels: false + labels_secondary: false + legend: false + name: false + points: hover + state: false + style: "ha-card {\n border: none\n}\n" type: custom:mini-graph-card - type: horizontal-stack - - entities: - - entity: switch.transmission_switch - icon: mdi:light-switch - name: Transmission - - entity: switch.transmission_turtle_mode - icon: mdi:tortoise - name: Turtle Mode - type: entities - type: vertical-stack - icon: mdi:server-network - path: services + keep: + background: false + box_shadow: false + margin: false + style: "ha-card-border-width: 0\nha-card {\n border: none\n}\n" + type: custom:stack-in-card + type: grid + subview: true + title: Stats + type: sections