chore(config_flow): replace the stranded self-answering comment in the options editor with a plain statement (t26 F5)
This commit is contained in:
1 parent
3587747c72
commit
6c925c5241
1 file changed
+3
-3
@@ -548,9 +548,9 @@ class NvidiaShieldOptionsFlow(config_entries.OptionsFlow):
|
|||||||
self._options[CONF_CHANNEL_DIGIT_DELAY] = delay
|
self._options[CONF_CHANNEL_DIGIT_DELAY] = delay
|
||||||
self._options.update(user_input)
|
self._options.update(user_input)
|
||||||
self._options[CONF_APP_NAME_MAP] = app_map
|
self._options[CONF_APP_NAME_MAP] = app_map
|
||||||
# P5-2: the icon column — blank/sparse keeps prior entries?
|
# P5-2: the icon column — the editor is the source of
|
||||||
# No: the editor is the source of truth, so a save without
|
# truth, so a save without icons clears them (and a
|
||||||
# icons clears them (single-column stays valid).
|
# single-column map stays valid).
|
||||||
self._options[CONF_APP_ICON_MAP] = icons
|
self._options[CONF_APP_ICON_MAP] = icons
|
||||||
return self.async_create_entry(title="", data=self._options)
|
return self.async_create_entry(title="", data=self._options)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user