Expose scene presets as button entities in the HA integration under a dedicated "Scenes" device. Each button activates its scene via the API. The coordinator now fetches scene presets alongside other data, and the integration reloads when the scene list changes. Also animate tutorial autoscroll with smooth behavior and wait for scrollend before positioning the spotlight overlay. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
||
"config": {
|
||
"step": {
|
||
"user": {
|
||
"title": "Настройка LED Screen Controller",
|
||
"description": "Введите URL и API-ключ вашего сервера LED Screen Controller.",
|
||
"data": {
|
||
"server_name": "Имя сервера",
|
||
"server_url": "URL сервера",
|
||
"api_key": "API-ключ"
|
||
},
|
||
"data_description": {
|
||
"server_name": "Отображаемое имя сервера в Home Assistant",
|
||
"server_url": "URL сервера LED Screen Controller (например, http://192.168.1.100:8080)",
|
||
"api_key": "API-ключ из конфигурационного файла сервера"
|
||
}
|
||
}
|
||
},
|
||
"error": {
|
||
"cannot_connect": "Не удалось подключиться к серверу.",
|
||
"invalid_api_key": "Неверный API-ключ.",
|
||
"unknown": "Произошла непредвиденная ошибка."
|
||
},
|
||
"abort": {
|
||
"already_configured": "Этот сервер уже настроен."
|
||
}
|
||
},
|
||
"entity": {
|
||
"button": {
|
||
"activate_scene": {
|
||
"name": "{scene_name}"
|
||
}
|
||
},
|
||
"switch": {
|
||
"processing": {
|
||
"name": "Обработка"
|
||
}
|
||
},
|
||
"sensor": {
|
||
"fps": {
|
||
"name": "FPS"
|
||
},
|
||
"status": {
|
||
"name": "Статус",
|
||
"state": {
|
||
"processing": "Обработка",
|
||
"idle": "Ожидание",
|
||
"error": "Ошибка",
|
||
"unavailable": "Недоступен"
|
||
}
|
||
},
|
||
"rectangle_color": {
|
||
"name": "{rectangle_name} Цвет"
|
||
}
|
||
},
|
||
"number": {
|
||
"brightness": {
|
||
"name": "Яркость"
|
||
}
|
||
},
|
||
"light": {
|
||
"light": {
|
||
"name": "Подсветка"
|
||
}
|
||
}
|
||
}
|
||
}
|