duhow / hass-cover-time-based

Add a cover (time-based) to Home Assistant using switch or lights.
MIT License
5 stars 5 forks source link

support for single push button #2

Closed adidoes closed 2 months ago

adidoes commented 3 months ago

hello,

does this support having one single button for up, down and stop? i tried putting the same entity in both fields during setup but the button states are not displayed correctly in the dashboard (all 3 up down and stop buttons are clickable all the time and the stop button doesn't work).

klim123123 commented 2 months ago

same problem here, please make possible at least trigger a script, where we can put any buttons and would be nice to trigger services too. e.g.

open_cover:
  service: cover.open_cover
    target:
      entity_id: cover.shtora_spalnia
close_cover:
  service: cover.close_cover
    target:
      entity_id: cover.shtora_spalnia

or at least

close_switch_entity_id: script.cover_spalny_close
open_switch_entity_id: script.cover_spalny_open
frostworx commented 2 months ago

Foremost, thank you for your work on this addon, @duhow!

I second the @klim123123's suggestion! The Superrollo GW60 esp solution I use, only has cover controls for open/close/stop. It would be fantastic if those controls would be allowed as input source for this addon.

Alternatively accepting input_booleans as input would be a good workaround(?)

duhow commented 2 months ago

Sorry for the delay. There are two requests in here:

Let's see...

frostworx commented 2 months ago

Wow, thank you very, very much @duhow !