Advertisement
Guest User

Dashboard

a guest
Apr 11th, 2022
2,831
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 42.24 KB | None | 0 0
  1. kiosk_mode:
  2.   mobile_settings:
  3.     hide_header: true
  4.     ignore_entity_settings: true
  5.   non_admin_settings:
  6.     kiosk: true
  7.     ignore_entity_settings: true
  8. popup_cards:
  9.   input_boolean.home_master:
  10.     title: Security
  11.     card:
  12.       type: vertical-stack
  13.       cards:
  14.         - type: horizontal-stack
  15.           cards:
  16.             - type: custom:mushroom-entity-card
  17.               entity: input_select.occupied_room
  18.               icon: mdi:map-marker
  19.               tap_action:
  20.                 action: none
  21.               hold_action:
  22.                 action: none
  23.               double_tap_action:
  24.                 action: none
  25.               icon_color: teal
  26.             - type: custom:mushroom-template-card
  27.               primary: |-
  28.                 {% if is_state('input_boolean.home_master', 'on') %}
  29.                 At Home
  30.                 {%else%}
  31.                 Away
  32.                 {% endif %}
  33.               icon: |-
  34.                 {% if is_state('input_boolean.home_master', 'on') %}
  35.                   mdi:home-account
  36.                 {%else%}
  37.                   mdi:walk
  38.                 {% endif %}
  39.               entity: input_boolean.home_master
  40.               icon_color: |-
  41.                 {% if is_state('input_boolean.home_master', 'on') %}
  42.                   orange
  43.                 {%else%}
  44.                  grey
  45.                 {% endif %}
  46.               layout: horizontal
  47.               secondary: >-
  48.                 Tado: {% if is_state('sensor.home_tado_mode', 'HOME')
  49.                 %}Home{%else%}Away{% endif %}
  50.  
  51.                 Camera: {% if is_state('switch.homeserver_home_mode', 'HOME')
  52.                 %}On{%else%}Off{% endif %}
  53.               double_tap_action:
  54.                 action: none
  55.               tap_action:
  56.                 action: toggle
  57.               hold_action:
  58.                 action: none
  59.               multiline_secondary: true
  60.         - type: custom:mushroom-title-card
  61.           subtitle: Motion Sensors
  62.         - type: horizontal-stack
  63.           cards:
  64.             - type: custom:mushroom-entity-card
  65.               entity: binary_sensor.living_room_motion_sensor_motion
  66.               name: Living Room
  67.               icon_color: orange
  68.               hold_action:
  69.                 action: none
  70.               double_tap_action:
  71.                 action: none
  72.               tap_action:
  73.                 action: none
  74.               secondary_info: none
  75.               primary_info: name
  76.             - type: custom:mushroom-entity-card
  77.               entity: sensor.living_room_motion_sensor_light_level
  78.               icon_color: cyan
  79.               hold_action:
  80.                 action: none
  81.               double_tap_action:
  82.                 action: none
  83.               tap_action:
  84.                 action: more-info
  85.               secondary_info: none
  86.               primary_info: state
  87.         - type: horizontal-stack
  88.           cards:
  89.             - type: custom:mushroom-entity-card
  90.               entity: binary_sensor.kitchen_motion_sensor_motion
  91.               name: Kitchen
  92.               icon_color: orange
  93.               hold_action:
  94.                 action: none
  95.               double_tap_action:
  96.                 action: none
  97.               tap_action:
  98.                 action: none
  99.               secondary_info: none
  100.             - type: custom:mushroom-entity-card
  101.               entity: sensor.kitchen_motion_sensor_light_level
  102.               icon_color: cyan
  103.               hold_action:
  104.                 action: none
  105.               double_tap_action:
  106.                 action: none
  107.               tap_action:
  108.                 action: more-info
  109.               secondary_info: none
  110.               primary_info: state
  111.         - type: horizontal-stack
  112.           cards:
  113.             - type: custom:mushroom-entity-card
  114.               entity: binary_sensor.corridor_motion_sensor_motion
  115.               name: Corridor
  116.               icon_color: orange
  117.               hold_action:
  118.                 action: none
  119.               double_tap_action:
  120.                 action: none
  121.               tap_action:
  122.                 action: none
  123.               secondary_info: none
  124.             - type: custom:mushroom-entity-card
  125.               entity: sensor.corridor_motion_sensor_illuminance
  126.               icon_color: cyan
  127.               hold_action:
  128.                 action: none
  129.               double_tap_action:
  130.                 action: none
  131.               tap_action:
  132.                 action: more-info
  133.               primary_info: state
  134.               secondary_info: none
  135.         - type: horizontal-stack
  136.           cards:
  137.             - type: custom:mushroom-entity-card
  138.               entity: binary_sensor.study_motion_sensor_motion
  139.               name: Study
  140.               icon_color: orange
  141.               hold_action:
  142.                 action: none
  143.               double_tap_action:
  144.                 action: none
  145.               tap_action:
  146.                 action: none
  147.               secondary_info: none
  148.             - type: custom:mushroom-entity-card
  149.               entity: sensor.study_motion_sensor_light_level
  150.               icon_color: cyan
  151.               hold_action:
  152.                 action: none
  153.               double_tap_action:
  154.                 action: none
  155.               tap_action:
  156.                 action: more-info
  157.               secondary_info: none
  158.               primary_info: state
  159.         - type: horizontal-stack
  160.           cards:
  161.             - type: custom:mushroom-entity-card
  162.               entity: binary_sensor.bedroom_motion_sensor_motion
  163.               name: Bedroom
  164.               icon_color: orange
  165.               hold_action:
  166.                 action: none
  167.               double_tap_action:
  168.                 action: none
  169.               tap_action:
  170.                 action: none
  171.               secondary_info: none
  172.             - type: custom:mushroom-entity-card
  173.               entity: sensor.bedroom_motion_sensor_light_level
  174.               name: Study
  175.               icon_color: cyan
  176.               hold_action:
  177.                 action: none
  178.               double_tap_action:
  179.                 action: none
  180.               tap_action:
  181.                 action: more-info
  182.               secondary_info: none
  183.               primary_info: state
  184.         - type: custom:mushroom-title-card
  185.           subtitle: Lights on because of motion
  186.         - type: horizontal-stack
  187.           cards:
  188.             - type: custom:mushroom-entity-card
  189.               entity: input_boolean.living_room_light_on_because_of_motion
  190.               name: Living Room
  191.               icon_color: orange
  192.               hold_action:
  193.                 action: none
  194.               double_tap_action:
  195.                 action: none
  196.               tap_action:
  197.                 action: toggle
  198.             - type: custom:mushroom-entity-card
  199.               entity: input_boolean.kitchen_light_on_because_of_motion
  200.               name: Kitchen
  201.               icon_color: orange
  202.               hold_action:
  203.                 action: none
  204.               double_tap_action:
  205.                 action: none
  206.               tap_action:
  207.                 action: toggle
  208.         - type: horizontal-stack
  209.           cards:
  210.             - type: custom:mushroom-entity-card
  211.               entity: input_boolean.corridor_light_on_because_of_motion
  212.               name: Corridor
  213.               icon_color: orange
  214.               hold_action:
  215.                 action: none
  216.               double_tap_action:
  217.                 action: none
  218.               tap_action:
  219.                 action: toggle
  220.             - type: custom:mushroom-entity-card
  221.               entity: input_boolean.study_light_on_because_of_motion
  222.               name: Study
  223.               icon_color: orange
  224.               hold_action:
  225.                 action: none
  226.               double_tap_action:
  227.                 action: none
  228.               tap_action:
  229.                 action: toggle
  230.             - type: custom:mushroom-entity-card
  231.               entity: input_boolean.bedroom_light_on_because_of_motion
  232.               name: Bed
  233.               icon_color: orange
  234.               hold_action:
  235.                 action: none
  236.               double_tap_action:
  237.                 action: none
  238.               tap_action:
  239.                 action: toggle
  240.   switch.tv_remote:
  241.     title: TV Remote
  242.     card:
  243.       type: vertical-stack
  244.       cards:
  245.         - type: horizontal-stack
  246.           cards:
  247.             - type: conditional
  248.               conditions:
  249.                 - entity: remote.harmony_hub
  250.                   state: 'on'
  251.               card:
  252.                 type: custom:mushroom-template-card
  253.                 primary: |-
  254.                   {% if is_state('remote.harmony_hub', 'on') %}
  255.                   Turn Off
  256.                   {%else%}
  257.                    Turn On
  258.                   {% endif %}
  259.                 icon: mdi:power
  260.                 entity: ''
  261.                 icon_color: |-
  262.                   {% if is_state('remote.harmony_hub', 'on') %}
  263.                   orange
  264.                   {%else%}
  265.                   teal
  266.                   {% endif %}
  267.                 tap_action:
  268.                   action: call-service
  269.                   service: remote.toggle
  270.                   service_data: {}
  271.                   target:
  272.                     device_id: af810432a4d340f8b3a7df6b8149a439
  273.                 double_tap_action:
  274.                   action: none
  275.                 hold_action:
  276.                   action: none
  277.                 secondary: >-
  278.                   Currently:
  279.  
  280.                   {% if
  281.                   state_attr('remote.harmony_hub','current_activity')=="Watch
  282.                  Movies" %} Watching Movies {% endif %}
  283.  
  284.                   {% if
  285.                   state_attr('remote.harmony_hub','current_activity')=="Watch
  286.                  TV" %} Watching TV {% endif %}
  287.  
  288.                   {% if
  289.                   state_attr('remote.harmony_hub','current_activity')=="PowerOff"
  290.                   %} Off {% endif %}
  291.         - type: horizontal-stack
  292.           cards:
  293.             - type: custom:mushroom-template-card
  294.               primary: Watch TV
  295.               icon: mdi:monitor
  296.               entity: ''
  297.               icon_color: teal
  298.               tap_action:
  299.                 action: call-service
  300.                 service: remote.turn_on
  301.                 service_data:
  302.                   activity: Watch TV
  303.                 target:
  304.                   device_id: af810432a4d340f8b3a7df6b8149a439
  305.               double_tap_action:
  306.                 action: none
  307.               hold_action:
  308.                 action: none
  309.             - type: custom:mushroom-template-card
  310.               primary: Movies
  311.               icon: mdi:movie
  312.               entity: ''
  313.               icon_color: teal
  314.               tap_action:
  315.                 action: call-service
  316.                 service: remote.turn_on
  317.                 service_data:
  318.                   activity: Watch Movies
  319.                 target:
  320.                   device_id: af810432a4d340f8b3a7df6b8149a439
  321.               double_tap_action:
  322.                 action: none
  323.               hold_action:
  324.                 action: none
  325.         - type: custom:mushroom-title-card
  326.           subtitle: Controls
  327.         - type: horizontal-stack
  328.           cards:
  329.             - type: custom:mushroom-template-card
  330.               primary: Play / Pause
  331.               icon: mdi:pause
  332.               entity: ''
  333.               icon_color: teal
  334.               tap_action:
  335.                 action: call-service
  336.                 service: script.pause_tv_movie
  337.                 service_data: {}
  338.                 target: {}
  339.               double_tap_action:
  340.                 action: none
  341.               hold_action:
  342.                 action: none
  343.             - type: custom:mushroom-template-card
  344.               primary: Mute / Unmute
  345.               icon: mdi:volume-off
  346.               entity: ''
  347.               icon_color: teal
  348.               tap_action:
  349.                 action: call-service
  350.                 service: script.mute_tv
  351.                 service_data: {}
  352.                 target: {}
  353.               double_tap_action:
  354.                 action: none
  355.               hold_action:
  356.                 action: none
  357.         - type: horizontal-stack
  358.           cards:
  359.             - type: custom:mushroom-template-card
  360.               primary: Volume Up
  361.               icon: mdi:volume-plus
  362.               entity: ''
  363.               icon_color: teal
  364.               tap_action:
  365.                 action: call-service
  366.                 service: script.volume_up
  367.                 service_data: {}
  368.                 target: {}
  369.               hold_action:
  370.                 action: none
  371.               double_tap_action:
  372.                 action: none
  373.             - type: custom:mushroom-template-card
  374.               primary: Volume Down
  375.               icon: mdi:volume-minus
  376.               entity: ''
  377.               icon_color: teal
  378.               tap_action:
  379.                 action: call-service
  380.                 service: script.volume_down
  381.                 service_data: {}
  382.                 target: {}
  383.               hold_action:
  384.                 action: none
  385.               double_tap_action:
  386.                 action: none
  387.   light.study_lights_and_work_lights:
  388.     title: Study
  389.     card:
  390.       type: vertical-stack
  391.       cards:
  392.         - type: custom:mushroom-template-card
  393.           primary: Study lights
  394.           icon: mdi:home-lightbulb
  395.           entity: light.study_lights_and_work_lights
  396.           multiline_secondary: true
  397.           icon_color: |-
  398.             {% if is_state('light.study_lights_and_work_lights', 'on') %}
  399.               orange
  400.             {%else%}
  401.              grey
  402.             {% endif %}
  403.           tap_action:
  404.             action: toggle
  405.           hold_action:
  406.             action: none
  407.           double_tap_action:
  408.             action: none
  409.           secondary: |-
  410.             {% if is_state('light.study_lights_and_work_lights', 'on') %}
  411.               On
  412.             {%else%}
  413.              Off
  414.             {% endif %}
  415.         - type: custom:mushroom-title-card
  416.           subtitle: Lights
  417.         - type: custom:mushroom-light-card
  418.           entity: light.study_work_light
  419.           hide_state: true
  420.           use_light_color: false
  421.           show_brightness_control: true
  422.           show_color_temp_control: true
  423.           show_color_control: true
  424.           name: Work lights
  425.           icon: mdi:floor-lamp-torchiere-variant
  426.           layout: horizontal
  427.         - type: custom:mushroom-light-card
  428.           entity: light.study_lights
  429.           hide_state: true
  430.           use_light_color: true
  431.           show_brightness_control: true
  432.           show_color_temp_control: true
  433.           show_color_control: false
  434.           icon: mdi:track-light
  435.           layout: horizontal
  436.           name: Room lights
  437.         - type: custom:mushroom-title-card
  438.           subtitle: Climate
  439.         - hours_to_show: 12
  440.           graph: line
  441.           type: sensor
  442.           entity: sensor.study_temperature_adjusted
  443.           detail: 2
  444.           icon: mdi:temperature-celsius
  445.           theme: Mushroom
  446.           name: Temperature
  447.         - hours_to_show: 12
  448.           graph: line
  449.           type: sensor
  450.           entity: sensor.study_humidity_adjusted
  451.           detail: 2
  452.           icon: mdi:percent
  453.           theme: Mushroom
  454.           name: Humidity
  455.   switch.dehumidifier:
  456.     title: Dehumidifier
  457.     card:
  458.       type: vertical-stack
  459.       cards:
  460.         - type: vertical-stack
  461.           cards:
  462.             - type: custom:mushroom-template-card
  463.               primary: Dehumidifier
  464.               icon: mdi:air-humidifier
  465.               entity: switch.dehumidifier
  466.               multiline_secondary: true
  467.               icon_color: |-
  468.                 {% if is_state('switch.dehumidifier', 'on') %}
  469.                   orange
  470.                 {%else%}
  471.                  grey
  472.                 {% endif %}
  473.               tap_action:
  474.                 action: toggle
  475.               hold_action:
  476.                 action: none
  477.               double_tap_action:
  478.                 action: none
  479.               secondary: |-
  480.                 {% if is_state('switch.dehumidifier', 'on') %}
  481.                   On
  482.                 {%else%}
  483.                  Off
  484.                 {% endif %}
  485.             - hours_to_show: 24
  486.               graph: line
  487.               type: sensor
  488.               entity: sensor.dehumidifier_current_consumption
  489.               detail: 2
  490.               name: Power Consumption
  491.             - type: horizontal-stack
  492.               cards:
  493.                 - type: custom:mushroom-entity-card
  494.                   entity: sensor.dehumidifier_today_s_consumption
  495.                   secondary_info: name
  496.                   primary_info: state
  497.                   hide_icon: true
  498.                   name: Today
  499.                 - type: custom:mushroom-entity-card
  500.                   entity: sensor.dehumidifier_total_consumption
  501.                   secondary_info: name
  502.                   primary_info: state
  503.                   hide_icon: true
  504.                   name: Total
  505.             - type: horizontal-stack
  506.               cards:
  507.                 - type: custom:mushroom-entity-card
  508.                   entity: sensor.dehumidifier_voltage
  509.                   secondary_info: name
  510.                   primary_info: state
  511.                   hide_icon: true
  512.                   name: Voltage
  513.                 - type: custom:mushroom-entity-card
  514.                   entity: sensor.dehumidifier_current
  515.                   secondary_info: name
  516.                   primary_info: state
  517.                   name: Current
  518.                   hide_icon: true
  519.   automation.vacum_when_evwryine_has_left_the_house:
  520.     title: Vacuum Cleaner
  521.     card:
  522.       type: vertical-stack
  523.       cards:
  524.         - type: custom:mushroom-template-card
  525.           primary: Auto Clean when away
  526.           secondary: >-
  527.             {% if is_state('automation.vacum_when_evwryine_has_left_the_house',
  528.             'on') %}On{%else%}Off{% endif %}
  529.           icon: mdi:robot-vacuum-variant
  530.           entity: automation.vacum_when_evwryine_has_left_the_house
  531.           tap_action:
  532.             action: toggle
  533.           hold_action:
  534.             action: none
  535.           double_tap_action:
  536.             action: none
  537.           icon_color: >-
  538.             {% if is_state('automation.vacum_when_evwryine_has_left_the_house',
  539.             'on') %}
  540.               orange
  541.             {%else%}
  542.              grey
  543.             {% endif %}
  544.           layout: horizontal
  545.         - type: horizontal-stack
  546.           cards:
  547.             - type: custom:mushroom-template-card
  548.               primary: Clean
  549.               secondary: >-
  550.                 Last clean:
  551.                 {{as_timestamp(state_attr('vacuum.neato','clean_stop')) |
  552.                timestamp_custom(' %d %B') }}.
  553.               icon: mdi:play-circle
  554.               entity: vacuum.neato
  555.               tap_action:
  556.                 action: call-service
  557.                 service: vacuum.start
  558.                 service_data: {}
  559.                 target:
  560.                   device_id: cb9108ee18721409eaadb08ebe4d53f7
  561.               hold_action:
  562.                 action: none
  563.               double_tap_action:
  564.                 action: none
  565.               icon_color: green
  566.             - type: custom:mushroom-template-card
  567.               primary: Return to base
  568.               secondary: 'Status: {{states(''vacuum.neato'')}}'
  569.               icon: mdi:stop-circle
  570.               entity: vacuum.neato
  571.               tap_action:
  572.                 action: call-service
  573.                 service: vacuum.return_to_base
  574.                 service_data: {}
  575.                 target:
  576.                   device_id: cb9108ee18721409eaadb08ebe4d53f7
  577.               hold_action:
  578.                 action: none
  579.               double_tap_action:
  580.                 action: none
  581.               icon_color: red
  582.         - show_state: false
  583.           show_name: false
  584.           camera_view: auto
  585.           type: picture-entity
  586.           entity: vacuum.neato
  587.           image: https://demo.home-assistant.io/stub_config/bedroom.png
  588.           camera_image: camera.neato_cleaning_map
  589.   light.bedroom_lights:
  590.     title: Bedroom
  591.     card:
  592.       type: vertical-stack
  593.       cards:
  594.         - type: custom:mushroom-template-card
  595.           primary: Bedroom lights
  596.           icon: mdi:home-lightbulb
  597.           entity: light.bedroom_lights
  598.           multiline_secondary: true
  599.           icon_color: |-
  600.             {% if is_state('light.bedroom_lights', 'on') %}
  601.               orange
  602.             {%else%}
  603.              grey
  604.             {% endif %}
  605.           tap_action:
  606.             action: toggle
  607.           secondary: |-
  608.             {% if is_state('light.bedroom_lights', 'on') %}
  609.               On
  610.             {%else%}
  611.              Off
  612.             {% endif %}
  613.         - type: horizontal-stack
  614.           cards:
  615.             - type: custom:mushroom-template-card
  616.               primary: Relaxing in Bed
  617.               icon: mdi:bed
  618.               entity: script.relaxing_in_bed
  619.               icon_color: green
  620.         - type: custom:mushroom-title-card
  621.           subtitle: Lights
  622.         - type: custom:mushroom-light-card
  623.           entity: light.bed
  624.           hide_state: true
  625.           use_light_color: true
  626.           show_brightness_control: true
  627.           show_color_temp_control: true
  628.           show_color_control: true
  629.           icon: mdi:bed-king
  630.           layout: horizontal
  631.         - type: custom:mushroom-light-card
  632.           entity: light.bedroom_1
  633.           hide_state: true
  634.           use_light_color: true
  635.           show_brightness_control: true
  636.           show_color_temp_control: true
  637.           show_color_control: true
  638.           name: Left
  639.           icon: mdi:track-light
  640.           layout: horizontal
  641.         - type: custom:mushroom-light-card
  642.           entity: light.bedroom_2
  643.           hide_state: true
  644.           use_light_color: true
  645.           show_brightness_control: true
  646.           show_color_temp_control: true
  647.           show_color_control: true
  648.           name: Right
  649.           icon: mdi:track-light
  650.           layout: horizontal
  651.         - type: custom:mushroom-title-card
  652.           subtitle: Climate
  653.         - hours_to_show: 12
  654.           graph: line
  655.           type: sensor
  656.           entity: sensor.bedroom_temperature_adjusted
  657.           detail: 2
  658.           icon: mdi:temperature-celsius
  659.           theme: Mushroom
  660.           name: Temperature
  661.         - hours_to_show: 12
  662.           graph: line
  663.           type: sensor
  664.           entity: sensor.home_humidity
  665.           detail: 2
  666.           icon: mdi:percent
  667.           theme: Mushroom
  668.           name: Humidity
  669.   light.living_room_lights:
  670.     title: Living Room
  671.     card:
  672.       type: vertical-stack
  673.       cards:
  674.         - type: horizontal-stack
  675.           cards:
  676.             - type: custom:mushroom-template-card
  677.               primary: Living Room lights
  678.               icon: mdi:home-lightbulb
  679.               entity: light.living_room_lights
  680.               multiline_secondary: true
  681.               icon_color: |-
  682.                 {% if is_state('light.living_room_lights', 'on') %}
  683.                   orange
  684.                 {%else%}
  685.                  grey
  686.                 {% endif %}
  687.               tap_action:
  688.                 action: toggle
  689.               secondary: >-
  690.                 {% if is_state('light.living_room_lights', 'on')
  691.                 %}On{%else%}Off{% endif %}
  692.         - type: custom:mushroom-template-card
  693.           primary: Relax
  694.           icon: mdi:sofa
  695.           entity: script.living_room_lights_only_no_rear_lights_circadian
  696.           icon_color: teal
  697.           layout: horizontal
  698.         - type: custom:mushroom-title-card
  699.           subtitle: Lights
  700.         - type: custom:mushroom-light-card
  701.           entity: light.tv
  702.           hide_state: true
  703.           use_light_color: true
  704.           show_brightness_control: true
  705.           show_color_temp_control: true
  706.           show_color_control: false
  707.           icon: mdi:television
  708.           name: TV
  709.           layout: horizontal
  710.         - type: custom:mushroom-light-card
  711.           entity: light.living_room_3
  712.           hide_state: true
  713.           use_light_color: true
  714.           show_brightness_control: true
  715.           show_color_temp_control: true
  716.           show_color_control: false
  717.           icon: mdi:track-light
  718.           name: Front right
  719.           layout: horizontal
  720.         - type: custom:mushroom-light-card
  721.           entity: light.living_room_lamp
  722.           hide_state: true
  723.           use_light_color: true
  724.           show_brightness_control: true
  725.           show_color_temp_control: true
  726.           show_color_control: false
  727.           icon: mdi:floor-lamp
  728.           name: Lamp
  729.           layout: horizontal
  730.         - type: custom:mushroom-light-card
  731.           entity: light.living_room_1
  732.           hide_state: true
  733.           use_light_color: true
  734.           show_brightness_control: true
  735.           show_color_temp_control: true
  736.           show_color_control: false
  737.           icon: mdi:track-light
  738.           name: Rear left
  739.           layout: horizontal
  740.         - type: custom:mushroom-light-card
  741.           entity: light.living_room_2
  742.           hide_state: true
  743.           use_light_color: true
  744.           show_brightness_control: true
  745.           show_color_temp_control: true
  746.           show_color_control: false
  747.           icon: mdi:track-light
  748.           name: Rear right
  749.           layout: horizontal
  750.         - type: custom:mushroom-title-card
  751.           subtitle: Climate
  752.         - hours_to_show: 12
  753.           graph: line
  754.           type: sensor
  755.           entity: sensor.living_room_motion_temperature_adjusted
  756.           detail: 2
  757.           icon: mdi:temperature-celsius
  758.           theme: Mushroom
  759.           name: Temperature
  760. views:
  761.   - theme: Mushroom
  762.     title: Home
  763.     icon: mdi:home
  764.     badges: []
  765.     cards:
  766.       - type: vertical-stack
  767.         cards:
  768.           - type: horizontal-stack
  769.             cards:
  770.               - type: custom:mushroom-template-card
  771.                 primary: Relax
  772.                 icon: mdi:sofa
  773.                 entity: script.living_room_lights_only_no_rear_lights_circadian
  774.                 icon_color: teal
  775.                 layout: vertical
  776.                 hold_action:
  777.                   action: none
  778.                 double_tap_action:
  779.                   action: none
  780.               - type: custom:mushroom-template-card
  781.                 primary: Work
  782.                 icon: mdi:monitor-dashboard
  783.                 entity: script.study_lights_on_circadian_non_automatic
  784.                 icon_color: teal
  785.                 layout: vertical
  786.                 double_tap_action:
  787.                   action: none
  788.                 hold_action:
  789.                   action: none
  790.               - type: custom:mushroom-template-card
  791.                 primary: Cook
  792.                 icon: mdi:knife
  793.                 entity: script.kitchen_lights_on_4500k
  794.                 icon_color: teal
  795.                 layout: vertical
  796.                 double_tap_action:
  797.                   action: none
  798.                 hold_action:
  799.                   action: none
  800.               - type: custom:mushroom-template-card
  801.                 primary: Auto
  802.                 icon: mdi:brightness-auto
  803.                 entity: script.enable_circadian_on_all_lights
  804.                 icon_color: red
  805.                 layout: vertical
  806.                 double_tap_action:
  807.                   action: none
  808.                 hold_action:
  809.                   action: none
  810.           - type: custom:mushroom-title-card
  811.             subtitle: Lights
  812.           - type: horizontal-stack
  813.             cards:
  814.               - type: custom:mushroom-template-card
  815.                 primary: Home
  816.                 icon: mdi:home-lightbulb
  817.                 entity: light.home_lights
  818.                 multiline_secondary: true
  819.                 icon_color: |-
  820.                   {% if is_state('light.home_lights', 'on') %}
  821.                    orange
  822.                   {%else%}
  823.                    grey
  824.                   {% endif %}
  825.                 tap_action:
  826.                   action: toggle
  827.                 hold_action:
  828.                   action: none
  829.                 double_tap_action:
  830.                   action: none
  831.                 secondary: >-
  832.                   {% if is_state('light.home_lights', 'on') %}On{%else%}Off{%
  833.                   endif %}
  834.               - type: custom:mushroom-template-card
  835.                 primary: Living Room
  836.                 icon: mdi:sofa
  837.                 layout: horizontal
  838.                 entity: light.living_room_lights
  839.                 icon_color: |-
  840.                   {% if is_state('light.living_room_lights', 'on') %}
  841.                     orange
  842.                   {%else%}
  843.                    grey
  844.                   {% endif %}
  845.                 multiline_secondary: false
  846.                 secondary: >-
  847.                   {% if is_state('light.living_room_lights', 'on')
  848.                   %}On{%else%}Off{% endif %} •
  849.  
  850.                   {{ states('sensor.living_room_motion_temperature_adjusted') |
  851.                  round(1) }}°C
  852.                 tap_action:
  853.                   action: toggle
  854.                 hold_action:
  855.                   action: none
  856.                 double_tap_action:
  857.                   action: none
  858.           - type: horizontal-stack
  859.             cards:
  860.               - type: custom:mushroom-template-card
  861.                 primary: 'Kitchen '
  862.                 icon: mdi:stove
  863.                 entity: light.kitchen_lights
  864.                 multiline_secondary: true
  865.                 icon_color: |-
  866.                   {% if is_state('light.kitchen_lights', 'on') %}
  867.                     orange
  868.                   {%else%}
  869.                    grey
  870.                   {% endif %}
  871.                 tap_action:
  872.                   action: toggle
  873.                 secondary: >-
  874.                   {% if is_state('light.kitchen_lights', 'on') %}On{%else%}Off{%
  875.                   endif %} • {{states('sensor.living_room_temperature_adjusted')
  876.                   | round(1) }}°C • {{states('sensor.living_room_humidity') }}%
  877.                 double_tap_action:
  878.                   action: none
  879.                 hold_action:
  880.                   action: none
  881.               - type: custom:mushroom-template-card
  882.                 primary: Corridor
  883.                 icon: mdi:door-open
  884.                 layout: horizontal
  885.                 entity: light.corridor_lights
  886.                 icon_color: |-
  887.                   {% if is_state('light.corridor_lights', 'on') %}
  888.                     orange
  889.                   {%else%}
  890.                    grey
  891.                   {% endif %}
  892.                 multiline_secondary: false
  893.                 hold_action:
  894.                   action: none
  895.                 tap_action:
  896.                   action: toggle
  897.                 double_tap_action:
  898.                   action: none
  899.                 secondary: >-
  900.                   {% if is_state('light.corridor_lights', 'on')
  901.                   %}On{%else%}Off{% endif %}
  902.           - type: horizontal-stack
  903.             cards:
  904.               - type: custom:mushroom-template-card
  905.                 primary: 'Study '
  906.                 icon: mdi:monitor-dashboard
  907.                 entity: light.study_lights_and_work_lights
  908.                 multiline_secondary: true
  909.                 icon_color: |-
  910.                   {% if is_state('light.study_lights_and_work_lights', 'on') %}
  911.                     orange
  912.                   {%else%}
  913.                    grey
  914.                   {% endif %}
  915.                 tap_action:
  916.                   action: toggle
  917.                 secondary: >-
  918.                   {% if is_state('light.study_lights_and_work_lights', 'on')
  919.                   %}On{%else%}Off{% endif %} •
  920.                   {{states('sensor.study_temperature_adjusted') | round(1) }}°C
  921.                   • {{states('sensor.study_humidity') }}%
  922.               - type: custom:mushroom-template-card
  923.                 primary: Bedroom
  924.                 icon: mdi:bed-empty
  925.                 layout: horizontal
  926.                 entity: light.bedroom_lights
  927.                 icon_color: |-
  928.                   {% if is_state('light.bedroom_lights', 'on') %}
  929.                     orange
  930.                   {%else%}
  931.                    grey
  932.                   {% endif %}
  933.                 multiline_secondary: false
  934.                 secondary: >-
  935.                   {% if is_state('light.bedroom_lights', 'on') %}On{%else%}Off{%
  936.                   endif %} • {{states('sensor.bedroom_temperature_adjusted') |
  937.                  round(1) }}°C • {{states('sensor.home_humidity') }}%
  938.                 double_tap_action:
  939.                   action: none
  940.                 tap_action:
  941.                   action: toggle
  942.                 hold_action:
  943.                   action: none
  944.           - type: custom:mushroom-title-card
  945.             subtitle: Climate
  946.           - type: horizontal-stack
  947.             cards:
  948.               - type: custom:mushroom-chips-card
  949.                 chips:
  950.                   - type: weather
  951.                     entity: weather.home
  952.                     double_tap_action:
  953.                       action: none
  954.                     show_conditions: true
  955.                     show_temperature: true
  956.                     tap_action:
  957.                       action: none
  958.                     hold_action:
  959.                       action: none
  960.                   - type: template
  961.                     double_tap_action:
  962.                       action: none
  963.                     entity: climate.home
  964.                     icon: >-
  965.                       {% if
  966.                       (state_attr('climate.home','hvac_action')=="heating") %}
  967.  
  968.                       mdi:sun-thermometer
  969.  
  970.                       {%else%}
  971.  
  972.                       mdi:snowflake
  973.  
  974.                       {% endif %}
  975.                     icon_color: >-
  976.                       {% if
  977.                       (state_attr('climate.home','hvac_action')=="heating") %}
  978.  
  979.                       red
  980.  
  981.                       {%else%}
  982.  
  983.                       blue
  984.  
  985.                       {% endif %}
  986.                     content: >-
  987.                       {{states('sensor.bedroom_temperature_adjusted') | round(1)
  988.                       }}°C • Target:
  989.                      {{state_attr('climate.home','temperature')}}°C •
  990.  
  991.                       Power: {{states('sensor.home_heating')}}%
  992.                     tap_action:
  993.                       action: none
  994.                     hold_action:
  995.                       action: none
  996.           - type: horizontal-stack
  997.             cards:
  998.               - type: custom:mushroom-template-card
  999.                 icon: mdi:thermometer-off
  1000.                 layout: vertical
  1001.                 entity: script.set_temperature_to_5c
  1002.                 icon_color: |-
  1003.                   {%if state_attr('climate.home', 'temperature') ==5 %}
  1004.                   cyan
  1005.                   {%else%}
  1006.                   grey
  1007.                   {%endif%}
  1008.                 hold_action:
  1009.                   action: none
  1010.                 double_tap_action:
  1011.                   action: none
  1012.                 multiline_secondary: false
  1013.               - type: custom:mushroom-template-card
  1014.                 icon: mdi:thermostat
  1015.                 layout: vertical
  1016.                 entity: script.set_temperature_to_auto
  1017.                 icon_color: |-
  1018.                   {%if states('climate.home') =="auto" %}
  1019.                   teal
  1020.                   {%else%}
  1021.                   grey
  1022.                   {%endif%}
  1023.                 double_tap_action:
  1024.                   action: none
  1025.                 hold_action:
  1026.                   action: none
  1027.               - type: custom:mushroom-template-card
  1028.                 icon: mdi:thermometer-chevron-up
  1029.                 layout: vertical
  1030.                 entity: script.19c
  1031.                 icon_color: |+
  1032.                   {%if state_attr('climate.home', 'temperature') ==19 %}
  1033.                   deep-orange
  1034.                   {%else%}
  1035.                   grey
  1036.                   {%endif%}
  1037.  
  1038.                 double_tap_action:
  1039.                   action: none
  1040.                 hold_action:
  1041.                   action: none
  1042.               - type: custom:mushroom-template-card
  1043.                 icon: mdi:sun-thermometer
  1044.                 layout: vertical
  1045.                 entity: script.set_temperature_to_20c
  1046.                 icon_color: |-
  1047.                   {%if state_attr('climate.home', 'temperature') ==20 %}
  1048.                   red
  1049.                   {%else%}
  1050.                   grey
  1051.                   {%endif%}
  1052.                 double_tap_action:
  1053.                   action: none
  1054.                 hold_action:
  1055.                   action: none
  1056.           - type: custom:mushroom-title-card
  1057.             subtitle: Automations & Devices
  1058.           - type: horizontal-stack
  1059.             cards:
  1060.               - type: custom:mushroom-template-card
  1061.                 primary: Vacuum
  1062.                 secondary: >-
  1063.                   {% if
  1064.                   is_state('automation.vacum_when_evwryine_has_left_the_house',
  1065.                   'on') %}
  1066.                     Autoclean enabled
  1067.                   {%else%}
  1068.                    Autoclean disabled
  1069.                   {% endif %}
  1070.                 icon: mdi:robot-vacuum-variant
  1071.                 entity: automation.vacum_when_evwryine_has_left_the_house
  1072.                 icon_color: >-
  1073.                   {% if
  1074.                   is_state('automation.vacum_when_evwryine_has_left_the_house',
  1075.                   'on') %}
  1076.                     orange
  1077.                   {%else%}
  1078.                    grey
  1079.                   {% endif %}
  1080.                 hold_action:
  1081.                   action: none
  1082.                 double_tap_action:
  1083.                   action: none
  1084.                 multiline_secondary: false
  1085.                 layout: horizontal
  1086.                 tap_action:
  1087.                   action: more-info
  1088.               - type: custom:mushroom-template-card
  1089.                 primary: Dehumidifier
  1090.                 secondary: |-
  1091.                   {% if is_state('switch.dehumidifier', 'on') %}
  1092.                     On
  1093.                   {%else%}
  1094.                    Off
  1095.                   {% endif %}
  1096.                 icon: mdi:air-humidifier
  1097.                 entity: switch.dehumidifier
  1098.                 icon_color: |-
  1099.                   {% if is_state('switch.dehumidifier', 'on') %}
  1100.                     orange
  1101.                   {%else%}
  1102.                    grey
  1103.                   {% endif %}
  1104.                 double_tap_action:
  1105.                   action: none
  1106.                 layout: horizontal
  1107.                 tap_action:
  1108.                   action: more-info
  1109.           - type: horizontal-stack
  1110.             cards:
  1111.               - type: custom:mushroom-template-card
  1112.                 primary: TV
  1113.                 icon: mdi:remote
  1114.                 entity: switch.tv_remote
  1115.                 icon_color: |-
  1116.                   {% if is_state('switch.tv_remote', 'on') %}
  1117.                     orange
  1118.                   {%else%}
  1119.                    grey
  1120.                   {% endif %}
  1121.                 layout: horizontal
  1122.                 secondary: >-
  1123.                   {% if
  1124.                   state_attr('remote.harmony_hub','current_activity')=="Watch
  1125.                  Movies" %} Watching Movies {% endif %}
  1126.  
  1127.                   {% if
  1128.                   state_attr('remote.harmony_hub','current_activity')=="Watch
  1129.                  TV" %} Watching TV {% endif %}
  1130.  
  1131.                   {% if
  1132.                   state_attr('remote.harmony_hub','current_activity')=="PowerOff"
  1133.                   %} Off {% endif %}
  1134.                 tap_action:
  1135.                   action: more-info
  1136.                 hold_action:
  1137.                   action: none
  1138.                 double_tap_action:
  1139.                   action: none
  1140.               - type: custom:mushroom-template-card
  1141.                 primary: Security
  1142.                 icon: |-
  1143.                   {% if is_state('input_boolean.home_master', 'on') %}
  1144.                     mdi:home-account
  1145.                   {%else%}
  1146.                     mdi:walk
  1147.                   {% endif %}
  1148.                 entity: input_boolean.home_master
  1149.                 icon_color: |-
  1150.                   {% if is_state('input_boolean.home_master', 'on') %}
  1151.                     orange
  1152.                   {%else%}
  1153.                    grey
  1154.                   {% endif %}
  1155.                 layout: horizontal
  1156.                 secondary: |2-
  1157.                    {% if is_state('input_boolean.home_master', 'on') %}
  1158.                     At home
  1159.                   {%else%}
  1160.                    Away
  1161.                   {% endif %} • {{states('input_select.occupied_room')}}
  1162.                 double_tap_action:
  1163.                   action: none
  1164.                 tap_action:
  1165.                   action: more-info
  1166.                 hold_action:
  1167.                   action: none
  1168.       - type: vertical-stack
  1169.         cards:
  1170.           - type: custom:mushroom-title-card
  1171.             subtitle: Rooms
  1172.           - type: horizontal-stack
  1173.             cards:
  1174.               - type: custom:mushroom-template-card
  1175.                 primary: Living Room
  1176.                 icon: mdi:sofa
  1177.                 entity: light.living_room_lights
  1178.                 icon_color: teal
  1179.                 tap_action:
  1180.                   action: more-info
  1181.                 hold_action:
  1182.                   action: more-info
  1183.                 double_tap_action:
  1184.                   action: more-info
  1185.                 layout: vertical
  1186.               - type: custom:mushroom-template-card
  1187.                 primary: Study
  1188.                 icon: mdi:monitor-dashboard
  1189.                 entity: light.study_lights_and_work_lights
  1190.                 icon_color: teal
  1191.                 tap_action:
  1192.                   action: more-info
  1193.                 hold_action:
  1194.                   action: none
  1195.                 double_tap_action:
  1196.                   action: none
  1197.                 layout: vertical
  1198.               - type: custom:mushroom-template-card
  1199.                 primary: Bedroom
  1200.                 icon: mdi:bed-empty
  1201.                 layout: vertical
  1202.                 entity: light.bedroom_lights
  1203.                 icon_color: teal
  1204.                 tap_action:
  1205.                   action: more-info
  1206.                 hold_action:
  1207.                   action: none
  1208.                 double_tap_action:
  1209.                   action: none
  1210.           - type: custom:mushroom-title-card
  1211.             subtitle: Ring
  1212.           - type: picture-entity
  1213.             entity: camera.front_door
  1214.             camera_image: camera.front_door
  1215.             show_name: false
  1216.             show_state: false
  1217.           - type: custom:mushroom-entity-card
  1218.             entity: sensor.front_door_battery
  1219.             name: Doorbell Battery
  1220.             icon_color: teal
  1221. title: Home
  1222.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement