Reorganize API keys under [External_Data] section

- Move n2yo_api_key and airnow_api_key from [Solar_Config] to [External_Data]
- Update code references to use [External_Data] section instead of [Solar_Config]
- Update config.ini.example to match the new organization
- Improve error message to specify the correct config section
- This provides better organization with all external API keys in one place
This commit is contained in:
agessaman committed 2025-09-06 11:37:45 -07:00
1 parent 9b74a39872
commit de92fdfdd2
3 files changed
+11 -11

No files matched your search

+8 -8
View File
@@ -152,6 +152,14 @@ tide_api_key =
# Tide update interval in seconds (future feature)
tide_update_interval = 1800
# N2YO API key for satellite pass information
# Get free key at: https://www.n2yo.com/login/
n2yo_api_key =
# AirNow API key for AQI data
# Get free key at: https://docs.airnowapi.org/
airnow_api_key =
[Weather]
# Default state for city name disambiguation
# When users type "wx seattle", it will search for "seattle, WA, USA"
@@ -174,11 +182,3 @@ url_timeout = 10
# true: Use 24-hour UTC format
# false: Use 12-hour local format
use_zulu_time = false
# N2YO API key for satellite pass information
# Get free key at: https://www.n2yo.com/login/
n2yo_api_key =
# AirNow API key for AQI data
# Get free key at: https://www.airnowapi.org/
airnow_api_key =