Skip to content

Commit 45308a7

Browse files
committed
Fix bug with names
1 parent 2343b86 commit 45308a7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

custom_components/bluecon/ConfigEntryNotificationInfoStorage.py renamed to custom_components/bluecon/ConfigFolderNotificationInfoStorage.py

File renamed without changes.

custom_components/bluecon/ConfigEntryOAuthTokenStorage.py renamed to custom_components/bluecon/ConfigFolderOAuthTokenStorage.py

File renamed without changes.

custom_components/bluecon/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import json
22
from .const import DOMAIN, SIGNAL_CALL_ENDED, SIGNAL_CALL_STARTED
3-
from .ConfigEntryOAuthTokenStorage import ConfigFolderOAuthTokenStorage
4-
from .ConfigEntryNotificationInfoStorage import ConfigFolderNotificationInfoStorage
3+
from .ConfigFolderOAuthTokenStorage import ConfigFolderOAuthTokenStorage
4+
from .ConfigFolderNotificationInfoStorage import ConfigFolderNotificationInfoStorage
55
from homeassistant.const import EVENT_HOMEASSISTANT_STOP, Platform
66
from homeassistant.helpers.dispatcher import dispatcher_send
77
from bluecon import BlueConAPI, INotification, CallNotification, CallEndNotification, IOAuthTokenStorage, INotificationInfoStorage, OAuthToken
@@ -44,8 +44,8 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
4444
return unload_ok
4545

4646
async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry):
47-
tempNotificationInfoStorage: INotificationInfoStorage = ConfigEntryNotificationInfoStorage(hass, config_entry)
48-
tempOAuthTokenStorage: IOAuthTokenStorage = ConfigEntryOAuthTokenStorage(hass, config_entry)
47+
tempNotificationInfoStorage: INotificationInfoStorage = ConfigFolderNotificationInfoStorage(hass, config_entry)
48+
tempOAuthTokenStorage: IOAuthTokenStorage = ConfigFolderOAuthTokenStorage(hass, config_entry)
4949

5050
if config_entry.version == 1:
5151
try:

0 commit comments

Comments
 (0)