mtgeekman / Home_Assistant_NeoSmartBlinds

Adds NeoSmart Blinds support to Home-Assistant.
46 stars 14 forks source link

Support favorites? #19

Closed jgrn307 closed 2 years ago

jgrn307 commented 3 years ago

It seems like the favorites in this integration are based on time-to-close, but the blinds themselves have a built-in favorite setting that isn't based on a time-to-close. Is there any way to support neosmartblind's built-in favorites?

gee-jay-bee commented 3 years ago

This might be an issue with some conflicting info in the README. Favourite positions should work but depends on the value of percent_support:

` Setting the position if "percent_support" is 0:

==50 will set your blind to its stored first favourite position

==51 will set your blind to its stored second favourite position `

When I added position tracking (percent_support != 0), it didn't make a lot of sense to use the favourites because the position would get out of sync (there is no report from the hub about end position hence the use of close time) but I think they are available still by setting the tilt position.