We are near the Mt Buller ski fields, so I wanted to bring some at-a-glance info onto the dashboard as the season is about to start.
It looks like this in the new section view, and the snow cam is a live feed:
The section only shows during winter, and then auto-hides the rest of the year.
Now we just need some proper snow!
User interface YAML:
title: ❄️ Snow
type: grid
visibility:
- condition: state
entity: sensor.season
state: winter
cards:
- type: iframe
url: https://www.youtube.com/embed/0OtVlfDj2w8?autoplay=1&mute=1
aspect_ratio: 56%
- type: tile
entity: sensor.mt_buller_resort_rating
name: Resort Rating
- type: tile
entity: sensor.mt_buller_last_snowfall_date
name: Last Snowfall
- type: tile
entity: sensor.mt_buller_snow_average_natural
name: Average Natural
- type: tile
entity: sensor.mt_buller_snow_average_made
name: Average Made
- type: tile
entity: sensor.mt_buller_open_lifts_count
name: Lifts Open
- type: tile
entity: sensor.mt_buller_open_trails_count
name: Trails Open
- type: tile
entity: sensor.mt_buller_snow_last_72_hours
name: Last 72 Hours
- type: tile
entity: sensor.mt_buller_snow_season_total
name: Full Report
hide_state: true
tap_action:
action: url
url_path: https://www.mtbuller.com.au/winter/snow-weather/snow-report
icon_tap_action:
action: url
url_path: https://www.mtbuller.com.au/winter/snow-weather/snow-report
icon: mdi:link
Data source YAML:
rest:
- resource: "https://api.mtbuller.com.au/api/weather/widget"
scan_interval: 900
sensor:
- unique_id: mt_buller_resort_rating
name: "Mt Buller Resort Rating"
icon: mdi:snowflake
value_template: "{{ value_json.snow_report.resort_rating }}"
- unique_id: mt_buller_average_natural
name: "Mt Buller Snow Average Natural"
icon: mdi:snowflake
availability: "{{ value_json.snow_report.average_natural is not none() }}"
value_template: "{{ value_json.snow_report.average_natural | int(0) }}"
device_class: distance
unit_of_measurement: cm
state_class: measurement
- unique_id: mt_buller_average_made
name: "Mt Buller Snow Average Made"
icon: mdi:snowflake-variant
availability: "{{ value_json.snow_report.average_made is not none() }}"
value_template: "{{ value_json.snow_report.average_made | int(0) }}"
device_class: distance
unit_of_measurement: cm
state_class: measurement
- unique_id: mt_buller_snow_last_24_hours
name: "Mt Buller Snow Last 24 Hours"
icon: mdi:weather-snowy
availability: "{{ value_json.snow_report.snow_last_24_hours is not none() }}"
value_template: "{{ value_json.snow_report.snow_last_24_hours | int(0) }}"
device_class: distance
unit_of_measurement: cm
state_class: measurement
- unique_id: mt_buller_snow_last_48_hours
name: "Mt Buller Snow Last 48 Hours"
icon: mdi:weather-snowy
availability: "{{ value_json.snow_report.snow_last_48_hours is not none() }}"
value_template: "{{ value_json.snow_report.snow_last_48_hours | int(0) }}"
device_class: distance
unit_of_measurement: cm
state_class: measurement
- unique_id: mt_buller_snow_last_72_hours
name: "Mt Buller Snow Last 72 Hours"
icon: mdi:weather-snowy
availability: "{{ value_json.snow_report.snow_last_72_hours is not none() }}"
value_template: "{{ value_json.snow_report.snow_last_72_hours | int(0) }}"
device_class: distance
unit_of_measurement: cm
state_class: measurement
- unique_id: mt_buller_snow_season_total
name: "Mt Buller Snow Season Total"
icon: mdi:weather-snowy-heavy
availability: "{{ value_json.snow_report.snow_season_total is not none() }}"
value_template: "{{ value_json.snow_report.snow_season_total | int(0) }}"
device_class: distance
unit_of_measurement: cm
state_class: measurement
- unique_id: mt_buller_last_snowfall_date
name: "Mt Buller Last Snowfall Date"
icon: mdi:snowflake-check
availability: "{{ value_json.snow_report.last_snowfall_date is not none() }}"
value_template: "{{ strptime(value_json.snow_report.last_snowfall_date, '%d %b %Y').date() }}"
device_class: date
- unique_id: mt_buller_open_trails_count
name: "Mt Buller Open Trails Count"
icon: mdi:ski
availability: "{{ value_json.open_trails_count is not none() }}"
value_template: "{{ value_json.open_trails_count | int(0) }}"
state_class: measurement
- unique_id: mt_buller_all_trails_count
name: "Mt Buller All Trails Count"
icon: mdi:ski
availability: "{{ value_json.all_trails_count is not none() }}"
value_template: "{{ value_json.all_trails_count | int(0) }}"
state_class: measurement
- unique_id: mt_buller_open_lifts_count
name: "Mt Buller Open Lifts Count"
icon: mdi:ski
availability: "{{ value_json.open_lifts_count is not none() }}"
value_template: "{{ value_json.open_lifts_count | int(0) }}"
state_class: measurement
- unique_id: mt_buller_all_lifts_count
name: "Mt Buller All Lifts Count"
icon: mdi:ski
availability: "{{ value_json.all_lifts_count is not none() }}"
value_template: "{{ value_json.all_lifts_count | int(0) }}"
state_class: measurement
There’s lots of good data in both https://api.mtbuller.com.au/api/weather/widget and https://api.mtbuller.com.au/api/weather/forecast if you wanted to display other attributes.