Can you please edit your post and format your pasted configuration correctly for the forum, see: How to help us help you - or How to ask a good question
But basically you need an {% else %}
case for when the receiver is off. You can use {{ this.state }}
if you want it to remember the last volume setting before the receiver was turned off. Otherwise set it to 0, or whatever numeric value you want.