DewGew / DZGA-Flask

Domoticz Google Assisting using Flask
GNU General Public License v3.0
8 stars 4 forks source link

Error: data.payload.devices[0].attributes.sceneReversible is required for Scenes #79

Closed Xavier82 closed 5 months ago

Xavier82 commented 5 months ago

Using https://developers.home.google.com/tools/sync-data-validator?hl=en I have added the json and ran the validation. I get this error back: data.payload.devices[0].attributes.sceneReversible is required for Scenes

This should be the trait: https://developers.home.google.com/cloud-to-cloud/traits/scene

Can you fix this?

DewGew commented 5 months ago

What is the problem?

DewGew commented 5 months ago

sceneReversible - Indicates that this scene can be cancelled. This attribute is only relevant for scenes that modify state and remember previous state.

I think that domoticz scene not can be cancelled (also no deactivate of scenes either)

Xavier82 commented 5 months ago

What is the problem?

Google Home gets this as an issue and therefor cannot connect. When using the validator of Google it says it needs a value. Indeed Domoticz scene can't be cancelled but If there are scenes in Domoticz, then Google Home just expects the value for it.

DewGew commented 5 months ago

Not needed sceneReversible is set to False be default. closing this issue