unixorn / ha-mqtt-discoverable

Python module to create MQTT entities that are automatically discovered by Home Assistant
Apache License 2.0
82 stars 21 forks source link

Add Mqtt Lock #204

Open peteh opened 2 months ago

peteh commented 2 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Currently the lib does not support the type lock:

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

Describe the solution you'd like A clear and concise description of what you want to happen.

It would be cool to also add this type so locks can be created via MQTT

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

You could use a switch as an alternative, however this does not support all services of the type lock.

Additional context Add any other context or screenshots about the feature request here.