Home Assistant
Gaming
AWTRIX 3
Steam game
Display the name of the game you play on steam.
Built by TwanoO
Published 24 October 2024 · 2 downloads
Instruction:
- you need to install the "Steam" integration on home assistant,
- change the flow with your <steam_id> (to match the sensor name)
- change the flow with you mqtt topic prefix
- save the flow
- then play a game on steam, you should see the name on your awtrix
wyMW5dvnonxX.yaml · 0.5 KB
alias: Awtrix Notification Steam
description: ''
trigger:
- platform: state
entity_id:
- sensor.steam_<steam_id>
attribute: game
condition:
- condition: not
conditions:
- condition: state
entity_id: sensor.steam_<steam_id>
state: idle
action:
- data:
topic: awtrix/custom/steam
payload: "{\"icon\": 647,\n \"repeat\": 1,\n \"rainbow\": true,\n \"text\":
\"{{states.sensor.steam_<steam_id>.attributes.game}}\"\n}"
action: mqtt.publish
mode: single