Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add migration guide #548

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions docs/migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Migration Guide

This guide will help you to prepare your setup to the upcoming rollout of the openHAB Google Assistant integration v4.

Next to some new features, the integration will become stricter with the configured item types.
Furthermore, some configuration options will be adjusted.

## Configuration Options

Please change any configured `Fan` or `Thermostat` device to use the new configuration options:

- Thermostat: `modes` needs to be changed to `thermostatModes`
- Fan: `speeds` needs to be changed to `fanSpeeds`

## Item Types

Please make sure that every item annotated with Google Assistant Metadata corresponds to the correct item type as listed below.

If you spot any issue with that, e.g. in your current setup, please let us know so that we can check and adjust the compatbility if possible.

| Device / Property | Item Type |
| --- | --- |
| **AC_Unit** | Group |
| **AirPurifier** | Group, Dimmer, Number, Switch |
| **Awning** | Rollershutter, Switch, Contact |
| **Blinds** | Rollershutter, Switch, Contact |
| **Camera** | String |
| **Charger** | Group |
| **chargerCapacityRemaining** | Number, Dimmer |
| **chargerCapacityUntilFull** | Number, Dimmer |
| **chargerCharging** | Switch |
| **chargerPluggedIn** | Switch |
| **ClimateSensor** | Group |
| **Coffee_Maker** | Switch |
| **Curtain** | Rollershutter, Switch, Contact |
| **Door** | Rollershutter, Switch, Contact |
| **Fan** | Group, Dimmer, Number, Switch |
| **fanFilterLifeTime** | Number |
| **fanMode** | Number, String |
| **fanPM25** | Number |
| **fanPower** | Switch |
| **fanSpeed** | Dimmer, Number |
| **Fireplace** | Switch |
| **Garage** | Rollershutter, Switch, Contact |
| **Gate** | Rollershutter, Switch, Contact |
| **Hood** | Group, Dimmer, Number, Switch |
| **humidityAmbient** | Number |
| **HumiditySensor** | Number |
| **Light** | Group, Color, Dimmer, Switch |
| **lightBrightness** | Dimmer, Number |
| **lightColor** | Color |
| **lightColorTemperature** | Dimmer, Number |
| **lightPower** | Switch |
| **Lock** | Switch, Contact |
| **memberArmed** | Switch |
| **memberArmLevel** | String |
| **memberErrorCode** | String |
| **memberTrouble** | Switch |
| **memberZone** | Contact |
| **Outlet** | Switch |
| **Pergola** | Rollershutter, Switch, Contact |
| **Scene** | Switch |
| **SecuritySystem** | Group, Switch |
| **Sensor** | Number, String, Dimmer, Switch, Rollershutter, Contact |
| **Shutter** | Rollershutter, Switch, Contact |
| **Speaker** | Dimmer |
| **Sprinkler** | Switch |
| **Switch** | Switch |
| **temperatureAmbient** | Number |
| **TemperatureSensor** | Number |
| **Thermostat** | Group |
| **thermostatHumidityAmbient** | Number |
| **thermostatMode** | Number, String, Switch |
| **thermostatTemperatureAmbient** | Number |
| **thermostatTemperatureSetpoint** | Number |
| **thermostatTemperatureSetpointHigh** | Number |
| **thermostatTemperatureSetpointLow** | Number |
| **TV** | Group |
| **tvApplication** | Number, String |
| **tvChannel** | Number, String |
| **tvInput** | Number, String |
| **tvMute** | Switch |
| **tvPower** | Switch |
| **tvTransport** | Player |
| **tvVolume** | Number, Dimmer |
| **Vacuum** | Switch |
| **Valve** | Switch |
| **WaterHeater** | Switch |
| **Window** | Rollershutter, Switch, Contact |