80 lines
1.9 KiB
Markdown
80 lines
1.9 KiB
Markdown
```
|
|
type: entities
|
|
title: Edmonton Alerts
|
|
entities:
|
|
- type: conditional
|
|
conditions:
|
|
- entity: sensor.edmonton_warnings
|
|
state: "1"
|
|
row:
|
|
entity: sensor.edmonton_warnings
|
|
type: attribute
|
|
name: " "
|
|
secondary_info: last-changed
|
|
attribute: alert_1
|
|
icon: mdi:lightning-bolt
|
|
tap_action:
|
|
action: url
|
|
url_path: https://weather.gc.ca/warnings/report_e.html?ab33=
|
|
- type: conditional
|
|
conditions:
|
|
- entity: sensor.edmonton_watches
|
|
state: "1"
|
|
row:
|
|
entity: sensor.edmonton_watches
|
|
type: attribute
|
|
attribute: alert_1
|
|
icon: mdi:lightning-bolt
|
|
name: " "
|
|
secondary_info: last-changed
|
|
tap_action:
|
|
action: url
|
|
url_path: https://weather.gc.ca/warnings/report_e.html?ab33=
|
|
- type: conditional
|
|
conditions:
|
|
- entity: sensor.edmonton_watches
|
|
state: "0"
|
|
- entity: sensor.edmonton_warnings
|
|
state: "0"
|
|
- entity: sensor.edmonton_statements
|
|
state: "0"
|
|
row:
|
|
type: attribute
|
|
entity: input_text.no_alerts
|
|
attribute: text1
|
|
icon: none
|
|
name: No alerts
|
|
- type: conditional
|
|
conditions:
|
|
- entity: sensor.edmonton_statements
|
|
state: "1"
|
|
row:
|
|
type: attribute
|
|
entity: sensor.edmonton_statements
|
|
attribute: alert_1
|
|
icon: mdi:cloud-alert
|
|
name: " "
|
|
secondary_info: last-changed
|
|
tap_action:
|
|
action: url
|
|
url_path: https://weather.gc.ca/warnings/report_e.html?ab33=
|
|
|
|
```
|
|
|
|
|
|
```
|
|
state:
|
|
translated: "2"
|
|
raw: "2"
|
|
last_changed: "2026-07-24T21:18:56.868Z"
|
|
last_updated: "2026-07-24T22:04:10.902Z"
|
|
attributes:
|
|
location: Edmonton
|
|
station: Edmonton Blatchford
|
|
alert_1: Heat Warning
|
|
alert_time_1: "2026-07-24T21:58:58.617Z"
|
|
alert_2: Air Quality Warning
|
|
alert_time_2: "2026-07-24T21:14:47.727Z"
|
|
attribution: Data provided by Environment Canada
|
|
friendly_name: Edmonton Warnings
|
|
``` |