ualex73 / slide

Slide Component for Home Assistant
Apache License 2.0
26 stars 8 forks source link

Only 1 slide is working #17

Closed bjornbon closed 4 months ago

bjornbon commented 4 months ago

I have 4 slides. Below the relevant part of my yaml file

cover:
  - platform: slide
    host: 192.168.1.19
    password: 123456781
    api_version: 2

cover:
  - platform: slide
    host: 192.168.1.21
    password: 123456782
    api_version: 2

cover:
  - platform: slide
    host: 192.168.1.17
    password: 123456783
    api_version: 2

cover:
  - platform: slide
    host: 192.168.2.18
    password: 123456784
    api_version: 2

Looks like only the last slide (192.168.2.18) becomes visible and is working. If I change the order, again the last mentioned slide is visible and working. The previously visible one becomes fully inactive.

Is there a way to fix this?

bjornbon commented 4 months ago

I changed the yaml to this:

cover:
  - platform: slide
    host: 192.168.2.199
    password: 123456781
    api_version: 2

  - platform: slide
    host: 192.168.2.21
    password: 123456782
    api_version: 2

  - platform: slide
    host: 192.168.2.18
    password: 123456783
    api_version: 2

  - platform: slide
    host: 192.168.2.19
    password: 123456784
    api_version: 2

This fixes the issue