Skip to content

Commit

Permalink
fix: config flow form #12
Browse files Browse the repository at this point in the history
  • Loading branch information
chilikla authored Oct 20, 2024
1 parent b609592 commit a6247df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion custom_components/yerushamayim/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ async def async_step_user(

return self.async_show_form(
step_id="user",
data_schema=vol.Schema({})
data_schema=vol.Schema({}),
description_placeholders={}
)

async def async_step_import(self, user_input: dict[str, Any]) -> FlowResult:
Expand Down
4 changes: 2 additions & 2 deletions custom_components/yerushamayim/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"config": {
"step": {
"user": {
"title": "[%key:component::yerushamayim::title%]",
"title": "Add Yerushamayim Weather",
"description": "Do you want to add Yerushamayim to Home Assistant?"
}
},
"abort": {
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]"
"single_instance_allowed": "Already configured. Only a single instance is allowed."
}
}
}

0 comments on commit a6247df

Please sign in to comment.