I’m using a JSON payload to control volume on a media player. The volume_up and volume_down attributes move the volume in 10% increments. I’d like to change this to 5% increments. I’m using the following JSON payload with the volume_set attribute for HA is throwing an error in my syntax. I’m using lots of other JSON API calls successfully so I know it’s not a problem with my authorization, etc. Can anyone tell me why this isn’t working:
I’m using a network resource on an ISY, which is a home automation hub (mainly for insteon based networks). It is programmed to send an http POST request to the HA box on port 8123 to /api/services/media_player/volume_set with a 500 ms timeout using the c escaped characterset.
Other calls with the same programming (eg. volume set to 0.2) are working perfectly. I’m not sure why this one won’t work!