konnected-io / konnected-esphome

ESPHome firmware configuration and recipes for Konnected devices
Other
54 stars 36 forks source link

secplus_gdo: Toggle updates #48

Closed heythisisnate closed 5 months ago

heythisisnate commented 5 months ago

This is a better approach to #46 I think. This change does two things:

  1. When the toggle cover action is called, the toggle door action is sent instead of translating that into an open or close. This makes it consistent with the user/client expectation.
  2. Adds a toggle_only option to the cover config. When true, all open/close commands are sent as a toggle door actions to the garage opener. This is a compatibility fix for some openers, such as Merlin brands in Australia (reddit thread) that are known to only respond to toggle commands and don't respond to discrete open/close commands.