Weather config widget does not show city state
dcompane opened this issue · 2 comments
dcompane commented
Describe The Bug
when selecting the city for the weather widget, multiple cities with the same name appear. in my case, Oakland renders multiple Oakland, US choices
Logs
This cannot be seen in the logs. adding for completeness
Config
This is the part of the .uix-dashboard.json with a city without state
{"id":4869614,"name":"Oakland","country":"US","coord":{"lat":41.3092,"lon":-95.3967}}},
The complete ui configuration
[{"x":5,"y":0,"component":"HomebridgeStatusWidgetComponent","cols":15,"rows":4,"mobileOrder":10,"hidePort":true,"hideOnMobile":false},{"x":15,"y":7,"component":"WeatherWidgetComponent","cols":5,"rows":3,"mobileOrder":20,"location":{"id":4869614,"name":"Oakland","country":"US","coord":{"lat":41.3092,"lon":-95.3967}}},{"x":10,"y":7,"component":"ClockWidgetComponent","cols":5,"rows":3,"mobileOrder":23,"hideOnMobile":true,"timeFormat":"H:mm","dateFormat":"yyyy-MM-dd"},{"x":0,"y":9,"component":"ChildBridgeWidgetComponent","cols":5,"rows":11,"mobileOrder":35,"hideOnMobile":false},{"x":5,"y":4,"component":"CpuWidgetComponent","cols":5,"rows":3,"mobileOrder":40,"hideOnMobile":false},{"x":10,"y":4,"component":"MemoryWidgetComponent","cols":5,"rows":3,"mobileOrder":50,"hideOnMobile":false},{"x":5,"y":7,"component":"NetworkWidgetComponent","cols":5,"rows":3,"mobileOrder":55,"hideOnMobile":false},{"x":15,"y":4,"component":"UptimeWidgetComponent","cols":5,"rows":3,"mobileOrder":60,"hideOnMobile":false},{"x":0,"y":0,"component":"SystemInfoWidgetComponent","cols":5,"rows":9,"mobileOrder":70,"hideOnMobile":false},{"x":0,"y":20,"component":"HapQrcodeWidgetComponent","cols":5,"rows":8,"mobileOrder":100,"hideOnMobile":false},{"x":5,"y":10,"component":"HomebridgeLogsWidgetComponent","cols":15,"rows":21,"mobileOrder":1000,"hideOnMobile":true}]
A weather plugin (not the UI widget) reports this Weather] Oakland, CA, United States [5378538]: 37.8045°N, 122.2714°W
The config.json shows
{
"name": "Weather",
"apikey": "fca24bInv4li6T0k3Nc1bcb0c66c1b1f",
"dailyForecasts": 0,
"hourlyForecasts": 0,
"leakSensor": false,
"locations": [
"Oakland, CA, United States"
],
"_bridge": {
"username": "0E:E5:25:76:8D:F6",
"port": 36346
},
"platform": "WS"
},
Homebridge UI Version
v4.55.1
Homebridge Version
1.7.0
Node.js Version
20.11.0
Operating System
Ubuntu / Debian (or a variant)
Environment Info
{"label"=>"Using hb-service?"}
Raspberry Pi Model
Raspberry Pi 4 B
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
github-actions commented
This issue has been closed as no further activity has occurred.