Skip to content

Commit

Permalink
📐 add yaml mode for customizing
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Feb 19, 2025
1 parent 7566bf6 commit cdf77d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/xiaomi_miot/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,9 @@ async def async_step_customizing(self, user_input=None):
schema.update({
vol.Optional('reset_customizes', default=False): cv.boolean,
})
customizes.pop('bool2selects', None)
if customizes:
tip += f'\n```yaml\n{yaml.dump(customizes)}\n```'
if customizes:
customizes.pop('bool2selects', None)
tip += f'\n```yaml\n{yaml.dump(customizes)}\n```'

return self.async_show_form(
step_id='customizing',
Expand Down

0 comments on commit cdf77d4

Please sign in to comment.