shenxn / homeassistant-broadlink-cover

Home Assistant cover component for Broadlink RM devices. Modified from the official Broadlink switch component.
Apache License 2.0
8 stars 6 forks source link

Enhancements 1 #1

Closed 51acorsi closed 5 years ago

51acorsi commented 5 years ago

I have added 2 enhancements to the bradlink cover:

  1. The entity_id was considering the friendly name, this was confusing because you may have 2 sets of overs in which you may call "Cover 1". In this case you would get the entities as Cover_1 and Cover_1_1. Now the device name is considered as the entity id.
  2. Open and close states were not being changed when the open and close commands were being sent. Now they are assuming as open when the opening command is successfully called and closed when the close command is called.