Alexa volume
Show Volume level on Awtrix Light
| System | Home Assistant |
|---|---|
| Firmware | AWTRIX 3 |
| Topic | Smarthome |
| Built by | Vendo232 |
| File | pnKeA72R5ZjM.yaml · 0.6 KB |
| Icons | — |
| Published | 28 Nov 2023 |
| Downloads | 11 |
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.