Shelly 2.5 Roller with Rest

Hi Guys

I’m new in this Home Automation topic but it is very fascinating. At the moment I got stuck on the integration
with my Shelly 2.5 Roller switches. I put the following code in the configuration.yaml file:

sensor:
  - platform: rest
    name: 'Rollladen Büro Power'
    scan_interval: 5
    resource: http://192.168.1.191/status
    value_template: '{{ value_json.meters[0]["power"]}}'
    unit_of_measurement: W

On the UI it looks like this:
Screenshot 2020-04-03 at 09.59.49

So everything looks good so fare.

But now I’m stuck with the integration of the switches (open/close) and the slider (percentage). Has any one has a example of the script where it works?

Thanks in advance

I use HACS to install

1 Like

Yes, using ShellyForHASS will seriously ease your life, alternatively, search this forum for the “Shellies Discovery Script” topic, it’s another take on including Shelly devices into HA.