nickbreaton / homebridge-modern-forms

Add support for Modern Forms fans to Homekit using Homebridge.
https://npm.im/homebridge-modern-forms
Apache License 2.0
20 stars 5 forks source link

Added HOOBS compatibility #4

Closed askovi closed 4 years ago

askovi commented 4 years ago

Fix for error: "The requested platform “ModernForms” was not registered by any plugin."

nickbreaton commented 4 years ago

Hey @askovi, thanks so much for fixing this. Had one person reach out about it not working already.

I'll merge as soon as I get home and run a smoke test.

Just an FYI, I generated this repo off the template here:

https://github.com/homebridge/homebridge-plugin-template/blob/881be68be1eb743e9b0bcbf6d78dcd8604f47213/src/index.ts#L10

May be worth sending a PR that way as well.

nickbreaton commented 4 years ago

@askovi Looking into the template repo, apparently this is no longer the recommended API. I'll leave for now, but just wanted to bring your attention to it. https://github.com/homebridge/homebridge-plugin-template/pull/8