mirror of
https://github.com/home-assistant/core.git
synced 2026-05-05 04:14:32 +02:00
Show device name in Twinkly discovery (#133814)
This commit is contained in:
committed by
GitHub
parent
feca7c28cf
commit
0e9965150e
@@ -80,6 +80,9 @@ class TwinklyConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
return self._create_entry_from_device(device_info, host)
|
||||
|
||||
self._set_confirm_only()
|
||||
self.context["title_placeholders"] = {
|
||||
"name": device_info[DEV_NAME],
|
||||
}
|
||||
placeholders = {
|
||||
"model": device_info[DEV_MODEL],
|
||||
"name": device_info[DEV_NAME],
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"config": {
|
||||
"flow_title": "{name}",
|
||||
"step": {
|
||||
"user": {
|
||||
"data": {
|
||||
|
||||
Reference in New Issue
Block a user