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

Google Smart Home Actions Toggle Trait for Horizontal & Vertical Swing #564

Open
arorasam300 opened this issue Jan 13, 2023 · 0 comments
Open

Comments

@arorasam300
Copy link

I am toggling horizontal swing and vertical swing in Hindi language, but assistant is not taking my command and always take me to a web page.

English Utterance: Start Horizontal Swing on Bedroom A/C. (working) Hindi Utterance: बैडरूम एसी के हॉरिजॉन्टल स्विंग को चालू कर दो.(not working)

I have given all the possible commands in Hindi related to toggle but its not working. Please help me out from this.

Result : Command is to be executed when i am toggling Horizontal swing and vertical swing.

Below is my Google SYNC response:

{ "requestId": "11311483680465073646", "payload": { "agentUserId": "123", "devices": [

    {
        "id": "stest240",
        "name": {
            "name": "Bedroom A/C",
            "defaultNames": [
                "Smart Air Conditioner"
            ]
        },
        "type": "action.devices.types.THERMOSTAT",
        "traits": [
            "action.devices.traits.OnOff",
            "action.devices.traits.TemperatureSetting",                   
            "action.devices.traits.Toggles"
        ],
        "willReportState": false,
        "deviceInfo": {
            "manufacturer": "smart-home",
            "model": "hs1234",
            "hwVersion": "3.2",
            "swVersion": "11.4"
        },
        "attributes": {
            "availableThermostatModes": [
                "cool",
                "dry",
                "fan-only"
            ],
            "thermostatTemperatureUnit": "C",
            "thermostatTemperatureRange": {
                "minThresholdCelsius": 16,
                "maxThresholdCelsius": 30
            },                   
            "availableToggles": [
                {
                    "name": "horizontalswing",
                    "name_values": [
                        {
                            "name_synonym": [
                                "horizontal swing"
                            ],
                            "lang": "en"
                        },
                        {
                            "name_synonym": [
                                    "हॉरिजोंटल स्विंग",
                                    "हॉरिजॉन्टल स्विंग"
                            ],
                            "lang": "hi"
                        }
                    ]
                },
                {
                    "name": "verticalswing",
                    "name_values": [
                        {
                            "name_synonym": [
                                "vertical swing"
                            ],
                            "lang": "en"
                        },
                        {
                            "name_synonym": [
                                    "वर्टिकल स्विंग",
                                    "वर्टीकल स्विंग"
                            ],
                            "lang": "hi"
                        }
                    ]
                }
            ]
        }
    }
]

}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant