mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Show device name in Twinkly discovery (#133814)
This commit is contained in:
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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user