Alexa volume
Show Volume level on Awtrix Light
Home Assistant
AWTRIX 3
About this flow
| System | Home Assistant |
|---|---|
| AWTRIX version | AWTRIX 3 |
| Topic | Smarthome |
| Built by | Vendo232 |
| File | pnKeA72R5ZjM.yaml · 0.6 KB |
| Icons | — |
| Published | 28 Nov 2023 |
| Downloads | 20 |
Is this your flow?
If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.
Show Volume level on Awtrix Light
icon: 56192
pnKeA72R5ZjM.yaml
Create a sensor just for the volume
- platform: template
sensors:
studio_volume:
friendly_name: "Studio Volume"
value_template: >
{{ state_attr('media_player.studio', 'volume_level') }}
Automation Action:
- service: mqtt.publish
data:
qos: "0"
retain: false
topic: awtrix/notify
payload_template: |-
{
"text": "{{ states('sensor.studio_volume') | float | multiply(10) | round(1) }} ",
"icon": "56192",
"color": "#2596be",
"duration": 2
}
More flows for Home Assistant or Smarthome
Something wrong with this flow? Report it.