I always get this error in log:
“2018-04-20 09:35:05 ERROR (MainThread) [homeassistant.core] Invalid service data for media_player.volume_up: extra keys not allowed @ data[‘volume_level’]. Got ‘0.5’”
and this is my config about volume_level:
input_number:
radio_volume:
name: Volume
icon: mdi:volume-high
min: 0
max: 1
step: 0.05
initial: '0.5'
mode: slider
And media_player.volume_up is:
- service: media_player.volume_up
data_template:
entity_id: media_player.salotto_audio
volume_level: 0.50
Where is the error?