dext0r / yandex_smart_home

Adds support for Yandex Smart Home (Alice voice assistant) into Home Assistant
https://docs.yaha-cloud.ru
MIT License
790 stars 113 forks source link

Отдаются mode умения без списка режимов #498

Open dext0r opened 10 months ago

dext0r commented 10 months ago

Выяснить как такое возможно, подробнее - https://t.me/yandex_smart_home/76007


{
    "capabilities":
    [
        "<InputSourceCapability device_id=media_player.xiaomi_stick type=devices.capabilities.mode instance=input_source>",
        "<VolumeCapability device_id=media_player.xiaomi_stick type=devices.capabilities.range instance=volume>",
        "<ChannelCapability device_id=media_player.xiaomi_stick type=devices.capabilities.range instance=channel>",
        "<MuteCapability device_id=media_player.xiaomi_stick type=devices.capabilities.toggle instance=mute>",
        "<PauseCapabilityMediaPlayer device_id=media_player.xiaomi_stick type=devices.capabilities.toggle instance=pause>",
        "<OnOffCapabilityMediaPlayer device_id=media_player.xiaomi_stick type=devices.capabilities.on_off instance=on>"
    ],
    "description":
    {
        "capabilities":
        [
            {
                "parameters":
                {
                    "instance": "input_source",
                    "modes": []
                },
                "reportable": false,
                "retrievable": true,
                "type": "devices.capabilities.mode"
            }
        ],
        "id": "media_player.xiaomi_stick",
        "name": "Телевизор",
        "type": "devices.types.media_device.tv"
    },
    "properties": []
}```