Dadhawk

Ecowitt Wittboy powered Home assistant Dashboard

Nov 27th, 2023
7,252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.51 KB | Source Code | 0 0
  1.  - title: Weather
  2.     path: weather
  3.     icon: mdi:umbrella-outline
  4.     theme: waves
  5.     badges: []
  6.     cards:
  7.       - type: custom:mini-graph-card
  8.         name: Rain
  9.         hours_to_show: 24
  10.         points_per_hour: 4
  11.         decimals: 1
  12.         entities:
  13.           - entity: sensor.gw2000b_rain_rate_piezo
  14.             name: Rain
  15.             show_state: false
  16.             state_adaptive_color: true
  17.           - entity: sensor.gw2000b_daily_rain_rate_piezo
  18.             name: Rain
  19.             show_state: true
  20.             show_graph: false
  21.             state_adaptive_color: true
  22.         show:
  23.           labels: true
  24.           icon: false
  25.           state: true
  26.           graph: bar
  27.       - type: custom:mini-graph-card
  28.         name: Winds
  29.         icon: mdi:weather-windy
  30.         hours_to_show: 24
  31.         points_per_hour: 15
  32.         line_width: 2
  33.         decimals: 1
  34.         entities:
  35.           - entity: sensor.gw2000b_wind_gust
  36.             name: Gust
  37.             show_state: true
  38.             state_adaptive_color: true
  39.           - entity: sensor.gw2000b_wind_speed
  40.             name: Speed
  41.             color: '#c47910'
  42.             show_state: true
  43.             state_adaptive_color: true
  44.         show:
  45.           labels: true
  46.           icon: true
  47.           state: true
  48.           extrema: true
  49.           points: false
  50.       - type: custom:mushroom-template-card
  51.         primary: >-
  52.           {% set direction = ['NORTH','NORTH-NORTHEAST','NORTHEAST','EAST
  53.           NORTHEAST','EAST','EAST SOUTHEST','SOUTHEAST','SOUTH
  54.           SOUTHEAST','SOUTH','SOUTH SOUTHWEST','SOUTHWEST','WEST
  55.           SOUTHWEST','WEST','WEST NORTHWEST','NORTHWEST','NORTH
  56.           NORTHWEST','NORTH'] %}
  57.  
  58.           {% set degree = states(entity)|float %}
  59.  
  60.           Wind - {{ direction[((degree+11.25)/22.5)|int] }}
  61.         secondary: '{{states("sensor.gw2000b_wind_speed")}} km/h'
  62.         icon: mdi:compass-rose
  63.         icon_color: teal
  64.         entity: sensor.gw2000b_wind_direction
  65.         badge_color: ''
  66.         fill_container: true
  67.       - type: custom:windrose-card
  68.         title: Historic Wind Direction - 48 hrs
  69.         data_period:
  70.           hours_to_show: 48
  71.         max_width: 400
  72.         refresh_interval: 60
  73.         windspeed_bar_location: bottom
  74.         windspeed_bar_full: true
  75.         wind_direction_entity:
  76.           entity: sensor.gw2000b_wind_direction
  77.           direction_unit: degrees
  78.           use_statistics: false
  79.           direction_compensation: 0
  80.         windspeed_entities:
  81.           - entity: sensor.gw2000b_wind_speed
  82.             name: ''
  83.             speed_unit: kph
  84.             use_statistics: false
  85.         output_speed_unit: kph
  86.         speed_range_beaufort: false
  87.         windrose_draw_north_offset: 0
  88.         cardinal_direction_letters: NESW
  89.         matching_strategy: direction-first
  90.         center_calm_percentage: true
  91.       - type: custom:mini-graph-card
  92.         name: Pressure
  93.         hours_to_show: 24
  94.         points_per_hour: 15
  95.         line_width: 2
  96.         decimals: 0
  97.         entities:
  98.           - entity: sensor.gw2000b_relative_pressure
  99.             show_state: true
  100.             state_adaptive_color: true
  101.         show:
  102.           labels: true
  103.           icon: true
  104.           state: true
  105.           points: false
  106.       - type: custom:mini-graph-card
  107.         name: Outdoor
  108.         hours_to_show: 24
  109.         points_per_hour: 15
  110.         line_width: 2
  111.         decimals: 1
  112.         entities:
  113.           - entity: sensor.gw2000b_outdoor_temperature
  114.             name: Temperature
  115.             show_state: true
  116.             state_adaptive_color: true
  117.           - color: blue
  118.             entity: sensor.gw2000b_humidity
  119.             name: Humidity
  120.             y_axis: secondary
  121.             show_state: true
  122.             state_adaptive_color: true
  123.         show:
  124.           labels: true
  125.           labels_secondary: true
  126.           icon: false
  127.           state: true
  128.           extrema: true
  129.           points: false
  130.       - type: custom:bar-card
  131.         entities:
  132.           - entity: sensor.bathroom_enviroment_temperature
  133.             decimal: 1
  134.             height: 30px
  135.             icon: none
  136.             min: -20
  137.             max: 40
  138.             name: Bathroom
  139.             target: 22
  140.             severity:
  141.               - color: '#1419b3'
  142.                 from: -20
  143.                 to: 5
  144.               - color: '#0c8fb3'
  145.                 from: 6
  146.                 to: 15
  147.               - color: '#3b9e09'
  148.                 from: 16
  149.                 to: 25
  150.               - color: '#d60427'
  151.                 from: 26
  152.                 to: 40
  153.             entity_row: true
  154.           - entity: sensor.temperature_humidity_sensor_ec69_temperature
  155.             decimal: 1
  156.             height: 30px
  157.             icon: none
  158.             min: -20
  159.             max: 40
  160.             name: Bedroom
  161.             target: 22
  162.             severity:
  163.               - color: '#1419b3'
  164.                 from: -20
  165.                 to: 5
  166.               - color: '#0c8fb3'
  167.                 from: 6
  168.                 to: 15
  169.               - color: '#3b9e09'
  170.                 from: 16
  171.                 to: 25
  172.               - color: '#d60427'
  173.                 from: 26
  174.                 to: 40
  175.             entity_row: true
  176.           - entity: sensor.gw2000b_indoor_temperature
  177.             decimal: 1
  178.             height: 30px
  179.             icon: none
  180.             min: -20
  181.             max: 40
  182.             name: Bench
  183.             target: 22
  184.             severity:
  185.               - color: '#1419b3'
  186.                 from: -20
  187.                 to: 5
  188.               - color: '#0c8fb3'
  189.                 from: 6
  190.                 to: 15
  191.               - color: '#3b9e09'
  192.                 from: 16
  193.                 to: 25
  194.               - color: '#d60427'
  195.                 from: 26
  196.                 to: 40
  197.             entity_row: true
  198.           - entity: sensor.crawl_space_temp_and_humidity_temperature
  199.             decimal: 1
  200.             height: 30px
  201.             icon: none
  202.             min: -20
  203.             max: 40
  204.             name: Crawlspace
  205.             target: 20
  206.             severity:
  207.               - color: '#1419b3'
  208.                 from: -20
  209.                 to: 5
  210.               - color: '#0c8fb3'
  211.                 from: 6
  212.                 to: 15
  213.               - color: '#3b9e09'
  214.                 from: 16
  215.                 to: 25
  216.               - color: '#d60427'
  217.                 from: 26
  218.                 to: 40
  219.             entity_row: true
  220.           - entity: sensor.temperature_humidity_sensor_8d03_temperature
  221.             decimal: 1
  222.             height: 30px
  223.             icon: none
  224.             min: -20
  225.             max: 40
  226.             name: Fridge
  227.             target: 4
  228.             severity:
  229.               - color: '#1419b3'
  230.                 from: -20
  231.                 to: 5
  232.               - color: '#0c8fb3'
  233.                 from: 6
  234.                 to: 15
  235.               - color: '#3b9e09'
  236.                 from: 16
  237.                 to: 25
  238.               - color: '#d60427'
  239.                 from: 26
  240.                 to: 40
  241.             entity_row: true
  242.           - entity: sensor.garage_temp_sensor_temperature
  243.             decimal: 1
  244.             height: 30px
  245.             icon: none
  246.             min: -20
  247.             max: 40
  248.             name: Garage
  249.             target: 22
  250.             severity:
  251.               - color: '#1419b3'
  252.                 from: -20
  253.                 to: 5
  254.               - color: '#0c8fb3'
  255.                 from: 6
  256.                 to: 15
  257.               - color: '#3b9e09'
  258.                 from: 16
  259.                 to: 25
  260.               - color: '#d60427'
  261.                 from: 26
  262.                 to: 40
  263.             entity_row: true
  264.           - entity: sensor.kid_room_temperature_and_humidity_temperature
  265.             decimal: 1
  266.             height: 30px
  267.             icon: none
  268.             min: -20
  269.             max: 40
  270.             name: Kid Room
  271.             target: 22
  272.             severity:
  273.               - color: '#1419b3'
  274.                 from: -20
  275.                 to: 5
  276.               - color: '#0c8fb3'
  277.                 from: 6
  278.                 to: 15
  279.               - color: '#3b9e09'
  280.                 from: 16
  281.                 to: 25
  282.               - color: '#d60427'
  283.                 from: 26
  284.                 to: 40
  285.             entity_row: true
  286.           - entity: sensor.temperature_humidity_sensor_3a7b_temperature
  287.             decimal: 1
  288.             height: 30px
  289.             icon: none
  290.             min: -20
  291.             max: 40
  292.             name: Livingroom
  293.             target: 22
  294.             severity:
  295.               - color: '#1419b3'
  296.                 from: -20
  297.                 to: 5
  298.               - color: '#0c8fb3'
  299.                 from: 6
  300.                 to: 15
  301.               - color: '#3b9e09'
  302.                 from: 16
  303.                 to: 25
  304.               - color: '#d60427'
  305.                 from: 26
  306.                 to: 40
  307.             entity_row: true
  308.           - entity: sensor.office_temp_and_humidity_temperature
  309.             decimal: 1
  310.             height: 30px
  311.             icon: none
  312.             min: -20
  313.             max: 40
  314.             name: Office
  315.             target: 22
  316.             severity:
  317.               - color: '#1419b3'
  318.                 from: -20
  319.                 to: 5
  320.               - color: '#0c8fb3'
  321.                 from: 6
  322.                 to: 15
  323.               - color: '#3b9e09'
  324.                 from: 16
  325.                 to: 25
  326.               - color: '#d60427'
  327.                 from: 26
  328.                 to: 40
  329.             entity_row: true
  330.           - entity: sensor.gw2000b_outdoor_temperature
  331.             decimal: 1
  332.             height: 30px
  333.             icon: none
  334.             min: -20
  335.             max: 40
  336.             name: Outdoor
  337.             target: 22
  338.             severity:
  339.               - color: '#1419b3'
  340.                 from: -20
  341.                 to: 5
  342.               - color: '#0c8fb3'
  343.                 from: 6
  344.                 to: 15
  345.               - color: '#3b9e09'
  346.                 from: 16
  347.                 to: 25
  348.               - color: '#d60427'
  349.                 from: 26
  350.                 to: 40
  351.             entity_row: true
  352.         positions:
  353.           icon: 'off'
  354.           indicator: inside
  355.         style: |-
  356.           bar-card-name {
  357.             font-size: 20px;
  358.           }
  359.           bar-card-value {
  360.             font-size: 20px;
  361.           }
  362.                    
  363.  
  364.            
  365.       - type: custom:mini-graph-card
  366.         name: Solar
  367.         hours_to_show: 48
  368.         points_per_hour: 15
  369.         line_width: 2
  370.         decimals: 1
  371.         entities:
  372.           - entity: sensor.gw2000b_solar_radiation
  373.             name: Solar
  374.             color: yellow
  375.             show_state: true
  376.             state_adaptive_color: true
  377.         show:
  378.           labels: true
  379.           labels_secondary: true
  380.           icon: false
  381.           state: true
  382.           points: false
  383.       - type: picture-entity
  384.         show_state: false
  385.         show_name: false
  386.         camera_view: auto
  387.         entity: camera.location_redacted_tides_long_plot_picture
  388.         name: Tides
  389.       - type: custom:horizon-card
  390.         use12hourClock: false
  391.         fields:
  392.           azimuth: true
  393.           elevation: true
  394.       - type: custom:weather-radar-card
  395.         data_source: RainViewer-Rainbow
  396.         zoom_level: 8
  397.         square_map: true
  398.         show_recenter: true
  399.         extra_labels: true
  400.         show_range: false
  401.         show_playback: false
  402.         show_zoom: true
  403.         show_marker: true
  404.         show_scale: false
  405.         static_map: true
  406.         map_style: Satellite
Advertisement
Add Comment
Please, Sign In to add comment