Luxor73
(Luxor73)
1
Hello,
i have this script to set volume level in my lg tv:
#Argomenti passati: device, volume
imposta_volume:
alias: imposta volume
sequence:
- service: notify.telegram
data_template:
message: “{{ volume + (device|replace(’_’, ’ ')) }}”
- service: media_player.volume_set
data_template:
entity_id: “{{ ‘media_player.’ + device }}”
volume_level: {{ volume }}
This is ok, but not 7!!! If ‘volume’ value is 0.07 it dont works. Incredible
I also tried a dedicated script:
volume_sette:
alias: volume sette
sequence:
- service: media_player.volume_set
data_template:
entity_id: media_player.tv_sala
volume_level: 0.07
It seems invisible, and volume don’t change
Has anyone encountered this bug?
brent
(Brent)
2
I have now! Any volume I tried worked, except for 0.07. If I try a volume_set with volume_level: 0.07, it does nothing and I get this error:
Error calling async_set_volume_level on entity media_player.downstairs_tv: PyLGTVCmdException("Invalid request response {'type': 'error', 'id': 37, 'error': '500 Application error', 'payload': {'returnValue': False, 'errorCode': 1, 'errorText': 'Could not validate json message against schema'}}")
Neofitos
(sergey)
3
is a bug, how too report this bug?
brent
(Brent)
4
I submitted a bug report, so hopefully it will get fixed soon:
brent
(Brent)
5
The fix for this will be part of the Home Assistant 0.105 release: https://github.com/home-assistant/home-assistant/pull/31418