This flow was submitted before accounts existed, so nobody owns it yet. If you submitted it, open the edit link you were given — it still works — and you can attach the flow to an account from there. There is no deadline, and attaching it retires the link for good.
Armenian Dram exchange rate
Show USD and RUB to AMD exchange rates every time it updates
| System | Home Assistant |
|---|---|
| Firmware | AWTRIX 3 |
| Topic | News |
| Built by | Raidon |
| File | jemQoP2M5dM9.yaml · 0.9 KB |
| Icons | — |
| Published | 23 Jan 2025 · updated 23 Jan 2025 |
| Downloads | 21 |
Get a current exchange rate of Armenian Dram and display it as a notification
- Add the exchange rate sensors to your configuration.yml
scrape:
- resource: https://www.cba.am/EN/SitePages/Default.aspx
sensor:
- name: "USD/AMD"
select: "#ctl00_PlaceHolderMain_g_863d4f31_7343_4804_bedb_aa7f55c1305a_updatePanelctl00_PlaceHolderMain_g_863d4f31_7343_4804_bedb_aa7f55c1305a > li:nth-child(3) > em:nth-child(3)"
- name: "RUB/AMD"
select: "#ctl00_PlaceHolderMain_g_863d4f31_7343_4804_bedb_aa7f55c1305a_updatePanelctl00_PlaceHolderMain_g_863d4f31_7343_4804_bedb_aa7f55c1305a > li:nth-child(6) > em:nth-child(3)""
- Create the following automation:
- id: '1734725311752'
alias: AWTRIX Exchange rates
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.usd_amd
- sensor.rub_amd
below: 9999
conditions:
- condition: template
value_template: "condition:\n - condition: template\n value_template: >-\n
\ {{ trigger.from_state.state != 'unknown' and trigger.from_state.state
!= 'unavailable' }}"
actions:
- action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
qos: '0'
retain: false
topic: awtrix_topic/notify
payload: '{
"text": "${{ states(''sensor.usd_amd'') | round }} P{{ states(''sensor.rub_amd'')
| round(1) }}",
"icon": "64743",
"pushIcon": 2,
"lifetime": 600,
"repeat": 2,
"duration": 5,
"scrollSpeed": 70
}`
jemQoP2M5dM9.yaml
- id: '1734725311752'
alias: AWTRIX Exchange rates
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.usd_amd
- sensor.rub_amd
below: 9999
conditions:
- condition: template
value_template: "condition:\n - condition: template\n value_template: >-\n
\ {{ trigger.from_state.state != 'unknown' and trigger.from_state.state
!= 'unavailable' }}"
actions:
- action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
qos: '0'
retain: false
topic: awtrix_topic/notify
payload: '{
"text": "${{ states(''sensor.usd_amd'') | round }} P{{ states(''sensor.rub_amd'')
| round(1) }}",
"icon": "64743",
"pushIcon": 2,
"lifetime": 600,
"repeat": 2,
"duration": 5,
"scrollSpeed": 70
}`
More flows for Home Assistant or News
Something wrong with this flow? Report it.