Advertisement
elradix

schedulers

Dec 2nd, 2020 (edited)
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.34 KB | None | 0 0
  1. - type: vertical-stack
  2.   cards:
  3.  
  4.     - type: markdown
  5.       content: '## Automations'
  6.       style: |
  7.         ha-card {
  8.          border-radius: 15px;
  9.          box-shadow: none;
  10.          }
  11.  
  12.     - type: glance
  13.       style: |
  14.         ha-card {
  15.          border-radius: 15px;
  16.          box-shadow: none;
  17.          }
  18.       entities:
  19.         - entity: input_boolean.school
  20.           name: School Mode
  21.           tap_action:
  22.             action: call-service
  23.             service: homeassistant.toggle
  24.             service_data:
  25.               entity_id: input_boolean.school
  26.           type: call-service
  27.         - entity: automation.auto_off_day
  28.           name: Light Mode
  29.           tap_action:
  30.             action: call-service
  31.             service: homeassistant.toggle
  32.             service_data:
  33.               entity_id: automation.auto_off_day
  34.           type: call-service
  35.         - entity: script.lights
  36.           name: Lights off
  37.           tap_action:
  38.             action: call-service
  39.             service: script.lights
  40.  
  41.     - type: 'custom:scheduler-card'
  42.       style: |
  43.         ha-card {
  44.          border-radius: 15px;
  45.          box-shadow: none;
  46.          }
  47.       title: Main schedule
  48.       include:
  49.         - sensor.easyplus_telnet
  50.         - switch.multimedia
  51.         - switch.easyplus
  52.         - switch.ketel
  53.         - switch.media
  54.         - switch.synology
  55.         - script.all_off
  56.         - script.switches
  57.         - script.light_power
  58.         - script.auto_off_day
  59.         - script.auto_on_day
  60.         #- group.all_sockets
  61.         #- group.all_light
  62.       groups:
  63.         - name: "Sockets & Lights"
  64.           icon: power
  65.           include:
  66.            - group.all_easyplus    
  67.         - name: "Lights"
  68.           icon: lightbulb
  69.           include:
  70.            - group.all_light
  71.         - name: "Sockets"
  72.           icon: power
  73.           include:
  74.            - group.all_sockets            
  75.       display_options:
  76.         icon: entity      
  77.         primary_info: '{name} - {entity} : {action}'
  78.         secondary_info:
  79.          - relative-time
  80.       customize:
  81.         group.all_easyplus:
  82.           states: ['on','off']
  83.         group.all_sockets:
  84.           states: ['on','off']      
  85.         sensor.easyplus_telnet:
  86.           states: ['on','off']
  87.         group.all_light:
  88.           states: ['on','off']
  89.         group.floradix:
  90.           states:
  91.            - home
  92.             - not_home    
  93.       time_step: 5
  94.       discover_existing: false
  95.       standard_configuration: true
  96.  
  97.  
  98.  
  99.     - type: 'custom:scheduler-card'
  100.       style: |
  101.         ha-card {
  102.          border-radius: 15px;
  103.          box-shadow: none;
  104.          }
  105.       title: School Modus
  106.       show_header_toggle: true
  107.       include:
  108.        - input_boolean.school
  109.         - sensor.easyplus_telnet
  110.         - switch.stp_keuken_commander
  111.         - switch.stp_keuken_dish
  112.         - switch.stp_keuken_dampkap
  113.         - switch.stp_keuken_dish
  114.         - switch.stp_keuken_espresso
  115.         - switch.stp_keuken_microgolf
  116.         - switch.stp_keuken_oven
  117.         - switch.stp_keuken_waterkoker  
  118.         - switch.stp_eetkamer_tv
  119.         - light.kitchen_lights
  120.         - light.kids_lights
  121.        # - group.all_light
  122.       display_options:
  123.         primary_info: '{name} - {entity} : {action}'
  124.         secondary_info:
  125.          - relative-time
  126.         icon: entity
  127.       customize:
  128.       # group.all_light:
  129.        #   states: ['on','off']      
  130.         sensor.easyplus_telnet:
  131.           states: ['on','off']
  132.         group.floradix:
  133.           states:
  134.            - home
  135.             - not_home    
  136.       time_step: 10
  137.       discover_existing: false
  138.       standard_configuration: true
  139.    
  140.     - type: 'custom:scheduler-card'
  141.       style: |
  142.         ha-card {
  143.          border-radius: 15px;
  144.          box-shadow: none;
  145.          }    
  146.       title: AdGuard
  147.       include:
  148.        - switch.adguard_filtering
  149.         - switch.adguard_parental_control
  150.         - switch.adguard_protection
  151.         - switch.adguard_query_log
  152.         - switch.adguard_safe_browsing
  153.         - switch.adguard_safe_search
  154.       display_options:
  155.         icon: entity      
  156.         #primary_info: '{name} - {entity} : {action}'
  157.         secondary_info:
  158.          - relative-time
  159.       customize:
  160.         group.floradix:
  161.           states:
  162.            - home
  163.             - not_home    
  164.       time_step: 1
  165.       discover_existing: false
  166.       standard_configuration: true
  167.      
  168.  
  169.     - type: 'custom:scheduler-card'
  170.       style: |
  171.         ha-card {
  172.          border-radius: 15px;
  173.          box-shadow: none;
  174.          }    
  175.       title: Heating
  176.       show_header_toggle: true
  177.       include:
  178.        - sensor.easyplus_telnet
  179.         - binary_sensor.eetkamer
  180.         - binary_sensor.inkomhal              
  181.         - climate.living
  182.         - climate.eetkamer
  183.         - climate.sara
  184.         - climate.floradix
  185.         - climate.yassin
  186.       display_options:
  187.         icon: entity      
  188.         primary_info: '{name} - {entity} : {action}'
  189.         secondary_info:
  190.          - relative-time
  191.       customize:
  192.         sensor.easyplus_telnet:
  193.           states: ['on','off']
  194.         group.floradix:
  195.           states:
  196.            - home
  197.             - not_home    
  198.       time_step: 15
  199.       discover_existing: false
  200.       standard_configuration: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement