Skip to content

Commit

Permalink
[create-pull-request] automated change (#71)
Browse files Browse the repository at this point in the history
Co-authored-by: MatthewFlamm <MatthewFlamm@users.noreply.github.com>
  • Loading branch information
MatthewFlamm and MatthewFlamm authored Jun 4, 2021
1 parent 2b74f4d commit 850a9e5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pytest-homeassistant-custom-component

![HA core version](https://img.shields.io/static/v1?label=HA+core+version&message=2021.6.0b0&labelColor=blue)
![HA core version](https://img.shields.io/static/v1?label=HA+core+version&message=2021.6.2&labelColor=blue)

Package to automatically extract testing plugins from Home Assistant for custom component testing.
The goal is to provide the same functionality as the tests in home-assistant/core.
Expand Down
6 changes: 4 additions & 2 deletions pytest_homeassistant_custom_component/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,8 @@ def __init__(
title="Mock Title",
state=None,
options={},
system_options={},
pref_disable_new_entities=None,
pref_disable_polling=None,
unique_id=None,
disabled_by=None,
reason=None,
Expand All @@ -748,7 +749,8 @@ def __init__(
"entry_id": entry_id or uuid_util.random_uuid_hex(),
"domain": domain,
"data": data or {},
"system_options": system_options,
"pref_disable_new_entities": pref_disable_new_entities,
"pref_disable_polling": pref_disable_polling,
"options": options,
"version": version,
"title": title,
Expand Down
2 changes: 1 addition & 1 deletion pytest_homeassistant_custom_component/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

MAJOR_VERSION: Final = 2021
MINOR_VERSION: Final = 6
PATCH_VERSION: Final = "0b0"
PATCH_VERSION: Final = "2"
__short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__: Final = f"{__short_version__}.{PATCH_VERSION}"
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ responses==0.12.0
respx==0.17.0
stdlib-list==0.7.0
tqdm==4.49.0
homeassistant==2021.6.0b0
homeassistant==2021.6.2
sqlalchemy==1.4.13

0 comments on commit 850a9e5

Please sign in to comment.