marthoc / GarHAge

a Home-Automation-friendly ESP8266-based MQTT Garage Door Controller
MIT License
170 stars 42 forks source link

How about HA locks entity? #41

Open felipecrs opened 2 years ago

felipecrs commented 2 years ago

First, awesome project.

I wonder, would not it be a good idea to integrate with HA's locks?

https://www.home-assistant.io/integrations/lock/

So that:

  1. Unlock action opens the garage if not yet opened (if opened does nothing)
  2. Lock action closes the garage if not yet closed (if closed does nothing)
  3. Open action would send the command to the garage door, regardless of its state.

And it would look and feel more natural and integrated with HA.