Skip to content

Commit

Permalink
Migrate unique id from int to str
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjay900 committed Dec 14, 2024
1 parent 74e913d commit 0eb94de
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/bosch_alarm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
# The config flow sets the entries title to the panel's model
new[CONF_MODEL] = model

config_entry.version = 3
hass.config_entries.async_update_entry(config_entry, data=new)

if config_entry.version < 4:
# Migrate unique id from integer to string
config_entry.version = 4
Expand Down

0 comments on commit 0eb94de

Please sign in to comment.