jason0x43 / hacs-hubitat

A Hubitat integration for Home Assistant
MIT License
189 stars 46 forks source link

Add get_codes service to get door lock codes #258

Closed irvintim closed 4 months ago

irvintim commented 4 months ago

This PR creates a new service "get_codes" that returns a sorted list of codes from the specified door lock.

irvintim commented 4 months ago

Took your advice and am using self.get_str_attr(DeviceAttribute.LOCK_CODES) as the source instead of making a call back to the Hubitat.