Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrErohin committed Apr 15, 2024
1 parent 330dcac commit 0c798d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It allows you:
- Entered area
- Exited area
- Additional tracked
- Most tracked flights
- Most tracked flights (You may disable it via configuration)

### Configuration
- Add to track
Expand Down
2 changes: 1 addition & 1 deletion custom_components/flightradar24/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def async_step_init(self, user_input: dict[str, Any] | None = None) -> Flo
errors['base'] = str(error)

if not errors:
self.config_entry.data = user_input
self.hass.config_entries.async_update_entry(self.config_entry, data=user_input)
return self.async_create_entry(title=DEFAULT_NAME, data=user_input)

data_schema = vol.Schema({
Expand Down
2 changes: 1 addition & 1 deletion custom_components/flightradar24/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/AlexandrErohin/home-assistant-flightradar24/issues",
"requirements": ["FlightRadarAPI==1.3.25", "pycountry==23.12.11"],
"version": "1.9.0"
"version": "1.9.1"
}

0 comments on commit 0c798d4

Please sign in to comment.