From 24702e9d034271c1454a16142ff6f4c0dbaca780 Mon Sep 17 00:00:00 2001 From: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> Date: Fri, 28 May 2021 08:36:18 -0400 Subject: [PATCH] Add changes to README and Changelog (#69) * Add new fixture * Update Changelog * tupo --- CHANGELOG.md | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f36385..49049af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ This changelog only includes changes directly related to the structure of this p Changes to minor version indicate a change structurally in this pacakge. Changes in patch indicate changes solely from homeassistant/core. The latter does not imply no breaking changes are introduced. +## 0.4.0 +* `enable_custom_integrations` now required by ha +* sqlalchemy version now pinned to ha version + ## 0.3.0 * Generate package only on homeassistant release versions * Use latest homeassistant release version including beta diff --git a/README.md b/README.md index f0c1603..5ab34b6 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ The goal is to provide the same functionality as the tests in home-assistant/cor * home-assistant/core native test: `from tests.common import MockConfigEntry` * custom component test: `from pytest_homeassistant_custom_component.common import MockConfigEntry` * If your integration is inside a `custom_components` folder, a `custom_components/__init__.py` file or changes to `sys.path` may be required. +* `enable_custom_integrations_fixture` is required (versions >=2021.6.0b0) * If using `load_fixture`, the files need to be in a `fixtures` folder colocated with the tests. For example, a test in `test_sensor.py` can load data from `some_data.json` using `load_fixture` from this structure: ```