1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Migrate google calendar to new entity naming (#74727)

* Migrate google calendar to new entity naming

* Update homeassistant/components/google/calendar.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
Allen Porter
2022-07-08 07:59:50 -07:00
committed by GitHub
parent b2a3071658
commit 08d8304a52
3 changed files with 8 additions and 11 deletions

View File

@@ -34,10 +34,10 @@ EMAIL_ADDRESS = "user@gmail.com"
# the yaml config that overrides the entity name and other settings. A test
# can use a fixture to exercise either case.
TEST_API_ENTITY = "calendar.we_are_we_are_a_test_calendar"
TEST_API_ENTITY_NAME = "We are, we are, a... Test Calendar"
TEST_API_ENTITY_NAME = "We are, we are, a... test calendar"
# Name of the entity when using yaml configuration overrides
TEST_YAML_ENTITY = "calendar.backyard_light"
TEST_YAML_ENTITY_NAME = "Backyard Light"
TEST_YAML_ENTITY_NAME = "Backyard light"
# A calendar object returned from the API
TEST_API_CALENDAR = {