Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: picture-elements
- image: local/foto-pkg/casa.png
- elements:
- - type: custom:button-card
- name: null
- icon: mdi:home-assistant
- color: salmon
- style:
- top: 95%
- left: 5%
- width: 100px
- height: 100px
- tap_action:
- action: navigate
- navigation_path: /connee-tablet/recap
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: translateY(1.5px);
- transition: 0s;
- }
- ha-card {
- transform: scale(1.3);
- border: none;
- box-shadow: none;
- background: rgba(0,0,0,0);
- text-align: center;
- }
- ha-state-icon {
- animation: boing 3s ease infinite;
- transform-origin: 50% 90%;
- }
- @keyframes boing {
- 0% { transform: scale3d(1, 1, 1); }
- 7% { transform: scale3d(1.25, 0.75, 1); }
- 10% { transform: scale3d(0.75, 1.25, 1); }
- 12% { transform: scale3d(1.15, 0.85, 1); }
- 16% { transform: scale3d(0.95, 1.05, 1); }
- 19% { transform: scale3d(1.05, 0.95, 1); }
- 25% { transform: scale3d(1, 1, 1); }
- }
- - type: custom:hui-element
- card_type: custom:mushroom-chips-card
- chips:
- - type: template
- icon: mdi:sofa
- content: Soggiorno
- tap_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.popup
- data:
- title: Soggiorno
- style: |
- --popup-min-width: 200px;
- --popup-border-radius: 28px;
- target:
- device_id: null
- content:
- type: vertical-stack
- cards:
- - type: custom:mushroom-title-card
- subtitle: Luci
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-light-card
- entity: light.luci_doppie
- - type: custom:mushroom-light-card
- entity: light.luce_singola
- - type: custom:mushroom-light-card
- entity: light.led_tv
- use_light_color: true
- show_brightness_control: true
- show_color_control: true
- show_color_temp_control: true
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-light-card
- entity: light.madia
- use_light_color: true
- show_brightness_control: true
- show_color_control: true
- show_color_temp_control: true
- style:
- left: 18%
- top: 95%
- transform: scale (1)
- card_mod:
- style: >
- ha-card { --chip-border-color: aquamarine; /* Bordo rosso */
- --chip-border-width: 2px; --chip-box-shadow: 0px 0px 10px rgba(105, 200,
- 59, 0.7); /* Effetto glow */ --chip-height: 40px; }
- - type: custom:hui-element
- card_type: custom:mushroom-chips-card
- chips:
- - type: template
- icon: mdi:food-fork-drink
- content: Cucina
- tap_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.popup
- data:
- title: Cucina
- style: |
- --popup-min-width: 800px;
- --popup-border-radius: 28px;
- target:
- device_id: null
- content:
- type: vertical-stack
- cards:
- - type: custom:mushroom-title-card
- subtitle: Luci
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-light-card
- entity: light.faretti
- - type: custom:mushroom-light-card
- entity: light.led_piano_lavoro
- - type: custom:mushroom-light-card
- entity: light.led_soffitto
- use_light_color: true
- show_brightness_control: true
- show_color_control: true
- show_color_temp_control: true
- card_mod:
- style: >
- ha-card { --chip-border-color: brown; /* Bordo rosso */
- --chip-border-width: 2px; --chip-box-shadow: 0px 0px 10px rgba(255, 0,
- 0, 0.7); /* Effetto glow */ --chip-height: 40px; }
- style:
- left: 29%
- top: 95%
- transform: scale (1)
- - type: custom:hui-element
- card_type: custom:mushroom-chips-card
- chips:
- - type: template
- icon: mdi:power-plug
- content: Prese
- tap_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.popup
- data:
- title: Prese
- style: |
- --popup-min-width: 800px;
- --popup-border-radius: 28px;
- target:
- device_id: null
- content:
- type: vertical-stack
- cards:
- - type: custom:mushroom-title-card
- subtitle: Prese
- - type: vertical-stack
- cards:
- - type: custom:mushroom-light-card
- entity: switch.aeroccino_nespresso_interruttore
- - type: custom:mushroom-light-card
- entity: switch.lavastoviglie
- - type: custom:mushroom-light-card
- entity: switch.forno
- - type: custom:mushroom-light-card
- entity: switch.frigo
- - type: custom:mushroom-light-card
- entity: switch.friggitrice_interruttore
- - type: custom:mushroom-light-card
- entity: switch.microonde_interruttore
- - type: custom:mushroom-light-card
- entity: switch.congelatore
- use_light_color: true
- show_brightness_control: true
- show_color_control: true
- show_color_temp_control: true
- card_mod:
- style: >
- ha-card { --chip-border-color: brown; /* Bordo rosso */
- --chip-border-width: 2px; --chip-box-shadow: 0px 0px 10px rgba(255, 0,
- 0, 0.7); /* Effetto glow */ --chip-height: 40px; }
- style:
- left: 40%
- top: 95%
- transform: scale (1)
- - type: custom:hui-element
- card_type: custom:mushroom-chips-card
- chips:
- - type: template
- icon: mdi:sofa
- content: Zona Notte
- tap_action:
- action: fire-dom-event
- browser_mod:
- service: browser_mod.popup
- data:
- title: Zona Notte
- style: |
- --popup-min-width: 800px;
- --popup-border-radius: 28px;
- target:
- device_id: null
- content:
- type: vertical-stack
- cards:
- - type: custom:mushroom-title-card
- subtitle: Luci
- - type: vertical-stack
- cards:
- - type: custom:mushroom-light-card
- entity: light.luce_antonio
- - type: custom:mushroom-light-card
- entity: light.luce_alice
- - type: custom:mushroom-light-card
- entity: light.luce_bagno
- - type: custom:mushroom-light-card
- entity: light.luce_corridoio_notte
- - type: custom:mushroom-light-card
- entity: light.luce_matrimoniale_1
- - type: custom:mushroom-light-card
- entity: light.led_mobile
- use_light_color: true
- show_brightness_control: true
- show_color_control: true
- show_color_temp_control: true
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-light-card
- entity: light.madia
- use_light_color: true
- show_brightness_control: true
- show_color_control: true
- show_color_temp_control: true
- style:
- left: 50%
- top: 95%
- transform: scale (1)
- card_mod:
- style: >
- ha-card { --chip-border-color: aquamarine; /* Bordo rosso */
- --chip-border-width: 2px; --chip-box-shadow: 0px 0px 10px rgba(105, 200,
- 59, 0.7); /* Effetto glow */ --chip-height: 40px; }
- - type: state-badge
- style:
- left: 50%
- top: 55%
- entity: sensor.consumo_elettrico_potenza
- title: Consumo Elettrico
- tap_action:
- action: navigate
- navigation_path: /connee-tablet/energy
- - type: custom:hui-element
- card_type: custom:clock-weather-card
- entity: weather.home
- forecast_rows: 3
- sun_entity: sun.sun
- weather_icon_type: line
- animated_icon: true
- time_pattern: HH:mm
- time_format: 24
- hide_forecast_section: false
- show_humidity: false
- hide_clock: false
- hide_date: true
- hourly_forecast: null
- show_decimal: false
- style:
- left: 10%
- top: 30%
- - type: icon
- style:
- left: 70%
- top: 50%
- icon: mdi:air-conditioner
- entity: climate.soggiorno
- tap_action:
- action: more-info
- - type: state-icon
- style:
- left: 65%
- top: 50%
- entity: climate.condizionatore_soggiorno_2
- - type: state-badge
- entity: person.alessandro
- title: Ale
- tap_action:
- action: more-info
- style:
- left: 85%
- top: 95%
Advertisement
Add Comment
Please, Sign In to add comment