Closed niemyjski closed 3 years ago
I'll look into this.
Please give the latest beta a try, it should clear this issue up.
I updated to the beta and now the integration is throwing the "Plan configuration missing." error. It also threw this at the top of the hour note that I tried to manually put in the tariff ID right before it changed:
2021-09-24 15:55:49 DEBUG (MainThread) [custom_components.openei] config_entry: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:55:49 ERROR (MainThread) [custom_components.openei] Plan configuration missing.
2021-09-24 15:55:59 DEBUG (MainThread) [custom_components.openei] config_entry: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:55:59 ERROR (MainThread) [custom_components.openei] Plan configuration missing.
2021-09-24 15:56:19 DEBUG (MainThread) [custom_components.openei] config_entry: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:56:19 ERROR (MainThread) [custom_components.openei] Plan configuration missing.
2021-09-24 15:56:59 DEBUG (MainThread) [custom_components.openei] config_entry: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:56:59 ERROR (MainThread) [custom_components.openei] Plan configuration missing.
2021-09-24 15:57:17 DEBUG (MainThread) [custom_components.openei.config_flow] data: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:57:18 DEBUG (SyncWorker_0) [custom_components.openei.config_flow] lookup_plans: {'Pacific Gas & Electric Co': [{'name': 'E-7 -Residential Time of Use Baseline Region X; Closed Rate', 'label': '53ff31bb5257a3820b0b484a'}, {'name': 'E-7 -Residential Time of Use Baseline Region Z; Closed Rate', 'label': '565612dc5457a3363d947b7a'}, {'name': 'E-7 -Residential Time of Use Baseline Region Y; Closed Rate', 'label': '565612d65457a37b47947b75'}, {'name': 'E-7 -Residential Time of Use Baseline Region W; Closed Rate', 'label': '565612cf5457a37447947b76'}, {'name': 'E-7 -Residential Time of Use Baseline Region V; Closed Rate', 'label': '565612c95457a36847947b75'}, {'name': 'E-7 -Residential Time of Use Baseline Region T; Closed Rate', 'label': '565612c35457a37d47947b75'}, {'name': 'E-7 -Residential Time of Use Baseline Region S; Closed Rate', 'label': '565612bd5457a37b47947b74'}, {'name': 'E-7 -Residential Time of Use Baseline Region R; Closed Rate', 'label': '565612b75457a38747947b76'}, {'name': 'E-7 -Residential Time of Use Baseline Region Q; Closed Rate', 'label': '5cc073ec5457a3812e67107d'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region Q', 'label': '5cbf610e5457a39517671081'}, {'name': 'E-6 -Residential Time of Use Baseline Region Z; Closed Rate', 'label': '5cc083365457a31435671081'}, {'name': 'E-6 -Residential Time of Use Baseline Region Y; Closed Rate', 'label': '5cc082635457a3c25067107d'}, {'name': 'E-6 -Residential Time of Use Baseline Region X; Closed Rate', 'label': '5cc081a65457a31435671080'}, {'name': 'E-6 -Residential Time of Use Baseline Region W; Closed Rate', 'label': '5cc080745457a30917671083'}, {'name': 'E-6 -Residential Time of Use Baseline Region V; Closed Rate', 'label': '5cc07fa55457a3143567107f'}, {'name': 'E-6 -Residential Time of Use Baseline Region T; Closed Rate', 'label': '5cc07e215457a3a43667107d'}, {'name': 'E-6 -Residential Time of Use Baseline Region S; Closed Rate', 'label': '5cc07d335457a3830467107e'}, {'name': 'E-6 -Residential Time of Use Baseline Region R; Closed Rate', 'label': '5cc07c505457a3143567107e'}, {'name': 'E-6 -Residential Time of Use Baseline Region Q; Closed Rate', 'label': '5cc0775d5457a3830467107d'}, {'name': 'E-6 -Residential Time of Use- Baseline Region P; Closed Rate', 'label': '5cc0764c5457a3143567107d'}, {'name': 'E-7 -Residential Time of Use Baseline Region P; Closed Rate', 'label': '5cc0716d5457a3503967107d'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region P', 'label': '5cbf5fe05457a39517671080'}, {'name': 'E-1 -Residential Service Baseline Region Z (All Electric Service)', 'label': '5cbf5c715457a3ac3b67107f'}, {'name': 'E-1 -Residential Service Baseline Region Y (All Electric Service)', 'label': '5cbf5bf75457a34e4067107d'}, {'name': 'E-1 -Residential Service Baseline Region X (All Electric Service)', 'label': '5cbf5b585457a3ac3b67107e'}, {'name': 'E-1 -Residential Service Baseline Region W (All Electric Service)', 'label': '5cbf5a935457a30817671080'}, {'name': 'E-1 -Residential Service Baseline Region V (All Electric Service)', 'label': '5cbf5a1c5457a3081767107f'}, {'name': 'E-1 -Residential Service Baseline Region T (All Electric Service)', 'label': '5cbf599a5457a3d119671081'}, {'name': 'E-1 -Residential Service Baseline Region S (All Electric Service)', 'label': '5cbf59325457a3081767107e'}, {'name': 'E-1 -Residential Service Baseline Region R (All Electric Service)', 'label': '5cbf58b75457a3951767107f'}, {'name': 'E-1 -Residential Service Baseline Region Q (All Electric Service)', 'label': '5cbf58215457a3a91567107e'}, {'name': 'E-1 -Residential Service Baseline Region P (All Electric Service)', 'label': '5cbf578e5457a3d119671080'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region W', 'label': '5cbf65c45457a3ce3d67107d'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region V', 'label': '5cbf63fb5457a34e4067107e'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region T', 'label': '5cbf63515457a3a91567107f'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region S', 'label': '5cbf62b25457a3091767107e'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region R', 'label': '5cbf620d5457a30817671081'}, {'name': 'E-TOU Option B - Residential Time of Use Service (All Baseline Regions)', 'label': '5cbf69645457a30817671083'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region Z', 'label': '5cbf67bf5457a3091767107f'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region Y', 'label': '5cbf672b5457a30817671082'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region X', 'label': '5cbf66995457a3ce3d67107e'}, {'name': 'Electric Vehicle EV-B', 'label': '5cbf765e5457a34e40671080'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region P', 'label': '5d6eba3a5457a39b2f466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region Z', 'label': '5d711e4f5457a3fe2e466f6a'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region Q', 'label': '5d711c6a5457a32f69466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region R', 'label': '5d711c995457a34f31466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region S', 'label': '5d711cd05457a3fe2e466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region T', 'label': '5d711d0a5457a3b72c466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region V', 'label': '5d711d475457a32f69466f69'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region W', 'label': '5d711da25457a3c630466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region X', 'label': '5d711dd65457a3fe2e466f69'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region Y', 'label': '5d711e255457a3e132466f68'}, {'name': 'EL-TOU Option A - Residential Time of Use Service Baseline Region P', 'label': '5dc476a25457a38c24f6a950'}, {'name': 'EL-TOU Option B - Residential Time of Use Service Baseline Region P', 'label': '5dc477b35457a32724f6a951'}, {'name': 'EL-TOU-C3 Residential Time of Use Baseline Region P', 'label': '5dc479ff5457a3001bf6a950'}, {'name': 'EML-TOU Residential Time of Use Multifamily CARE Baseline Region P', 'label': '5dc47c5d5457a39661f6a950'}, {'name': 'Electric Vehicle EV-2', 'label': '60a50f795457a33a3856fb5c'}, {'name': 'E-1 -Residential Service Baseline Region P', 'label': '613f54f65457a3902a29d2ad'}, {'name': 'E-1 -Residential Service Baseline Region Q', 'label': '613f55835457a3cb2329d2ad'}, {'name': 'E-1 -Residential Service Baseline Region R', 'label': '613f55e45457a3cb2329d2ae'}, {'name': 'E-1 -Residential Service Baseline Region S', 'label': '613f56405457a3e63129d2ad'}, {'name': 'E-1 -Residential Service Baseline Region T', 'label': '613f56a25457a3cb2329d2af'}, {'name': 'E-1 -Residential Service Baseline Region V', 'label': '613f57015457a3923129d2ad'}, {'name': 'E-1 -Residential Service Baseline Region W', 'label': '613f57615457a3d22d29d2ad'}, {'name': 'E-1 -Residential Service Baseline Region X', 'label': '613f57c45457a3cb2329d2b0'}, {'name': 'E-1 -Residential Service Baseline Region Y', 'label': '613f58285457a3902a29d2ae'}, {'name': 'E-1 -Residential Service Baseline Region Z', 'label': '613f58875457a37c3229d2ad'}], 'City & County of San Francisco (Utility Company)': [{'name': 'REV-1 Experimental Electric Vehicle Program', 'label': '5a382a9c5457a3783bd2dd80'}, {'name': 'R-1 Residential Service', 'label': '5a3829955457a31d47d2dd7e'}, {'name': 'R-2 Low-Income Residential Service', 'label': '587e79955457a3ee1b316ce6'}], 'Not Listed': [{'name': 'Not Listed', 'label': 'Not Listed'}]}
2021-09-24 15:57:18 DEBUG (MainThread) [custom_components.openei.config_flow] get_utility_list: ['Pacific Gas & Electric Co', 'City & County of San Francisco (Utility Company)', 'Not Listed']
2021-09-24 15:57:19 DEBUG (MainThread) [custom_components.openei.config_flow] data: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:57:19 DEBUG (MainThread) [custom_components.openei.config_flow] data: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:57:20 DEBUG (SyncWorker_5) [custom_components.openei.config_flow] lookup_plans: {'Pacific Gas & Electric Co': [{'name': 'E-7 -Residential Time of Use Baseline Region X; Closed Rate', 'label': '53ff31bb5257a3820b0b484a'}, {'name': 'E-7 -Residential Time of Use Baseline Region Z; Closed Rate', 'label': '565612dc5457a3363d947b7a'}, {'name': 'E-7 -Residential Time of Use Baseline Region Y; Closed Rate', 'label': '565612d65457a37b47947b75'}, {'name': 'E-7 -Residential Time of Use Baseline Region W; Closed Rate', 'label': '565612cf5457a37447947b76'}, {'name': 'E-7 -Residential Time of Use Baseline Region V; Closed Rate', 'label': '565612c95457a36847947b75'}, {'name': 'E-7 -Residential Time of Use Baseline Region T; Closed Rate', 'label': '565612c35457a37d47947b75'}, {'name': 'E-7 -Residential Time of Use Baseline Region S; Closed Rate', 'label': '565612bd5457a37b47947b74'}, {'name': 'E-7 -Residential Time of Use Baseline Region R; Closed Rate', 'label': '565612b75457a38747947b76'}, {'name': 'E-7 -Residential Time of Use Baseline Region Q; Closed Rate', 'label': '5cc073ec5457a3812e67107d'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region Q', 'label': '5cbf610e5457a39517671081'}, {'name': 'E-6 -Residential Time of Use Baseline Region Z; Closed Rate', 'label': '5cc083365457a31435671081'}, {'name': 'E-6 -Residential Time of Use Baseline Region Y; Closed Rate', 'label': '5cc082635457a3c25067107d'}, {'name': 'E-6 -Residential Time of Use Baseline Region X; Closed Rate', 'label': '5cc081a65457a31435671080'}, {'name': 'E-6 -Residential Time of Use Baseline Region W; Closed Rate', 'label': '5cc080745457a30917671083'}, {'name': 'E-6 -Residential Time of Use Baseline Region V; Closed Rate', 'label': '5cc07fa55457a3143567107f'}, {'name': 'E-6 -Residential Time of Use Baseline Region T; Closed Rate', 'label': '5cc07e215457a3a43667107d'}, {'name': 'E-6 -Residential Time of Use Baseline Region S; Closed Rate', 'label': '5cc07d335457a3830467107e'}, {'name': 'E-6 -Residential Time of Use Baseline Region R; Closed Rate', 'label': '5cc07c505457a3143567107e'}, {'name': 'E-6 -Residential Time of Use Baseline Region Q; Closed Rate', 'label': '5cc0775d5457a3830467107d'}, {'name': 'E-6 -Residential Time of Use- Baseline Region P; Closed Rate', 'label': '5cc0764c5457a3143567107d'}, {'name': 'E-7 -Residential Time of Use Baseline Region P; Closed Rate', 'label': '5cc0716d5457a3503967107d'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region P', 'label': '5cbf5fe05457a39517671080'}, {'name': 'E-1 -Residential Service Baseline Region Z (All Electric Service)', 'label': '5cbf5c715457a3ac3b67107f'}, {'name': 'E-1 -Residential Service Baseline Region Y (All Electric Service)', 'label': '5cbf5bf75457a34e4067107d'}, {'name': 'E-1 -Residential Service Baseline Region X (All Electric Service)', 'label': '5cbf5b585457a3ac3b67107e'}, {'name': 'E-1 -Residential Service Baseline Region W (All Electric Service)', 'label': '5cbf5a935457a30817671080'}, {'name': 'E-1 -Residential Service Baseline Region V (All Electric Service)', 'label': '5cbf5a1c5457a3081767107f'}, {'name': 'E-1 -Residential Service Baseline Region T (All Electric Service)', 'label': '5cbf599a5457a3d119671081'}, {'name': 'E-1 -Residential Service Baseline Region S (All Electric Service)', 'label': '5cbf59325457a3081767107e'}, {'name': 'E-1 -Residential Service Baseline Region R (All Electric Service)', 'label': '5cbf58b75457a3951767107f'}, {'name': 'E-1 -Residential Service Baseline Region Q (All Electric Service)', 'label': '5cbf58215457a3a91567107e'}, {'name': 'E-1 -Residential Service Baseline Region P (All Electric Service)', 'label': '5cbf578e5457a3d119671080'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region W', 'label': '5cbf65c45457a3ce3d67107d'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region V', 'label': '5cbf63fb5457a34e4067107e'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region T', 'label': '5cbf63515457a3a91567107f'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region S', 'label': '5cbf62b25457a3091767107e'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region R', 'label': '5cbf620d5457a30817671081'}, {'name': 'E-TOU Option B - Residential Time of Use Service (All Baseline Regions)', 'label': '5cbf69645457a30817671083'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region Z', 'label': '5cbf67bf5457a3091767107f'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region Y', 'label': '5cbf672b5457a30817671082'}, {'name': 'E-TOU Option A - Residential Time of Use Service Baseline Region X', 'label': '5cbf66995457a3ce3d67107e'}, {'name': 'Electric Vehicle EV-B', 'label': '5cbf765e5457a34e40671080'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region P', 'label': '5d6eba3a5457a39b2f466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region Z', 'label': '5d711e4f5457a3fe2e466f6a'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region Q', 'label': '5d711c6a5457a32f69466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region R', 'label': '5d711c995457a34f31466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region S', 'label': '5d711cd05457a3fe2e466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region T', 'label': '5d711d0a5457a3b72c466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region V', 'label': '5d711d475457a32f69466f69'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region W', 'label': '5d711da25457a3c630466f68'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region X', 'label': '5d711dd65457a3fe2e466f69'}, {'name': 'E-TOU-C3 Residential Time of Use Baseline Region Y', 'label': '5d711e255457a3e132466f68'}, {'name': 'EL-TOU Option A - Residential Time of Use Service Baseline Region P', 'label': '5dc476a25457a38c24f6a950'}, {'name': 'EL-TOU Option B - Residential Time of Use Service Baseline Region P', 'label': '5dc477b35457a32724f6a951'}, {'name': 'EL-TOU-C3 Residential Time of Use Baseline Region P', 'label': '5dc479ff5457a3001bf6a950'}, {'name': 'EML-TOU Residential Time of Use Multifamily CARE Baseline Region P', 'label': '5dc47c5d5457a39661f6a950'}, {'name': 'Electric Vehicle EV-2', 'label': '60a50f795457a33a3856fb5c'}, {'name': 'E-1 -Residential Service Baseline Region P', 'label': '613f54f65457a3902a29d2ad'}, {'name': 'E-1 -Residential Service Baseline Region Q', 'label': '613f55835457a3cb2329d2ad'}, {'name': 'E-1 -Residential Service Baseline Region R', 'label': '613f55e45457a3cb2329d2ae'}, {'name': 'E-1 -Residential Service Baseline Region S', 'label': '613f56405457a3e63129d2ad'}, {'name': 'E-1 -Residential Service Baseline Region T', 'label': '613f56a25457a3cb2329d2af'}, {'name': 'E-1 -Residential Service Baseline Region V', 'label': '613f57015457a3923129d2ad'}, {'name': 'E-1 -Residential Service Baseline Region W', 'label': '613f57615457a3d22d29d2ad'}, {'name': 'E-1 -Residential Service Baseline Region X', 'label': '613f57c45457a3cb2329d2b0'}, {'name': 'E-1 -Residential Service Baseline Region Y', 'label': '613f58285457a3902a29d2ae'}, {'name': 'E-1 -Residential Service Baseline Region Z', 'label': '613f58875457a37c3229d2ad'}], 'City & County of San Francisco (Utility Company)': [{'name': 'REV-1 Experimental Electric Vehicle Program', 'label': '5a382a9c5457a3783bd2dd80'}, {'name': 'R-1 Residential Service', 'label': '5a3829955457a31d47d2dd7e'}, {'name': 'R-2 Low-Income Residential Service', 'label': '587e79955457a3ee1b316ce6'}], 'Not Listed': [{'name': 'Not Listed', 'label': 'Not Listed'}]}
2021-09-24 15:57:20 DEBUG (MainThread) [custom_components.openei.config_flow] get_plan_list: {'53ff31bb5257a3820b0b484a': 'E-7 -Residential Time of Use Baseline Region X; Closed Rate', '565612dc5457a3363d947b7a': 'E-7 -Residential Time of Use Baseline Region Z; Closed Rate', '565612d65457a37b47947b75': 'E-7 -Residential Time of Use Baseline Region Y; Closed Rate', '565612cf5457a37447947b76': 'E-7 -Residential Time of Use Baseline Region W; Closed Rate', '565612c95457a36847947b75': 'E-7 -Residential Time of Use Baseline Region V; Closed Rate', '565612c35457a37d47947b75': 'E-7 -Residential Time of Use Baseline Region T; Closed Rate', '565612bd5457a37b47947b74': 'E-7 -Residential Time of Use Baseline Region S; Closed Rate', '565612b75457a38747947b76': 'E-7 -Residential Time of Use Baseline Region R; Closed Rate', '5cc073ec5457a3812e67107d': 'E-7 -Residential Time of Use Baseline Region Q; Closed Rate', '5cbf610e5457a39517671081': 'E-TOU Option A - Residential Time of Use Service Baseline Region Q', '5cc083365457a31435671081': 'E-6 -Residential Time of Use Baseline Region Z; Closed Rate', '5cc082635457a3c25067107d': 'E-6 -Residential Time of Use Baseline Region Y; Closed Rate', '5cc081a65457a31435671080': 'E-6 -Residential Time of Use Baseline Region X; Closed Rate', '5cc080745457a30917671083': 'E-6 -Residential Time of Use Baseline Region W; Closed Rate', '5cc07fa55457a3143567107f': 'E-6 -Residential Time of Use Baseline Region V; Closed Rate', '5cc07e215457a3a43667107d': 'E-6 -Residential Time of Use Baseline Region T; Closed Rate', '5cc07d335457a3830467107e': 'E-6 -Residential Time of Use Baseline Region S; Closed Rate', '5cc07c505457a3143567107e': 'E-6 -Residential Time of Use Baseline Region R; Closed Rate', '5cc0775d5457a3830467107d': 'E-6 -Residential Time of Use Baseline Region Q; Closed Rate', '5cc0764c5457a3143567107d': 'E-6 -Residential Time of Use- Baseline Region P; Closed Rate', '5cc0716d5457a3503967107d': 'E-7 -Residential Time of Use Baseline Region P; Closed Rate', '5cbf5fe05457a39517671080': 'E-TOU Option A - Residential Time of Use Service Baseline Region P', '5cbf5c715457a3ac3b67107f': 'E-1 -Residential Service Baseline Region Z (All Electric Service)', '5cbf5bf75457a34e4067107d': 'E-1 -Residential Service Baseline Region Y (All Electric Service)', '5cbf5b585457a3ac3b67107e': 'E-1 -Residential Service Baseline Region X (All Electric Service)', '5cbf5a935457a30817671080': 'E-1 -Residential Service Baseline Region W (All Electric Service)', '5cbf5a1c5457a3081767107f': 'E-1 -Residential Service Baseline Region V (All Electric Service)', '5cbf599a5457a3d119671081': 'E-1 -Residential Service Baseline Region T (All Electric Service)', '5cbf59325457a3081767107e': 'E-1 -Residential Service Baseline Region S (All Electric Service)', '5cbf58b75457a3951767107f': 'E-1 -Residential Service Baseline Region R (All Electric Service)', '5cbf58215457a3a91567107e': 'E-1 -Residential Service Baseline Region Q (All Electric Service)', '5cbf578e5457a3d119671080': 'E-1 -Residential Service Baseline Region P (All Electric Service)', '5cbf65c45457a3ce3d67107d': 'E-TOU Option A - Residential Time of Use Service Baseline Region W', '5cbf63fb5457a34e4067107e': 'E-TOU Option A - Residential Time of Use Service Baseline Region V', '5cbf63515457a3a91567107f': 'E-TOU Option A - Residential Time of Use Service Baseline Region T', '5cbf62b25457a3091767107e': 'E-TOU Option A - Residential Time of Use Service Baseline Region S', '5cbf620d5457a30817671081': 'E-TOU Option A - Residential Time of Use Service Baseline Region R', '5cbf69645457a30817671083': 'E-TOU Option B - Residential Time of Use Service (All Baseline Regions)', '5cbf67bf5457a3091767107f': 'E-TOU Option A - Residential Time of Use Service Baseline Region Z', '5cbf672b5457a30817671082': 'E-TOU Option A - Residential Time of Use Service Baseline Region Y', '5cbf66995457a3ce3d67107e': 'E-TOU Option A - Residential Time of Use Service Baseline Region X', '5cbf765e5457a34e40671080': 'Electric Vehicle EV-B', '5d6eba3a5457a39b2f466f68': 'E-TOU-C3 Residential Time of Use Baseline Region P', '5d711e4f5457a3fe2e466f6a': 'E-TOU-C3 Residential Time of Use Baseline Region Z', '5d711c6a5457a32f69466f68': 'E-TOU-C3 Residential Time of Use Baseline Region Q', '5d711c995457a34f31466f68': 'E-TOU-C3 Residential Time of Use Baseline Region R', '5d711cd05457a3fe2e466f68': 'E-TOU-C3 Residential Time of Use Baseline Region S', '5d711d0a5457a3b72c466f68': 'E-TOU-C3 Residential Time of Use Baseline Region T', '5d711d475457a32f69466f69': 'E-TOU-C3 Residential Time of Use Baseline Region V', '5d711da25457a3c630466f68': 'E-TOU-C3 Residential Time of Use Baseline Region W', '5d711dd65457a3fe2e466f69': 'E-TOU-C3 Residential Time of Use Baseline Region X', '5d711e255457a3e132466f68': 'E-TOU-C3 Residential Time of Use Baseline Region Y', '5dc476a25457a38c24f6a950': 'EL-TOU Option A - Residential Time of Use Service Baseline Region P', '5dc477b35457a32724f6a951': 'EL-TOU Option B - Residential Time of Use Service Baseline Region P', '5dc479ff5457a3001bf6a950': 'EL-TOU-C3 Residential Time of Use Baseline Region P', '5dc47c5d5457a39661f6a950': 'EML-TOU Residential Time of Use Multifamily CARE Baseline Region P', '60a50f795457a33a3856fb5c': 'Electric Vehicle EV-2', '613f54f65457a3902a29d2ad': 'E-1 -Residential Service Baseline Region P', '613f55835457a3cb2329d2ad': 'E-1 -Residential Service Baseline Region Q', '613f55e45457a3cb2329d2ae': 'E-1 -Residential Service Baseline Region R', '613f56405457a3e63129d2ad': 'E-1 -Residential Service Baseline Region S', '613f56a25457a3cb2329d2af': 'E-1 -Residential Service Baseline Region T', '613f57015457a3923129d2ad': 'E-1 -Residential Service Baseline Region V', '613f57615457a3d22d29d2ad': 'E-1 -Residential Service Baseline Region W', '613f57c45457a3cb2329d2b0': 'E-1 -Residential Service Baseline Region X', '613f58285457a3902a29d2ae': 'E-1 -Residential Service Baseline Region Y', '613f58875457a37c3229d2ad': 'E-1 -Residential Service Baseline Region Z'}
2021-09-24 15:57:30 DEBUG (MainThread) [custom_components.openei.config_flow] data: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:58:19 DEBUG (MainThread) [custom_components.openei] config_entry: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:58:19 ERROR (MainThread) [custom_components.openei] Plan configuration missing.
2021-09-24 15:59:39 DEBUG (MainThread) [custom_components.openei] config_entry: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 15:59:39 ERROR (MainThread) [custom_components.openei] Plan configuration missing.
2021-09-24 16:00:59 DEBUG (MainThread) [custom_components.openei] config_entry: {'api_key': 'apikey', 'radius': 5, 'utility': 'Pacific Gas & Electric Co', 'rate_plan': '613f56a25457a3cb2329d2af', 'sensor': 'sensor.power_address_123_1mon', 'location': ''}
2021-09-24 16:00:59 ERROR (MainThread) [custom_components.openei] Plan configuration missing.
Looks like my check is throwing the error. Thanks for checking, I'll get it sorted.
new beta has dropped, everything looks fine when I test it locally, let me know if you find any more issues.
Just updated and no error.
Version of ha-openei
Latest beta
Describe the bug
If you reconfigure an existing instance via integrations and choose a new plan, that plan isn't persisted. It looks like it always saves the first selected plan and not an updated plan.
Also some feedback on that wizard. If we could have a link to the selected plan so we could inspect the rates that would be awesome!
Debug log