pytest-homeassistant-custom-component
pytest-homeassistant-custom-component copied to clipboard
Package to automatically extract testing plugins from Home Assistant for custom component testing
Make a decision on version pinning to home assistant. See https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/issues/88#issuecomment-962042884 and https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/issues/88#issuecomment-962064592.
The current code is more or less one long script. Some portions should be abstracted out for better understandability and maintainability. For example, this code is logically separate from the...
Create cli to allow for constructing a custom version of this package based on a particular commit ref of a homeassistant/core repo, including the github repo. This would allow for...
Is it possible to make a library for the dev version of HA, or at least for the beta versions? Today we miraculously caught an incompatibility with the new beta....
### Environment: Operating System: win10 Development Environment: Visual Studio Code Python Version: 3.12.1 Pytest Version: 7.4.3 pytest-socket: 0.6.0 pytest-homeassistant-custom-component: 0.13.88 ### Steps to Reproduce: Clone https://github.com/watkins-matt/home-assistant-google-keep-sync setup new venv and...
So I just synced my custom_component repo with some changes from my integration in core and came across an issue with paths to fixtures. As the docs require, the fixtures...
Core has a [variety of components mocked out](https://github.com/home-assistant/core/tree/dev/tests/testing_config/custom_components/test) so entities can be [created and and interacted with](https://github.com/home-assistant/core/blob/dev/tests/components/cover/test_init.py#L18-L45) in tests. **Would we ever consider including these mocks into this project so...
Hi, I shall say at the very beginning, I am new to the home assistant custom component development and new to python too, so I think I get something missing...
Some a dependencies were required even though they were not listed in `requirements-test.txt` from homeassistant. For example `sqlalchemy` was required. #145 demonstrates that all these requirements are no longer strictly...