Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for contact sensors in Google Home #144

Open
stwalkerster opened this issue Jun 22, 2021 · 0 comments
Open

Support for contact sensors in Google Home #144

stwalkerster opened this issue Jun 22, 2021 · 0 comments

Comments

@stwalkerster
Copy link

Please can support for contact sensors be added to the Google Home side of the integrations?

It looks like the "OpenClose" API action is likely suitable here: https://developers.google.com/assistant/smarthome/traits/openclose

From what I can understand of the documentation, a basic magnetic contact sensor would need these two values set:

{
  "discreteOnlyOpenClose": true,
  "queryOnlyOpenClose": true,
}

I don't know if this is something that has already been proposed and rejected - I couldn't see anything relevant in the issues list so apologies if this has already been raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant