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

Add NFC state sensor #3905

Merged
merged 10 commits into from
Oct 5, 2023
Merged

Add NFC state sensor #3905

merged 10 commits into from
Oct 5, 2023

Conversation

marazmarci
Copy link
Contributor

@marazmarci marazmarci commented Oct 1, 2023

Summary

Add a new binary_sensor which represents whether the device has its NFC sensor enabled or not.

I added the new NfcSensorManager class to the common module, so it also works on Wear OS! I tested it on Wear OS 3.5.

The sensor reacts to changes immediately by subscribing to NfcAdapter.ACTION_ADAPTER_STATE_CHANGED.

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#992

Any other notes

@marazmarci
Copy link
Contributor Author

Rebased onto master's latest commit: 8c7e4e5

@marazmarci
Copy link
Contributor Author

Whoops, the GitHub Actions job failed with a System.IO.IOException: No space left on device error message, but I just rebased onto master. However, as I see, merging is still enabled with the two skipped checks. 🤔

@jpelgrom
Copy link
Member

jpelgrom commented Oct 4, 2023

Restarted and everything completed ✅. You shouldn't need to rebase unless there is a merge conflict or weeks have passed.

@JBassett JBassett merged commit 2641422 into home-assistant:master Oct 5, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants