Skip to content

Instantly share code, notes, and snippets.

@iantrich
Created August 2, 2019 15:57
Show Gist options
  • Save iantrich/f32441c48ed2b9591ab3eddd334d9b10 to your computer and use it in GitHub Desktop.
Save iantrich/f32441c48ed2b9591ab3eddd334d9b10 to your computer and use it in GitHub Desktop.
weather_tap_action: &weather_tap_action
tap_action:
action: call-service
service: browser_mod.command
service_data:
command: popup
title: 'Weather'
deviceID:
- this
card:
<<: *swipe_card
cards:
- type: iframe
aspect_ratio: 90%
url: https://embed.windy.com/embed2.html?lat=41.273&lon=-96.002&zoom=5&level=surface&overlay=rain&menu=&message=true&marker=&calendar=now&pressure=&type=map&location=coordinates&detail=true&detailLat=41.273&detailLon=-96.002&metricWind=mph&metricTemp=%C2%B0F&radarRange=-1
- type: weather-forecast
entity: weather.hourly
- type: weather-forecast
entity: weather.dark_sky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment