Welcome!
I’d suggest adding your blinds as cover
entities, so they look a little nicer in the UI (Up and down arrow instead of 2 switches).
For that, we need to do two things:
- Add the Open and Close command as a rest_command
- Add the cover as a template cover
Number 1:
rest_command:
blinds:
url: >-
{% if direction == "up" %}
http://192.168.178.241/blinds/?ws=50
{% elif direction == "down" %}
http://192.168.178.241/blinds/?ws=90
{% endif %}
This will create a service rest_command.blinds
which we can call. The direction
parameter will set the direction.
Now, we have to create a template cover:
cover:
- platform: template
covers:
bedroom_left: # Change this to sth. you like (one word, lowercase)
# Check https://www.home-assistant.io/integrations/cover/#device-class for available device classes
device_class: blind
friendly_name: "Bedroom Left" # This name will show up in the UI
open_cover:
service: rest_command.blinds
data:
direction: up
close_cover:
service: rest_command.blinds
data:
direction: down
Home Assistant has more features to offer for blinds, like setting the blinds to a certain percentage, stopping them, etc.
Is there a URL you can go to to fetch the current position?
Also - Which blinds are you using? Maybe there’s a better way of integrating them.
@tom_l Looking at the documentation for a rest switch, I’m wondering if your YAML will work - the URLs seem to require a GET request, which isn’t supported by the switch integration, and the body_on
and body_off
are the POST payload data, aren’t they? 
Perhaps I’m getting something wrong though.