Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Commit e59a3ac

Browse files
authored
Update custom Google component in 89.0
1 parent 3c3a658 commit e59a3ac

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,17 @@ This card will show maximum 5 events from each calendar. It's because of Home As
205205

206206
1. Go to your Home Assistant config directory (where you have configuration.yaml file)
207207
2. Create a subdirectory `custom_components/google` and go inside:
208-
3. Download ![Google.py](raw.githubusercontent.com/home-assistant/home-assistant/master/homeassistant/components/google/calendar.py) file
208+
3. Download files. Important: in Home Assistant 89.0 and above all 3 files are needed! It will be ignored if you have only calendar.py. ![Google.py](https://raw.githubusercontent.com/home-assistant/home-assistant/master/homeassistant/components/google/calendar.py)
209+
![__init__.py](https://raw.githubusercontent.com/home-assistant/home-assistant/master/homeassistant/components/google/__init__.py)
210+
![tts.py](https://raw.githubusercontent.com/home-assistant/home-assistant/master/homeassistant/components/google/tts.py)
211+
212+
209213
```
210214
mkdir -p custom_components/calendar
211215
cd custom_components/calendar
212216
wget https://raw.githubusercontent.com/home-assistant/home-assistant/master/homeassistant/components/google/calendar.py
217+
wget https://raw.githubusercontent.com/home-assistant/home-assistant/master/homeassistant/components/google/__init__.py
218+
wget https://raw.githubusercontent.com/home-assistant/home-assistant/master/homeassistant/components/google/tts.py
213219
```
214220
4. Open the Google.py file with text editor and change ``'maxResults': 5,`` to anything you want.
215221
5. Save the file and restart Home Assistant.

0 commit comments

Comments
 (0)