Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- color_type: card
- entity: input_boolean.irrigation_monday
- name: Lunedì
- state:
- - value: 'on'
- icon: mdi:calendar-check
- styles:
- card:
- - background-color: green
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- - value: 'off'
- icon: mdi:calendar-remove
- styles:
- card:
- - background-color: red
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- styles:
- card:
- - border-radius: 15px
- - height: 70px
- - width: 160px
- name:
- - font-weight: bold
- - font-size: 14px
- - type: custom:button-card
- color_type: card
- entity: input_boolean.irrigation_tuesday
- name: Martedì
- state:
- - value: 'on'
- icon: mdi:calendar-check
- styles:
- card:
- - background-color: green
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- - value: 'off'
- icon: mdi:calendar-remove
- styles:
- card:
- - background-color: red
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- styles:
- card:
- - border-radius: 15px
- - height: 70px
- - width: 155px
- name:
- - font-weight: bold
- - font-size: 14px
- - type: custom:button-card
- color_type: card
- entity: input_boolean.irrigation_wednesday
- name: Mercoledì
- state:
- - value: 'on'
- icon: mdi:calendar-check
- styles:
- card:
- - background-color: green
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- - value: 'off'
- icon: mdi:calendar-remove
- styles:
- card:
- - background-color: red
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- styles:
- card:
- - border-radius: 15px
- - height: 70px
- - width: 160px
- name:
- - font-weight: bold
- - font-size: 14px
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- color_type: card
- entity: input_boolean.irrigation_thursday
- name: Giovedì
- state:
- - value: 'on'
- icon: mdi:calendar-check
- styles:
- card:
- - background-color: green
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- - value: 'off'
- icon: mdi:calendar-remove
- styles:
- card:
- - background-color: red
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- styles:
- card:
- - border-radius: 15px
- - height: 70px
- - width: 160px
- name:
- - font-weight: bold
- - font-size: 14px
- - type: custom:button-card
- color_type: card
- entity: input_boolean.irrigation_friday
- name: Venerdì
- state:
- - value: 'on'
- icon: mdi:calendar-check
- styles:
- card:
- - background-color: green
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- - value: 'off'
- icon: mdi:calendar-remove
- styles:
- card:
- - background-color: red
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- styles:
- card:
- - border-radius: 15px
- - height: 70px
- - width: 155px
- name:
- - font-weight: bold
- - font-size: 14px
- - type: custom:button-card
- color_type: card
- entity: input_boolean.irrigation_saturday
- name: Sabato
- state:
- - value: 'on'
- icon: mdi:calendar-check
- styles:
- card:
- - background-color: green
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- - value: 'off'
- icon: mdi:calendar-remove
- styles:
- card:
- - background-color: red
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- styles:
- card:
- - border-radius: 15px
- - height: 70px
- - width: 160px
- name:
- - font-weight: bold
- - font-size: 14px
- - type: custom:button-card
- color_type: card
- entity: input_boolean.irrigation_sunday
- name: Domenica
- state:
- - value: 'on'
- icon: mdi:calendar-check
- styles:
- card:
- - background-color: green
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- - value: 'off'
- icon: mdi:calendar-remove
- styles:
- card:
- - background-color: red
- - box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1)
- - transition: background-color 0.3s ease
- styles:
- card:
- - border-radius: 15px
- - height: 90px
- - width: 490px
- name:
- - font-weight: bold
- - font-size: 14px
- - type: entities
- title: Ora di Partenza e Durata
- show_header_toggle: false
- entities:
- - type: custom:time-picker-card
- entity: input_datetime.irrigation_start_time
- name: Ora di Partenza
- secondary_info: none
- layout:
- name: inside
- align_controls: center
- - type: custom:mushroom-number-card
- entity: input_number.strada_duration
- display_mode: buttons
- layout: horizontal
- icon: mdi:clock-edit
- icon_color: deep-purple
- - type: custom:mushroom-number-card
- entity: input_number.siepi_duration
- display_mode: buttons
- layout: horizontal
- icon_color: light-green
- icon: mdi:clock-edit
- - type: custom:mushroom-number-card
- entity: input_number.davanticasa_duration
- display_mode: buttons
- layout: horizontal
- icon: mdi:clock-edit
- icon_color: red
- - type: custom:button-card
- tap_action:
- action: toggle
- entity: script.irrigazione_a_tempo_manuale
- show_name: true
- show_icon: true
- show_state: true
- icon: mdi:sprinkler
- styles:
- card:
- - background-color: '#800080'
- - border-radius: 15px
- - height: 190px
- - width: 487px
- name:
- - font-weight: bold
- - color: '#FFFF00'
- icon:
- - color: '#FFFF00'
- - type: custom:button-card
- color_type: card
- entity: input_boolean.irrigation_pause
- name: Irrigazione on/off
- icon: mdi:pause-circle
- state:
- - value: 'on'
- icon: mdi:water-off
- styles:
- card:
- - background-color: red
- - value: 'off'
- icon: mdi:water
- styles:
- card:
- - background-color: green
- styles:
- card:
- - border-radius: 15px
- - height: 90px
- - width: 487px
- name:
- - font-weight: bold
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement