finity69x2 / cover-position-preset-row

Plug-in for Home Assistant that provides an easy means to set 3 fixed positions for a programmable cover entity.
24 stars 4 forks source link

Ability to hide buttons #10

Closed nelsonbonet closed 2 years ago

nelsonbonet commented 3 years ago

Could it be implemented to hide any of the buttons that are not needed. Similar to the implementation you did in the Cover Button Row repository.

finity69x2 commented 3 years ago

I'm not sure that would be feasible. The Cover Button row only hid a specific button and only in cases where the functionality wasn't available.

What buttons are you suggesting that you need/want to hide?

nelsonbonet commented 3 years ago

Either the first or last. In essence, going from 4 preset values to 3 ( ie. open, mid, close).

Sent from my iPhone

On Feb 10, 2021, at 11:56 PM, finity69x2 notifications@github.com wrote:

 I'm not sure that would be feasible. The Cover Button row only hid a specific button and only in cases where the functionality wasn't available.

What buttons are you suggesting that you need/want to hide?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

finity69x2 commented 3 years ago

I updated to be able to hide one of the buttons in the middle to turn it into a three position row.

try it and see if you have any issues.

EDIT:

Actually I realiozed there iks a lot more work involved to get this to work correctly so I've reversed the decision.

Sorry. I'll try to get to it soon...eventually...;)

ManCaveMedia commented 3 years ago

Would love to be able to choose between 3 or 4 buttons.