# openHAB Google Assistant: A new version is released

**URL:** <https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996>\
**Category:** Google Assistant\
**Created:** [September 29, 2021, 4:08pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996 "2021-09-29T16:08:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [September 29, 2021, 4:08pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/1 "2021-09-29T16:08:30Z")

</div>

Dear community,

we have just released a [new version](https://github.com/openhab/openhab-google-assistant/releases/tag/v3.1.0) of the openHAB Google Assistant integration.  
I am very sorry that there was such a long delay after the last one.

As already announced in [openHAB Google Assistant: New release with updated device support](https://community.openhab.org/t/openhab-google-assistant-new-release-with-updated-device-support/121143) there are some **breaking changes** included: namely the **removal of tag support**. From now on devices that were only exposed by tags will not anymore be available in your Google Assistant. If you miss devices after synchronizing, please check if you use proper metadata.

A full list of changes is attached here:

## ⚠ Breaking Changes

- Remove tag support ([#194](https://github.com/openhab/openhab-google-assistant/pull/194))

## 🚀 Features

- Add separate power switch for specialcolorlight ([#215](https://github.com/openhab/openhab-google-assistant/pull/215))
- Support types with dimension ([#210](https://github.com/openhab/openhab-google-assistant/pull/210))

## 🐛 Bug Fixes

- Fix sensor state format ([#217](https://github.com/openhab/openhab-google-assistant/pull/217))
- Fix exception when tfa challenge is missing ([#211](https://github.com/openhab/openhab-google-assistant/pull/211))

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [November 15, 2021, 10:21pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/2 "2021-11-15T22:21:29Z")

</div>

Dear community,

another [release](https://github.com/openhab/openhab-google-assistant/releases/tag/v3.2.0) was just deployed. Thanks to [@duanemck](https://github.com/duanemck), [@cromefire](https://github.com/cromefire) and [@bccrew](https://github.com/bccrew) for their contributions.

Especially the enhanced security system support includes a lot of interesting new features. Make sure to check out the updated usage documentation.

## 🚀 Features

- Add Enhanced SecuritySystem support ([#226](https://github.com/openhab/openhab-google-assistant/pull/226)) [@duanemck](https://github.com/duanemck)
- Add Color capabilities for SpecialColorLight ([#250](https://github.com/openhab/openhab-google-assistant/pull/250)) [@cromefire](https://github.com/cromefire)

## 🧰 Maintenance

- Use node.js v14 ([#274](https://github.com/openhab/openhab-google-assistant/pull/274)) [@michikrug](https://github.com/michikrug)

## 📖 Documentation

- Add markdown check workflow ([#270](https://github.com/openhab/openhab-google-assistant/pull/270)) [@michikrug](https://github.com/michikrug)
- Fix typos in usage documentation ([#269](https://github.com/openhab/openhab-google-assistant/pull/269)) [@bccrew](https://github.com/bccrew)
- Fix typo ([#261](https://github.com/openhab/openhab-google-assistant/pull/261)) [@bccrew](https://github.com/bccrew)

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [January 13, 2022, 5:37pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/3 "2022-01-13T17:37:01Z")

</div>

Dear community,

another [release](https://github.com/openhab/openhab-google-assistant/releases/tag/v3.3.0) was just deployed.

It mostly contains dependency updates but also one new device type called `CHARGER`.

## 🚀 Features

- Add Charger device and Charge command ([#301](https://github.com/openhab/openhab-google-assistant/pull/301)) [@michikrug](https://github.com/michikrug)

## 🧰 Maintenance

- See GitHub 😃

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [March 13, 2022, 8:37pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/4 "2022-03-13T20:37:49Z")

</div>

Dear community,

a new [release](https://github.com/openhab/openhab-google-assistant/releases/tag/v3.4.0) was just deployed.

⚡ With that a **new feature** called [“generic state validation”](https://github.com/openhab/openhab-google-assistant/pull/319) is introduced.

This enables you to add the new configuration option `checkState=true` to your device’s metadata.

When this option is set every command for that device will cause an additional request to the user’s OH instance to get its current state. The state is then compared to the requested one by the command.  
Google Assistant should then respond with corresponding error messages when a requested state is already in place. (See the list of various error codes available: [Error list](https://developers.google.com/assistant/smarthome/reference/errors-exceptions#error_list))

**Important:** This change now also requires you to add this config option to SecuritySystem devices. They will no longer by default check the state before firing the arm/disarm command.

## 🚀 Features

- Add generic state validation ([#319](https://github.com/openhab/openhab-google-assistant/pull/319)) [@michikrug](https://github.com/michikrug)

## 🧰 Maintenance

- See GitHub 😃

---

<div class="post-metadata">

**Author:** ![Bota87](https://community.openhab.org/user_avatar/community.openhab.org/bota87/32/61440_2.png) [@Bota87](https://community.openhab.org/u/Bota87)\
**Post date:** [March 16, 2022, 9:22pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/5 "2022-03-16T21:22:53Z")

</div>

Hi @michikrug,

it’s possible that after this update my rollershutter dosen’t work properly anymore?  
If I ask to open they close and vice versa.  
I’ve tried to add the [inverted=true] option to one of my shutter but that made no difference

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [March 17, 2022, 7:30pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/6 "2022-03-17T19:30:22Z")

</div>

At least I touched something there. I will have a look.

So the general logic did not change. I would not expect anything to behave differently.  
Did you sync your devices after adding the inverted option?

Could you share your item configuration?

---

<div class="post-metadata">

**Author:** ![Bota87](https://community.openhab.org/user_avatar/community.openhab.org/bota87/32/61440_2.png) [@Bota87](https://community.openhab.org/u/Bota87)\
**Post date:** [March 17, 2022, 11:41pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/7 "2022-03-17T23:41:49Z")

</div>

Good catch! I didn’t know that I have to sync the devices after adding the inverted option, now it works!  
Thank’s

---

<div class="post-metadata">

**Author:** ![Hoecki](https://community.openhab.org/user_avatar/community.openhab.org/hoecki/32/98859_2.png) [@Hoecki](https://community.openhab.org/u/Hoecki)\
**Post date:** [March 19, 2022, 2:10pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/8 "2022-03-19T14:10:58Z")

</div>

I noticed same change of behaviour today. Inverting and syncing did fix it as well.

**And:** Many thanks to michikrug for the openHAB Google Assistant integration!

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [March 19, 2022, 2:38pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/9 "2022-03-19T14:38:30Z")

</div>

Hmm. Thanks for the update. I will need to check what actually could have caused this…

---

<div class="post-metadata">

**Author:** ![mvbergen](https://community.openhab.org/user_avatar/community.openhab.org/mvbergen/32/43515_2.png) [@mvbergen](https://community.openhab.org/u/mvbergen)\
**Post date:** [March 21, 2022, 8:07pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/10 "2022-03-21T20:07:57Z")

</div>

Hi @michikrug, thank you for all your great work on openHAB Google Assistant, really appreciated!! I noticed that recently my shutters stopped working based on GA commands. It used to send UP and DOWN commands and now sends “0” or “100” which is not understood by (at least) the RFXCOM and KNX bindings. Could this be the result of changes to the GA integration? I did re-sync all items.

edit: I noticed a change in line 22 of “functions/commands/openclose.js” as part of pull request #319:

```auto
- return openPercent === 0 ? 'DOWN' : openPercent === 100 ? 'UP' : (100 - openPercent).toString();
+ return (100 - openPercent).toString();

```

Guess that this is causing the changed behavior. Let me know if there is something I can do or test. Thx!

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [March 22, 2022, 8:55am UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/11 "2022-03-22T08:55:45Z")

</div>

Yes. This was changed due to the recent “check states” functionality. As openhab translates the command “DOWN” to 100 as the final state (in my tests) and I need the actual state for comparison.

As I do not run rullershutters at my end, I can also not judge if this is actually a correct behavior.

Would you be able to fix this with rules in your end, or do I need to adjust the integration with maybe some configuration options as yours might be a common issue?

---

<div class="post-metadata">

**Author:** ![mvbergen](https://community.openhab.org/user_avatar/community.openhab.org/mvbergen/32/43515_2.png) [@mvbergen](https://community.openhab.org/u/mvbergen)\
**Post date:** [March 22, 2022, 9:30am UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/12 "2022-03-22T09:30:09Z")

</div>

I did write rules to make it work again, 2 rules per rollershutter, for me 20 in total, so not ideal. I use the RFXCOM binding to control my Somfy shutters, but I read in another tread that also users using KNX controlled shutters are affected (i.e. do not understand “0” and “100”, only “UP” and “DOWN”).

> [@OpenHab Google Assistant and KNX Shutters stopped working](https://community.openhab.org/t/openhab-google-assistant-and-knx-shutters-stopped-working/134386):
>
> Hello, I had set up my KNX Shutters to work with Google Assistant a while ago and all worked well. Out of nowhere, it all stopped working. I checked the logs on openHab, and found out that Google Assistant is not sending UP or DOWN commands, but 0 and 100. I do not know if this was always the case, but now, the 100 and 0 commands are no longer translated into UP or DOWN movements of the shutters. I tried with a rule that converts 0 to UP and 100 to DOWN, which made it work again, but I do not…

So if the GA integration could restore the old behavior this would be best, else several bindings (at least RFXCOM and KNX, likely more) will need to be adjusted.

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [March 22, 2022, 4:44pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/13 "2022-03-22T16:44:10Z")

</div>

Alright. Thanks. I will have a look in the next days… 😎

---

<div class="post-metadata">

**Author:** ![Tomh4](https://community.openhab.org/user_avatar/community.openhab.org/tomh4/32/59496_2.png) [@Tomh4](https://community.openhab.org/u/Tomh4)\
**Post date:** [March 27, 2022, 2:40pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/14 "2022-03-27T14:40:40Z")

</div>

@michikrug while you are at it, in a recent update Google added support for Ikea Shutters, with control buttons inside the app.  
Is there a way to make shutters from openHab look like Ikea ones, so we get the in-app controls?

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [March 27, 2022, 10:13pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/15 "2022-03-27T22:13:27Z")

</div>

I guess this will come with the reworked Google Home app and has nothing to do with specific configurations of the devices.

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [March 27, 2022, 11:09pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/16 "2022-03-27T23:09:20Z")

</div>

See [Bring back UP & DOWN for open close devices by michikrug · Pull Request #331 · openhab/openhab-google-assistant · GitHub](https://github.com/openhab/openhab-google-assistant/pull/331)

Will run some tests and release this asap..

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [March 27, 2022, 11:11pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/17 "2022-03-27T23:11:00Z")

</div>

What I still do not understand is that for some users the `inverted` option had to be set after the last release, as I did not changed the logic of that as far as I am aware of…

---

<div class="post-metadata">

**Author:** ![BlueOH](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eb9ed0/32.png) [@BlueOH](https://community.openhab.org/u/BlueOH)\
**Post date:** [March 29, 2022, 10:36am UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/18 "2022-03-29T10:36:50Z")

</div>

I wonder why the values for UP and DOWN have been treated different from the values between 1 to 99. To me its seems that you removed the special handling for UP and DOWN (see comment from mvbergen):

```csv
I noticed a change in line 22 of “functions/commands/openclose.js” as part of pull request #319:
	- return openPercent === 0 ? 'DOWN' : openPercent === 100 ? 'UP' : (100 - openPercent).toString();
	+ return (100 - openPercent).toString();

```

In “# Blinds issue #133” scavenrage commented on 21 Jan 2020

> <https://github.com/openhab/openhab-google-assistant/issues/133>
>
> Just tested the my blinds with the new tags method, with the "inverted" option.
> …
> When I say "set bedroom blind to 45%" the percentage now arrive correctly in openhab.
> But when I say "open" or close the commands are inverted:
> example
> "close bedroom blind"
> in the console appears "Item 'TappCameraTarget' received command UP
> and 
> "open bedroom blind"
> in the console appears "Item 'TappCameraTarget' received command DOWN
> 
> Thanks,

```csv
Ok, so I will continue to use a rule to invert only the values from 1 to 99% :D. Thank you very much for your work and your support!

```

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [April 2, 2022, 10:16pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/19 "2022-04-02T22:16:18Z")

</div>

Ah. Thanks for that reminder.

Still, there is no different treatment of UP/DOWN.  
Google only tells openPercent values that are “translated” into commands for openHAB.  
openPercent=0 will mean DOWN (100 as state) in the OH world. And if the user inverts all values, 0 will be 100 and thus become UP (0 as state).

What we could do is actually introducing different treatment and exclude UP/DOWN from the inversion…

---

<div class="post-metadata">

**Author:** ![michikrug](https://community.openhab.org/user_avatar/community.openhab.org/michikrug/32/72868_2.png) [@michikrug](https://community.openhab.org/u/michikrug)\
**Post date:** [April 2, 2022, 10:38pm UTC](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996/20 "2022-04-02T22:38:22Z")

</div>

Dear community,

a new [release](https://github.com/openhab/openhab-google-assistant/releases/tag/v3.4.1) was just deployed.

This is basically just a fix for the last version where the UP/DOWN commands for opening and closing were no longer sent.

## 🐛 Bug Fixes

- Bring back UP & DOWN for open close devices ([#331](https://github.com/openhab/openhab-google-assistant/pull/331)) [@michikrug](https://github.com/michikrug)

## 🧰 Maintenance

- See GitHub 😃

[Next page](https://community.openhab.org/t/openhab-google-assistant-a-new-version-is-released/126996.md?page=2)
