Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.78 KB

File metadata and controls

33 lines (25 loc) · 1.78 KB

Contributing

Guidelines

  • Convenience methods, request types and event names can be added for any request or event in the Home Assistant core repository. Calls which are added via third-party components should not be added here.
  • Code coverage must be maintained for all changes. Make sure your tests execute successfully.

Building the library

  • brew bundle installs linting and other utilities.
  • make open launches the Swift Project Manager version of the library in Xcode.
  • make generate-project creates an openable .xcodeproj from the Swift package.
  • make test executes all tests for the library.
  • make lint execute linting. Locally, this will also apply autocorrects.

Learn Swift

This project is a good opportunity to learn Swift programming and contribute back to a friendly and welcoming Open Source community. We've collected some pointers to get you started.

AI policy

This project follows the Open Home Foundation AI Policy. In short: AI tools are welcome as an aid, but you must fully understand and be able to explain every change you submit. Contributions made by autonomous agents are not accepted.