nfarina / homebridge-tesla

Tesla plugin for homebridge: https://github.com/nfarina/homebridge
154 stars 38 forks source link

added sentry mode get/set as lockmechanism #69

Closed raffertyj closed 3 years ago

raffertyj commented 3 years ago

followed convention followed by locks to use create sentry mode functionality. there's an async copy of the setter i didn't use here (setSentryModeAsync). there was also a status bool for sentry available but i figure all cars should have it, it can be disabled in config if it for some reason isn't working for someone

raffertyj commented 3 years ago

of note, i debated a toggle or lock mechanism, the lock seemed more apt.

nfarina commented 3 years ago

Looks awesome, thank you!