sensor: - platform: rest resource: http:///sisbot/state method: POST name: sisyphus payload: '{"data":{}}' value_template: '{{ value_json.resp[0].state}}' headers: Content-Type: application/json json_attributes: - resp - platform: template sensors: sname: friendly_name: 'sisyphus_name' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["name"]}}' track: friendly_name: 'sisyphus_track' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["active_track"]["name"] }}' trackreverse: friendly_name: 'sisyphus_track_reversed' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["active_track"]["reversed"] }}' speed: friendly_name: 'sisyphus_speed' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["speed"]*100}}' unit_of_measurement: "%" brightness: friendly_name: 'sisyphus_brightness' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["brightness"]*100}}' unit_of_measurement: "%" autodim: friendly_name: 'sisyphus_autodim' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["is_autodim"]}}' firmware: friendly_name: 'sisyphus_firmware' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["firmware_version"]}}' software: friendly_name: 'sisyphus_software' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["software_version"]}}' shuffle: friendly_name: 'sisyphus_shuffle' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["is_shuffle"]}}' loop: friendly_name: 'sisyphus_loop' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["is_loop"]}}' activeplaylist: friendly_name: 'sisyphus_activeplaylist' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["active_playlist_id"]}}' sleeping: friendly_name: 'sisyphus_sleeping' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["is_sleeping"]}}' sleep_time: friendly_name: 'sisyphus_sleep_time' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["sleep_time"]}}' wake_time: friendly_name: 'sisyphus_wake_time' value_template: '{{ states.sensor.sisyphus.attributes["resp"][0]["wake_time"]}}' rest_command: sisyphus: url: http:///sisbot/{{command}} method: POST headers: Content-Type: application/x-www-form-urlencoded payload: 'data={"data":{"value":{{value}}}}' input_number: sismax: name: Sisyphus Erase Speed initial: 100 min: 0 max: 100 step: 1 mode: box icon: mdi:delete-sweep sismin: name: Sisyphus Post Erase Speed initial: 30 min: 0 max: 100 step: 1 mode: box icon: mdi:speedometer sisspeed: name: Sisyphus Speed initial: 30 min: 0 max: 100 step: 1 icon: mdi:speedometer sisbright: name: Sisyphus Brightness initial: 60 min: 0 max: 100 step: 1 icon: mdi:lightbulb-on-outline