Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- choice area from a list(kitchen,salon,room) display on a sub-list the appropriate timer(kitchen timer1, kitchen timer2, kitchen timer3, salon timer1, salon timer2, etc..)
- display the select timer card on the bottom.
- type: 'custom:vertical-stack-in-card'
- title: Timers
- cards:
- - type: entities
- entities:
- - input_select.living_room_preset
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Kitchen
- card:
- type: entities
- entities:
- - input_select.kitchen_timers_preset
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Salon
- card:
- type: entities
- entities:
- - input_select.salon_timers_preset
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Dining Room
- card:
- type: entities
- entities:
- - input_select.dining_room_timers_preset
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Kitchen
- - entity: input_select.kitchen_timers_preset
- state: Kitchen Timer1
- card:
- title: Timer Kitchen 1
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.kitchen1_timer
- name: Timer ON/OFF
- - entity: input_datetime.kitchen1_timer_start
- - entity: input_datetime.kitchen1_timer_end
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Kitchen
- - entity: input_select.kitchen_timers_preset
- state: Kitchen Timer2
- card:
- title: Timer Kitchen 2
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.kitchen2_timer
- name: Timer ON/OFF
- - entity: input_datetime.kitchen2_timer_start
- - entity: input_datetime.kitchen2_timer_end
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Kitchen
- - entity: input_select.kitchen_timers_preset
- state: Kitchen Timer3
- card:
- title: Timer Kitchen 3
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.kitchen3_timer
- name: Timer ON/OFF
- - entity: input_datetime.kitchen3_timer_start
- - entity: input_datetime.kitchen3_timer_end
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Salon
- - entity: input_select.salon_timers_preset
- state: Salon Timer1
- card:
- title: Timer Salon 1
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.salon1_timer
- name: Timer ON/OFF
- - entity: input_datetime.salon1_timer_start
- - entity: input_datetime.salon1_timer_end
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Salon
- - entity: input_select.salon_timers_preset
- state: Salon Timer2
- card:
- title: Timer Salon 2
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.salon2_timer
- name: Timer ON/OFF
- - entity: input_datetime.salon2_timer_start
- - entity: input_datetime.salon2_timer_end
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Salon
- - entity: input_select.salon_timers_preset
- state: Salon Timer3
- card:
- title: Timer Salon 3
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.salon3_timer
- name: Timer ON/OFF
- - entity: input_datetime.salon3_timer_start
- - entity: input_datetime.salon3_timer_end
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Dining Room
- - entity: input_select.dining_room_timers_preset
- state: Dining Room Timer1
- card:
- title: Dining Room Timer 1
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.dining1_room
- name: Timer ON/OFF
- - entity: input_datetime.dining_room1_timer_start
- - entity: input_datetime.dining_room1_timer_end
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Dining Room
- - entity: input_select.dining_room_timers_preset
- state: Dining Room Timer2
- card:
- title: Dining Room Timer 2
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.dining2_room
- name: Timer ON/OFF
- - entity: input_datetime.dining_room2_timer_start
- - entity: input_datetime.dining_room2_timer_end
- - type: conditional
- conditions:
- - entity: input_select.living_room_preset
- state: Dining Room
- - entity: input_select.dining_room_timers_preset
- state: Dining Room Timer3
- card:
- title: Dining Room Timer 3
- show_header_toggle: false
- type: entities
- entities:
- - entity: input_boolean.dining3_room
- name: Timer ON/OFF
- - entity: input_datetime.dining_room3_timer_start
- - entity: input_datetime.dining_room3_timer_end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement