Guest User

Untitled

a guest
Jun 5th, 2025
2,160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 39.83 KB | Software | 0 0
  1. type: sections
  2. max_columns: 3
  3. title: ☀️Weather
  4. path: weather
  5. sections:
  6.   - type: grid
  7.     cards:
  8.       - type: horizontal-stack
  9.         cards:
  10.           - type: custom:vertical-stack-in-card
  11.             cards:
  12.               - type: custom:simple-weather-card
  13.                 entity: weather.forecast_home
  14.                 name: " "
  15.                 primary_info:
  16.                  - precipitation
  17.                   - humidity
  18.                 secondary_info:
  19.                  - wind_speed
  20.                   - wind_bearing
  21.               - type: custom:hourly-weather
  22.                 entity: weather.forecast_home
  23.                 num_segments: "12"
  24.                 name: " "
  25.                 icons: true
  26.                 show_wind: "false"
  27.                 show_date: "false"
  28.                 show_precipitation_amounts: false
  29.                 show_precipitation_probability: false
  30.                 round_temperatures: true
  31.                 colors:
  32.                   clear-night: "#2e3440"
  33.                   cloudy: "#4c566a"
  34.                   partlycloudy: "#b2b7bf"
  35.                   rainy: "#5e81ac"
  36.                   sunny: "#ebcb8b"
  37.                 card_mod:
  38.                   style: |
  39.                    ha-card {
  40.                      border: none;
  41.                     }
  42.               - type: custom:clock-weather-card
  43.                 entity: weather.forecast_home
  44.                 hide_clock: true
  45.                 date_pattern: ccc, d.MM.yy
  46.                 animated_icon: true
  47.                 hide_today_section: true
  48.         grid_options:
  49.           columns: full
  50.       - type: custom:bubble-card
  51.         card_type: button
  52.         event_action:
  53.           tap_action:
  54.             action: more-info
  55.           double_tap_action:
  56.             action: none
  57.           hold_action:
  58.             action: none
  59.         button_type: state
  60.         entity: sensor.usa_air_quality_index
  61.         max_value: 703
  62.         min_value: 0
  63.         name: AQI
  64.         show_attribute: false
  65.         sub_button:
  66.           - entity: sensor.kleenex_pollen_radar_home_trees_level
  67.             show_state: true
  68.             show_name: false
  69.             show_attribute: false
  70.             attribute: level
  71.             show_icon: true
  72.             state_background: false
  73.             show_background: false
  74.             name: Trees
  75.             icon: mdi:tree
  76.           - entity: sensor.kleenex_pollen_radar_home_weeds_level
  77.             name: Weeds
  78.             icon: mdi:grass
  79.             show_state: true
  80.             state_background: true
  81.             show_background: false
  82.           - entity: sensor.kleenex_pollen_radar_home_weeds_level
  83.             icon: mdi:flower-pollen
  84.             show_background: false
  85.             show_state: true
  86.             show_attribute: false
  87.         icon: ios:aqi-medium
  88.         attribute: attribution
  89.         modules:
  90.          - badgy-condition-helper
  91.           - bubble_chips
  92.         progress_border:
  93.           entity: sensor.kleenex_pollen_radar_home_grass
  94.           attribute: level
  95.         bubble_chips:
  96.           justify-content: flex-start
  97.           gap: 45
  98.         badgy-condition-helper:
  99.           entity_badges:
  100.             "0":
  101.               color: light-grey
  102.               text_color: black
  103.               entity: sensor.kleenex_pollen_radar_home_trees
  104.               show_background: true
  105.               show_unit: false
  106.               show_if_off: false
  107.             "1":
  108.               color: light-grey
  109.               text_color: black
  110.               entity: sensor.kleenex_pollen_radar_home_grass
  111.               show_unit: false
  112.             "2":
  113.               color: light-grey
  114.               text_color: black
  115.               entity: sensor.kleenex_pollen_radar_home_weeds
  116.               show_unit: false
  117.         styles: |2-
  118.  
  119.             .bubble-sub-button-icon {
  120.               color: forestgreen !important;
  121.             }
  122.     column_span: 1
  123.   - type: grid
  124.     cards:
  125.       - type: iframe
  126.         url: >-
  127.           https://embed.windy.com/embed.html?type=map&location=coordinates&metricRain=in&metricTemp=°F&metricWind=mph&zoom=5&overlay=radar&product=radar&level=surface&lat=xx.xxx&lon=-xx.xxx&detailLat=xxx&detailLon=-xx.xxx&marker=true&message=true
  128.         grid_options:
  129.           columns: full
  130.           rows: 7.5
  131.         view_layout:
  132.           place-self: center stretch
  133.     column_span: 2
  134.   - type: grid
  135.     cards:
  136.       - type: horizontal-stack
  137.         cards:
  138.           - type: custom:mini-graph-card
  139.             color_thresholds:
  140.               - color: "#468FAF"
  141.                 value: 14
  142.               - color: "#73B3D3"
  143.                 value: 32
  144.               - color: "#8AC926"
  145.                 value: 60
  146.               - color: "#FFCA3A"
  147.                 value: 75
  148.               - color: "#FF595E"
  149.                 value: 90
  150.             color_thresholds_transition: smooth
  151.             name: Temperature
  152.             entities:
  153.               - entity: sensor.home_tempest_temperature
  154.                 name: Temperature
  155.               - color: rgba(128,128,128,0.3)
  156.                 entity: sensor.nightstate
  157.                 show_line: false
  158.                 show_points: false
  159.                 y_axis: secondary
  160.                 show_legend: false
  161.             font_size: 65
  162.             line_width: 4
  163.             animate: true
  164.             points_per_hour: 2
  165.             decimals: 0
  166.             smoothing: true
  167.             show:
  168.               extrema: false
  169.               fill: fade
  170.               state: true
  171.               average: false
  172.               labels_secondary: false
  173.               legend: false
  174.               name_adaptive_color: true
  175.               icon_adaptive_color: true
  176.             card_mod:
  177.               style: |
  178.                .name {
  179.                   font-size: 95%;
  180.                 }
  181.                 .header {
  182.                   padding-bottom: 0px;
  183.                 }
  184.                 .states {
  185.                   padding-bottom: 5px;
  186.                 }
  187.                 ha-card {
  188.                   padding-top: 5px !important;
  189.                 }
  190.                 .states.flex {
  191.                   font-weight: bold;
  192.                 }
  193.           - type: custom:mini-graph-card
  194.             name: Dew Point
  195.             hours_to_show: 24
  196.             points_per_hour: 2
  197.             font_size: 65
  198.             line_width: 4
  199.             animate: true
  200.             decimals: 0
  201.             smoothing: true
  202.             color_thresholds:
  203.               - color: "#468FAF"
  204.                 value: 32
  205.               - color: "#73B3D3"
  206.                 value: 50
  207.               - color: "#8AC926"
  208.                 value: 60
  209.               - color: "#FFCA3A"
  210.                 value: 65
  211.               - color: "#FF595E"
  212.                 value: 70
  213.             color_thresholds_transition: smooth
  214.             entities:
  215.               - entity: sensor.home_tempest_dew_point
  216.                 name: Dewpoint
  217.                 state_adaptive_color: false
  218.               - entity: sensor.nightstate
  219.                 color: rgba(128,128,128,0.3)
  220.                 name: Night
  221.                 y_axis: secondary
  222.                 show_legend: false
  223.                 show_line: false
  224.                 show_points: false
  225.             show:
  226.               extrema: false
  227.               fill: fade
  228.               state: true
  229.               average: false
  230.               labels_secondary: false
  231.               legend: false
  232.               name_adaptive_color: true
  233.               icon_adaptive_color: true
  234.             card_mod:
  235.               style: |
  236.                .name {
  237.                   font-size: 95%;
  238.                 }
  239.                 .header {
  240.                   padding-bottom: 0px;
  241.                 }
  242.                 .states {
  243.                   padding-bottom: 5px;
  244.                 }
  245.                 ha-card {
  246.                   padding-top: 5px !important;
  247.                 }
  248.                 .states.flex {
  249.                   font-weight: bold;
  250.                 }
  251.         grid_options:
  252.           columns: 12
  253.           rows: auto
  254.       - type: horizontal-stack
  255.         cards:
  256.           - type: custom:mini-graph-card
  257.             name: Humidity
  258.             entities:
  259.               - entity: sensor.home_tempest_humidity
  260.                 name: Humidity
  261.                 show_state: true
  262.                 show_legend: false
  263.                 state_adaptive_color: false
  264.               - color: rgba(128,128,128,0.3)
  265.                 entity: sensor.nightstate
  266.                 name: Night
  267.                 show_legend: false
  268.                 show_line: false
  269.                 show_points: false
  270.                 y_axis: secondary
  271.             font_size: 65
  272.             line_width: 4
  273.             animate: true
  274.             points_per_hour: 2
  275.             decimals: 0
  276.             smoothing: true
  277.             color_thresholds_transition: smooth
  278.             show:
  279.               extrema: false
  280.               fill: fade
  281.               state: true
  282.               average: false
  283.               labels_secondary: false
  284.               legend: false
  285.               name_adaptive_color: true
  286.               icon_adaptive_color: true
  287.             color_thresholds:
  288.               - color: "#468FAF"
  289.                 value: 20
  290.               - color: "#73B3D3"
  291.                 value: 40
  292.               - color: "#8AC926"
  293.                 value: 60
  294.               - color: "#FFCA3A"
  295.                 value: 80
  296.               - color: "#FF595E"
  297.                 value: 95
  298.             card_mod:
  299.               style: |
  300.                .name {
  301.                   font-size: 95%;
  302.                 }
  303.                 .header {
  304.                   padding-bottom: 0px;
  305.                 }
  306.                 .states {
  307.                   padding-bottom: 5px;
  308.                 }
  309.                 ha-card {
  310.                   padding-top: 5px !important;
  311.                 }
  312.                 .states.flex {
  313.                   font-weight: bold;
  314.                 }
  315.           - type: custom:mini-graph-card
  316.             name: UV Index
  317.             entities:
  318.               - entity: sensor.home_sensors_uv_index
  319.                 name: UV
  320.                 show_state: true
  321.                 state_adaptive_color: false
  322.                 show_labels: false
  323.               - entity: sensor.home_sensors_uv_description
  324.                 show_state: true
  325.                 show_legend: false
  326.                 show_graph: false
  327.                 smoothing: false
  328.               - color: rgba(128,128,128,0.3)
  329.                 entity: sensor.nightstate
  330.                 name: Night
  331.                 show_legend: false
  332.                 show_line: false
  333.                 show_points: false
  334.                 y_axis: secondary
  335.             font_size: 65
  336.             line_width: 4
  337.             animate: true
  338.             points_per_hour: 2
  339.             decimals: 0
  340.             smoothing: true
  341.             show:
  342.               extrema: false
  343.               fill: fade
  344.               state: true
  345.               average: false
  346.               labels_secondary: false
  347.               legend: false
  348.               name_adaptive_color: true
  349.               icon_adaptive_color: true
  350.             color_thresholds:
  351.               - color: "#3EA72D"
  352.                 value: 2
  353.               - color: "#FFF300"
  354.                 value: 5
  355.               - color: "#F18B00"
  356.                 value: 7
  357.               - color: "#E53210"
  358.                 value: 10
  359.               - color: "#B567A4"
  360.                 value: 11
  361.             card_mod:
  362.               style: |
  363.                .name {
  364.                   font-size: 95%;
  365.                 }
  366.                 .header {
  367.                   padding-bottom: 0px;
  368.                 }
  369.                 .states {
  370.                   padding-bottom: 5px;
  371.                 }
  372.                 ha-card {
  373.                   padding-top: 5px !important;
  374.                 }
  375.                 .states.flex {
  376.                   font-weight: bold;
  377.                 }
  378.                 .states--secondary {
  379.                   font-size: 75%;
  380.                   margin-top: 5px;
  381.                   margin-right: 0px !important;
  382.                   font-weight: 500;
  383.                 }
  384.             state_map:
  385.               - value: low
  386.                 label: Low
  387.               - value: moderate
  388.                 label: Moderate
  389.               - value: high
  390.                 label: High
  391.               - value: very-high
  392.                 label: Very High
  393.               - value: extreme
  394.                 label: Extreme
  395.       - type: horizontal-stack
  396.         cards:
  397.           - type: custom:mini-graph-card
  398.             name: Pressure
  399.             entities:
  400.               - entity: sensor.home_tempest_cloud_pressure_sea_level
  401.                 name: Pressure
  402.                 show_state: true
  403.                 show_legend: false
  404.               - entity: sensor.home_sensors_pressure_trend
  405.                 name: Pressure
  406.                 show_state: true
  407.                 show_legend: false
  408.                 show_graph: false
  409.                 smoothing: false
  410.               - color: rgba(128,128,128,0.3)
  411.                 entity: sensor.nightstate
  412.                 name: Night
  413.                 show_legend: false
  414.                 show_line: false
  415.                 show_points: false
  416.                 y_axis: secondary
  417.             font_size: 65
  418.             line_width: 4
  419.             animate: true
  420.             points_per_hour: 2
  421.             decimals: 2
  422.             smoothing: true
  423.             show:
  424.               extrema: false
  425.               fill: fade
  426.               labels_secondary: false
  427.               legend: false
  428.               name_adaptive_color: true
  429.               icon_adaptive_color: true
  430.             color_thresholds:
  431.               - color: "#5DADE2"
  432.                 value: 29.53
  433.               - color: "#73B3D3"
  434.                 value: 29.92
  435.               - color: "#8AC926"
  436.                 value: 30.11
  437.               - color: "#FFCA3A"
  438.                 value: 30.36
  439.               - color: "#FF595E"
  440.                 value: 30.74
  441.             card_mod:
  442.               style: |
  443.                .name {
  444.                   font-size: 95%;
  445.                 }
  446.                 .header {
  447.                   padding-bottom: 0px;
  448.                 }
  449.                 .states {
  450.                   padding-bottom: 5px;
  451.                 }
  452.                 ha-card {
  453.                   padding-top: 5px !important;
  454.                 }
  455.                 .states.flex {
  456.                   font-weight: bold;
  457.                 }
  458.                 .states--secondary {
  459.                   font-size: 75%;
  460.                   margin-top: 5px;
  461.                   margin-right: 0px !important;
  462.                   font-weight: 500;
  463.                 }
  464.             state_map:
  465.               - value: falling
  466.                 label: Falling
  467.               - value: steady
  468.                 label: Steady
  469.               - value: rising
  470.                 label: Rising
  471.           - type: custom:mini-graph-card
  472.             name: Visibility
  473.             entities:
  474.               - entity: sensor.home_sensors_visibility
  475.                 name: Visibility
  476.                 show_state: true
  477.                 show_legend: false
  478.               - color: rgba(128,128,128,0.3)
  479.                 entity: sensor.nightstate
  480.                 name: Night
  481.                 show_legend: false
  482.                 show_line: false
  483.                 show_points: false
  484.                 y_axis: secondary
  485.             font_size: 65
  486.             line_width: 4
  487.             animate: true
  488.             points_per_hour: 2
  489.             decimals: 0
  490.             smoothing: true
  491.             show:
  492.               extrema: false
  493.               fill: fade
  494.               state: true
  495.               average: false
  496.               labels_secondary: false
  497.               legend: false
  498.               name_adaptive_color: true
  499.               icon_adaptive_color: true
  500.             color_thresholds:
  501.               - color: "#FF595E"
  502.                 value: 1
  503.               - color: "#FFCA3A"
  504.                 value: 3
  505.               - color: "#8AC926"
  506.                 value: 6
  507.               - color: "#73B3D3"
  508.                 value: 9
  509.               - color: "#468FAF"
  510.                 value: 12
  511.             card_mod:
  512.               style: |
  513.                .name {
  514.                   font-size: 95%;
  515.                 }
  516.                 .header {
  517.                   padding-bottom: 0px;
  518.                 }
  519.                 .states {
  520.                   padding-bottom: 5px;
  521.                 }
  522.                 ha-card {
  523.                   padding-top: 5px !important;
  524.                 }
  525.                 .states.flex {
  526.                   font-weight: bold;
  527.                 }
  528.       - type: horizontal-stack
  529.         cards:
  530.           - type: custom:mini-graph-card
  531.             name: Precipitation Intensity
  532.             entities:
  533.               - entity: sensor.home_sensors_precipitation_intensity
  534.                 show_state: true
  535.                 show_legend: false
  536.                 state_adaptive_color: false
  537.               - color: rgba(128,128,128,0.3)
  538.                 entity: sensor.nightstate
  539.                 name: Night
  540.                 show_legend: false
  541.                 show_line: false
  542.                 show_points: false
  543.                 y_axis: secondary
  544.             font_size: 65
  545.             line_width: 4
  546.             animate: true
  547.             aggregate_func: max
  548.             points_per_hour: 2
  549.             show:
  550.               extrema: false
  551.               fill: fade
  552.               state: true
  553.               average: false
  554.               labels_secondary: false
  555.               legend: false
  556.               name_adaptive_color: true
  557.               icon_adaptive_color: true
  558.             color_thresholds:
  559.               - color: "#FFFFFF"
  560.                 value: 0
  561.               - color: "#CAF0F8"
  562.                 value: 0.25
  563.               - color: "#ADE8F4"
  564.                 value: 0.5
  565.               - color: "#90E0EF"
  566.                 value: 1
  567.               - color: "#48CAE4"
  568.                 value: 4
  569.               - color: "#0077B6"
  570.                 value: 16
  571.               - color: "#0077B6"
  572.                 value: 50
  573.             card_mod:
  574.               style: |
  575.                .name {
  576.                   font-size: 95%;
  577.                 }
  578.                 .header {
  579.                   padding-bottom: 0px;
  580.                 }
  581.                 .states {
  582.                   padding-bottom: 5px;
  583.                 }
  584.                 ha-card {
  585.                   padding-top: 5px !important;
  586.                 }
  587.                 .states.flex {
  588.                   font-weight: bold;
  589.                 }
  590.             state_map:
  591.               - value: no_rain
  592.                 label: None
  593.               - value: very_light
  594.                 label: Very Light
  595.               - value: light
  596.                 label: Light
  597.               - value: moderate
  598.                 label: Moderate
  599.               - value: heavy
  600.                 label: Heavy
  601.               - value: very_heavy
  602.                 label: Very Heavy
  603.               - value: extreme
  604.                 label: Extreme
  605.           - type: custom:mini-graph-card
  606.             name: Precipitation Rate
  607.             entities:
  608.               - entity: sensor.home_sensors_precipitation_rate
  609.                 show_state: true
  610.                 show_legend: false
  611.                 state_adaptive_color: false
  612.               - color: rgba(128,128,128,0.3)
  613.                 entity: sensor.nightstate
  614.                 name: Night
  615.                 show_legend: false
  616.                 show_line: false
  617.                 show_points: false
  618.                 y_axis: secondary
  619.             font_size: 65
  620.             line_width: 4
  621.             animate: true
  622.             points_per_hour: 4
  623.             aggregate_func: max
  624.             show:
  625.               extrema: false
  626.               fill: fade
  627.               state: true
  628.               average: false
  629.               labels_secondary: false
  630.               legend: false
  631.               name_adaptive_color: true
  632.               icon_adaptive_color: true
  633.             color_thresholds:
  634.               - color: "#CAF0F8"
  635.                 value: 0.01
  636.               - color: "#ADE8F4"
  637.                 value: 0.1
  638.               - color: "#90E0EF"
  639.                 value: 0.25
  640.               - color: "#48CAE4"
  641.                 value: 0.5
  642.               - color: "#0077B6"
  643.                 value: 1
  644.             card_mod:
  645.               style: |
  646.                .name {
  647.                   font-size: 95%;
  648.                 }
  649.                 .header {
  650.                   padding-bottom: 0px;
  651.                 }
  652.                 .states {
  653.                   padding-bottom: 5px;
  654.                 }
  655.                 ha-card {
  656.                   padding-top: 5px !important;
  657.                 }
  658.                 .states.flex {
  659.                   font-weight: bold;
  660.                 }
  661.       - type: horizontal-stack
  662.         cards:
  663.           - type: custom:mini-graph-card
  664.             name: Precipitation Today
  665.             entities:
  666.               - entity: sensor.home_sensors_precipitation_today_checked
  667.                 name: Checked
  668.                 show_state: true
  669.                 state_adaptive_color: true
  670.               - entity: sensor.home_sensors_precipitation_today
  671.                 name: Standard
  672.                 show_state: true
  673.                 state_adaptive_color: true
  674.             font_size: 65
  675.             line_width: 4
  676.             animate: true
  677.             points_per_hour: 1
  678.             decimals: 2
  679.             show:
  680.               extrema: false
  681.               fill: fade
  682.               state: true
  683.               average: false
  684.               labels_secondary: false
  685.               legend: false
  686.               name_adaptive_color: true
  687.               icon_adaptive_color: true
  688.             color_thresholds:
  689.               - color: "#CAF0F8"
  690.                 value: 0.01
  691.               - color: "#ADE8F4"
  692.                 value: 0.1
  693.               - color: "#90E0EF"
  694.                 value: 0.5
  695.               - color: "#48CAE4"
  696.                 value: 1
  697.               - color: "#0077B6"
  698.                 value: 2
  699.             card_mod:
  700.               style: |
  701.                .name {
  702.                   font-size: 95%;
  703.                 }
  704.                 .header {
  705.                   padding-bottom: 0px;
  706.                 }
  707.                 .states {
  708.                   padding-bottom: 5px;
  709.                 }
  710.                 ha-card {
  711.                   padding-top: 5px !important;
  712.                 }
  713.                 .states.flex {
  714.                   font-weight: bold;
  715.                 }
  716.           - type: custom:mini-graph-card
  717.             name: Precipitation Duration
  718.             entities:
  719.               - entity: sensor.home_sensors_precipitation_duration_today
  720.                 show_state: true
  721.                 state_adaptive_color: false
  722.             font_size: 70
  723.             line_width: 4
  724.             animate: true
  725.             points_per_hour: 2
  726.             color_thresholds_transition: smooth
  727.             show:
  728.               extrema: false
  729.               fill: fade
  730.               state: true
  731.               average: false
  732.               labels_secondary: false
  733.               legend: false
  734.               name_adaptive_color: true
  735.               icon_adaptive_color: true
  736.               graph: bar
  737.             color_thresholds:
  738.               - color: "#CAF0F8"
  739.                 value: 0.5
  740.               - color: "#ADE8F4"
  741.                 value: 1
  742.               - color: "#90E0EF"
  743.                 value: 3
  744.               - color: "#48CAE4"
  745.                 value: 6
  746.               - color: "#0077B6"
  747.                 value: 12
  748.             card_mod:
  749.               style: |
  750.                .name {
  751.                   font-size: 95%;
  752.                 }
  753.                 .header {
  754.                   padding-bottom: 0px;
  755.                 }
  756.                 .states {
  757.                   padding-bottom: 5px;
  758.                 }
  759.                 ha-card {
  760.                   padding-top: 5px !important;
  761.                 }
  762.                 .states.flex {
  763.                   font-weight: bold;
  764.                 }
  765.         grid_options:
  766.           columns: 12
  767.           rows: auto
  768.       - type: horizontal-stack
  769.         cards:
  770.           - type: custom:mini-graph-card
  771.             name: Strikes
  772.             entities:
  773.               - entity: sensor.home_sensors_lightning_strikes_last_3_hours
  774.                 show_state: true
  775.                 show_legend: false
  776.                 state_adaptive_color: false
  777.                 name: Last 3 Hours
  778.               - entity: sensor.home_sensors_lightning_strikes_last_hour
  779.                 show_state: true
  780.                 show_legend: false
  781.                 state_adaptive_color: false
  782.                 name: Last Hour
  783.               - color: rgba(128,128,128,0.3)
  784.                 entity: sensor.nightstate
  785.                 name: Night
  786.                 show_legend: false
  787.                 show_line: false
  788.                 show_points: false
  789.                 y_axis: secondary
  790.             font_size: 65
  791.             line_width: 4
  792.             animate: true
  793.             points_per_hour: 4
  794.             smoothing: false
  795.             show:
  796.               extrema: false
  797.               fill: fade
  798.               state: true
  799.               average: false
  800.               labels_secondary: false
  801.               legend: false
  802.               name_adaptive_color: true
  803.               icon_adaptive_color: true
  804.             color_thresholds:
  805.               - color: "#FFFBCC"
  806.                 value: 1
  807.               - color: "#FFF2A3"
  808.                 value: 5
  809.               - color: "#FFE87B"
  810.                 value: 10
  811.               - color: "#FFDE52"
  812.                 value: 20
  813.               - color: "#FFD700"
  814.                 value: 20
  815.             card_mod:
  816.               style: |
  817.                .name {
  818.                   font-size: 95%;
  819.                 }
  820.                 .header {
  821.                   padding-bottom: 0px;
  822.                 }
  823.                 .states {
  824.                   padding-bottom: 5px;
  825.                 }
  826.                 ha-card {
  827.                   padding-top: 5px !important;
  828.                 }
  829.                 .states.flex {
  830.                   font-weight: bold;
  831.                 }
  832.           - type: custom:mini-graph-card
  833.             name: Distance
  834.             entities:
  835.               - entity: sensor.home_sensors_distance_last_lightning_strike
  836.                 show_state: true
  837.                 show_legend: false
  838.                 state_adaptive_color: false
  839.                 name: Distance
  840.               - color: rgba(128,128,128,0.3)
  841.                 entity: sensor.nightstate
  842.                 name: Night
  843.                 show_legend: false
  844.                 show_line: false
  845.                 show_points: false
  846.                 y_axis: secondary
  847.             font_size: 65
  848.             line_width: 4
  849.             animate: true
  850.             points_per_hour: 4
  851.             smoothing: false
  852.             show:
  853.               extrema: false
  854.               fill: fade
  855.               state: true
  856.               average: false
  857.               labels_secondary: false
  858.               legend: false
  859.               name_adaptive_color: true
  860.               icon_adaptive_color: true
  861.             color_thresholds:
  862.               - color: "#FFFBCC"
  863.                 value: 1
  864.               - color: "#FFF2A3"
  865.                 value: 5
  866.               - color: "#FFE87B"
  867.                 value: 10
  868.               - color: "#FFDE52"
  869.                 value: 20
  870.               - color: "#FFD700"
  871.                 value: 20
  872.             card_mod:
  873.               style: |
  874.                .name {
  875.                   font-size: 95%;
  876.                 }
  877.                 .header {
  878.                   padding-bottom: 0px;
  879.                 }
  880.                 .states {
  881.                   padding-bottom: 5px;
  882.                 }
  883.                 ha-card {
  884.                   padding-top: 5px !important;
  885.                 }
  886.                 .states.flex {
  887.                   font-weight: bold;
  888.                 }
  889.         grid_options:
  890.           columns: 12
  891.           rows: auto
  892.       - type: horizontal-stack
  893.         cards:
  894.           - type: custom:mini-graph-card
  895.             name: Wind
  896.             icon: mdi:weather-windy
  897.             entities:
  898.               - entity: sensor.home_tempest_wind_speed
  899.                 name: Speed
  900.                 color: "#e5d0ff"
  901.                 show_state: true
  902.                 state_adaptive_color: true
  903.               - entity: sensor.home_tempest_wind_gust
  904.                 name: Gust
  905.                 show_state: true
  906.                 color: "#bf8bff"
  907.                 aggregate_func: max
  908.                 state_adaptive_color: true
  909.               - entity: sensor.nightstate
  910.                 color: rgba(128,128,128,0.3)
  911.                 name: Night
  912.                 show_legend: false
  913.                 show_line: false
  914.                 show_points: false
  915.                 y_axis: secondary
  916.             hours_to_show: 24
  917.             points_per_hour: 12
  918.             animate: true
  919.             font_size: 65
  920.             line_width: 2
  921.             height: 60
  922.             decimals: 1
  923.             show:
  924.               icon: true
  925.               state: true
  926.               name_adaptive_color: true
  927.               icon_adaptive_color: true
  928.               extrema: false
  929.               legend: false
  930.               labels_secondary: false
  931.               fill: fade
  932.             card_mod:
  933.               style: |
  934.                .name {
  935.                   font-size: 95%;
  936.                 }
  937.                 .header {
  938.                   padding-bottom: 0px;
  939.                 }
  940.                 .states {
  941.                   padding-bottom: 0px;
  942.                 }
  943.                 ha-card {
  944.                   padding-top: 5px !important;
  945.                 }
  946.                 .states.flex {
  947.                   font-weight: bold;
  948.                 }
  949.         grid_options:
  950.           columns: 12
  951.           rows: auto
  952.       - type: horizontal-stack
  953.         cards:
  954.           - type: custom:mini-graph-card
  955.             name: Humidex
  956.             entities:
  957.               - entity: sensor.thermal_comfort_humidex_perception
  958.                 name: Humidex
  959.                 show_state: false
  960.             hours_to_show: 24
  961.             points_per_hour: 1
  962.             font_size: 40
  963.             aggregate_func: max
  964.             animate: true
  965.             smoothing: false
  966.             show:
  967.               labels: false
  968.               legend: false
  969.               name_adaptive_color: true
  970.               icon_adaptive_color: true
  971.             color_thresholds:
  972.               - value: 0
  973.                 color: "#4caf50"
  974.               - value: 1
  975.                 color: "#cddc39"
  976.               - value: 2
  977.                 color: "#ffeb3b"
  978.               - value: 3
  979.                 color: "#ff9800"
  980.               - value: 4
  981.                 color: "#f44336"
  982.               - value: 5
  983.                 color: "#880e4f"
  984.             state_map:
  985.               - value: comfortable
  986.                 label: Comfortable
  987.               - value: noticable_discomfort
  988.                 label: Noticeable Discomfort
  989.               - value: evident_discomfort
  990.                 label: Evident Discomfort
  991.               - value: great_discomfort
  992.                 label: Great Discomfort
  993.               - value: dangerous_discomfort
  994.                 label: Dangerous
  995.               - value: heat_stroke
  996.                 label: Heat Stroke
  997.             card_mod:
  998.               style: |
  999.                .name {
  1000.                   font-size: 95%;
  1001.                 }
  1002.                 .header {
  1003.                   padding-bottom: 0px;
  1004.                 }
  1005.                 .states {
  1006.                   padding-bottom: 5px;
  1007.                 }
  1008.                 ha-card {
  1009.                   padding-top: 4px !important;
  1010.                 }
  1011.                 .states.flex {
  1012.                   font-weight: bold;
  1013.                 }
  1014.           - type: custom:mini-graph-card
  1015.             name: Dew Point
  1016.             entities:
  1017.               - entity: sensor.thermal_comfort_dew_point_perception
  1018.                 name: Dew Point
  1019.                 name_adaptive_color: true
  1020.             hours_to_show: 24
  1021.             points_per_hour: 1
  1022.             font_size: 40
  1023.             aggregate_func: max
  1024.             animate: true
  1025.             smoothing: false
  1026.             show:
  1027.               labels: false
  1028.               legend: false
  1029.               name_adaptive_color: true
  1030.               icon_adaptive_color: true
  1031.             color_thresholds:
  1032.               - value: 0
  1033.                 color: "#b3e5fc"
  1034.               - value: 1
  1035.                 color: "#81d4fa"
  1036.               - value: 2
  1037.                 color: "#4caf50"
  1038.               - value: 3
  1039.                 color: "#cddc39"
  1040.               - value: 4
  1041.                 color: "#ffeb3b"
  1042.               - value: 5
  1043.                 color: "#ff9800"
  1044.               - value: 6
  1045.                 color: "#f44336"
  1046.               - value: 7
  1047.                 color: "#880e4f"
  1048.             state_map:
  1049.               - value: dry
  1050.                 label: Dry
  1051.               - value: very_comfortable
  1052.                 label: Very Comfortable
  1053.               - value: comfortable
  1054.                 label: Comfortable
  1055.               - value: ok_but_humid
  1056.                 label: Ok But Humid
  1057.               - value: somewhat_uncomfortable
  1058.                 label: Somewhat Uncomfortable
  1059.               - value: quite_uncomfortable
  1060.                 label: Quite Uncomfortable
  1061.               - value: extremely_uncomfortable
  1062.                 label: Extremely Uncomfortable
  1063.               - value: severely_high
  1064.                 label: Severely High
  1065.             card_mod:
  1066.               style: |
  1067.                .name {
  1068.                   font-size: 95%;
  1069.                 }
  1070.                 .header {
  1071.                   padding-bottom: 0px;
  1072.                 }
  1073.                 .states {
  1074.                   padding-bottom: 5px;
  1075.                 }
  1076.                 ha-card {
  1077.                   padding-top: 4px !important;
  1078.                 }
  1079.                 .states.flex {
  1080.                   font-weight: bold;
  1081.                 }
  1082.       - type: horizontal-stack
  1083.         cards:
  1084.           - type: custom:mini-graph-card
  1085.             name: Summer Simmer
  1086.             entities:
  1087.               - entity: sensor.thermal_comfort_summer_simmer_perception
  1088.                 name: Summer Simmer
  1089.             hours_to_show: 24
  1090.             points_per_hour: 1
  1091.             font_size: 40
  1092.             aggregate_func: max
  1093.             animate: true
  1094.             smoothing: false
  1095.             show:
  1096.               labels: false
  1097.               legend: false
  1098.               name_adaptive_color: true
  1099.               icon_adaptive_color: true
  1100.               fill: fade
  1101.             color_thresholds:
  1102.               - value: 0
  1103.                 color: "#4a90e2"
  1104.               - value: 1
  1105.                 color: "#50e3c2"
  1106.               - value: 2
  1107.                 color: "#7ed321"
  1108.               - value: 3
  1109.                 color: "#f5a623"
  1110.               - value: 4
  1111.                 color: "#f8e71c"
  1112.               - value: 5
  1113.                 color: "#f55e2e"
  1114.               - value: 6
  1115.                 color: "#d0021b"
  1116.               - value: 7
  1117.                 color: "#8b0000"
  1118.               - value: 8
  1119.                 color: "#4b0082"
  1120.             state_map:
  1121.               - value: cool
  1122.                 label: Cool
  1123.               - value: slightly_cool
  1124.                 label: Slightly Cool
  1125.               - value: comfortable
  1126.                 label: Comfortable
  1127.               - value: slightly_warm
  1128.                 label: Slightly Warm
  1129.               - value: increasing_discomfort
  1130.                 label: Increasing Discomfort
  1131.               - value: extremely_warm
  1132.                 label: Extremely Warm
  1133.               - value: danger_of_heatstroke
  1134.                 label: Heatstroke Risk
  1135.               - value: extreme_danger_of_heatstroke
  1136.                 label: Extreme Risk
  1137.               - value: circulatory_collapse_imminent
  1138.                 label: Collapse Imminent
  1139.             card_mod:
  1140.               style: |
  1141.                .name {
  1142.                   font-size: 95%;
  1143.                 }
  1144.                 .header {
  1145.                   padding-bottom: 0px;
  1146.                 }
  1147.                 .states {
  1148.                   padding-bottom: 5px;
  1149.                 }
  1150.                 ha-card {
  1151.                   padding-top: 4px !important;
  1152.                 }
  1153.                 .states.flex {
  1154.                   font-weight: bold;
  1155.                 }
  1156.           - type: custom:mini-graph-card
  1157.             name: Discomfort
  1158.             entities:
  1159.               - entity: sensor.thermal_comfort_thoms_discomfort_perception
  1160.                 name: Discomfort
  1161.                 show_state: false
  1162.             hours_to_show: 24
  1163.             points_per_hour: 1
  1164.             font_size: 40
  1165.             animate: true
  1166.             smoothing: false
  1167.             aggregate_func: max
  1168.             show:
  1169.               labels: false
  1170.               legend: false
  1171.               name_adaptive_color: true
  1172.               icon_adaptive_color: true
  1173.               fill: fade
  1174.             color_thresholds:
  1175.               - value: 0
  1176.                 color: "#4caf50"
  1177.               - value: 1
  1178.                 color: "#cddc39"
  1179.               - value: 2
  1180.                 color: "#ffeb3b"
  1181.               - value: 3
  1182.                 color: "#ff9800"
  1183.               - value: 4
  1184.                 color: "#f44336"
  1185.               - value: 5
  1186.                 color: "#880e4f"
  1187.             state_map:
  1188.               - value: no_discomfort
  1189.                 label: No Discomfort
  1190.               - value: less_than_half
  1191.                 label: Less than Half
  1192.               - value: more_than_half
  1193.                 label: More than Half
  1194.               - value: most
  1195.                 label: Most
  1196.               - value: everyone
  1197.                 label: Everyone
  1198.               - value: dangerous
  1199.                 label: Dangerous
  1200.             card_mod:
  1201.               style: |
  1202.                .name {
  1203.                   font-size: 95%;
  1204.                 }
  1205.                 .header {
  1206.                   padding-bottom: 0px;
  1207.                 }
  1208.                 .states {
  1209.                   padding-bottom: 5px;
  1210.                 }
  1211.                 ha-card {
  1212.                   padding-top: 4px !important;
  1213.                 }
  1214.                 .states.flex {
  1215.                   font-weight: bold;
  1216.                 }
  1217.       - type: conditional
  1218.         conditions:
  1219.           - condition: numeric_state
  1220.             entity: sensor.nws_alerts_alerts
  1221.             above: 0
  1222.         card:
  1223.           type: markdown
  1224.           content: >
  1225.            {% set alerts = state_attr('sensor.nws_alerts_alerts', 'Alerts') %}
  1226.             {% if alerts %}
  1227.               {% for alert in alerts %}
  1228.             ⚠️ **{{ alert.Event }}**
  1229.  
  1230.             🕒 <strong>Issued:</strong>   {{ as_local(strptime(alert.Sent,
  1231.             '%Y-%m-%dT%H:%M:%S%z')).strftime('%-m/%-d/%y at %-I:%M %p') }}
  1232.  
  1233.             ⏰ <strong>Expires:</strong>   {{ as_local(strptime(alert.Expires,
  1234.             '%Y-%m-%dT%H:%M:%S%z')).strftime('%-m/%-d/%y at %-I:%M %p') }} {% if
  1235.             alert.Severity != 'Unknown' %} 📊 Severity: {{ alert.Severity }} {%
  1236.             endif %} {% if alert.Certainty != 'Unknown' %} 📡 Certainty: {{
  1237.             alert.Certainty }} {% endif %} <details> <summary>📝
  1238.             <strong>Description</strong></summary>
  1239.               {{ alert.Headline }}
  1240.               {% set desc = alert.Description.replace('\n', ' ') %}
  1241.               {% set parts = desc.split('* ') %}
  1242.               {% for part in parts if part %}
  1243.               <strong>{{ part.split('...')[0] | trim }}:</strong> {{ part.split('...', 1)[1] | trim }}
  1244.               {% endfor %}
  1245.             </details>
  1246.  
  1247.             <details>
  1248.               <summary>📢 <strong>Instructions</strong></summary>
  1249.               {% set instruction = alert.Instruction.replace('\n', ' ') %}
  1250.               {{ instruction | trim }}
  1251.             </details>
  1252.  
  1253.               {% endfor %}
  1254.             {% else %} ☀️ No active alerts. {% endif %}
  1255.     column_span: 3
  1256. icon: ""
  1257. cards: []
  1258. badges: []
  1259. header: {}
  1260. top_margin: false
  1261. dense_section_placement: true
  1262. background:
  1263.   opacity: 0
  1264.   alignment: center
  1265.   size: contain
  1266.   repeat: no-repeat
  1267.   attachment: scroll
  1268. layout: {}
Advertisement
Add Comment
Please, Sign In to add comment