Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
📝 Add installation instructions for Home Assistant 0.88.2 and lower
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramloc committed Mar 7, 2019
1 parent 4619e5e commit 76b6cb9
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Climate Home Assistant component for Heatzy Pilot

## Installation

### Installation for Home Assistant 0.89.0 and greater

To register the heatzy component to Home Assistant, copy the `heatzy` folder from this repository to your Home Assistant `custom_components` folder.
The following commands assume that your Home Assistant folder is located in `~/.homeassistant/custom_components`:

Expand All @@ -20,17 +22,36 @@ cp -rl Devotics-heatzy-home-hassistant-*/heatzy .
rm -rf Devotics-heatzy-home-hassistant-*
```

### Installation for Home Assistant 0.88.2 and lower

Version 2.0.0 of this component introduces breaking changes related to [The Great Migration ™](https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html). You can still install a compatible version on Home Assistant 0.88.2 and lower with the following instructions:

```bash
# Create custom_components folder
mkdir -p ~/.homeassistant/custom_components
# Move to the custom_components folder
cd ~/.homeassistant/custom_components
# Fetch this repo and extract it
curl -L https://api.github.com/repos/Devotics/heatzy-home-hassistant/tarball/1.1.1 | tar -xz
# Copy climate folder
cp -rl Devotics-heatzy-home-hassistant-*/climate .
# Clean up
rm -rf Devotics-heatzy-home-hassistant-*
```

## Usage

Once installed, add the following lines to your `configuration.yaml`:

```yaml
climate:
- platform: heatzy
username: <your heatzy email>
password: <your heatzy password>
```
This configuration will allow the component to query the Heatzy API to retrieve and control your devices status.
## License
[MIT](https://oss.ninja/mit/devotics)
[MIT](https://oss.ninja/mit/devotics)

0 comments on commit 76b6cb9

Please sign in to comment.