I have an NWS weather platform (component? integration?) ready for testing and feedback.
You can put the files into: config_path/custom_components/nws
Sample config:
weather:
- platform: nws
api_key: email_address
api_key
can be any string, but it is recommended to include an email address. The forecast is only day+night right now, although I’m working on adding hourly. The weather component (platform?) frontend currently doesn’t support day+night well, so it will display with timestamps as if hourly. See next post for the status of frontend changes if I can figure out how to make it a custom card.
One can also specify a name, latitude, longitude, or specific station as options. The station is for the current conditions, and the component will use the closest station if not specified. A list of nearby stations is printed in the logs with level INFO if no station is specified. They can also be found, although I don’t know of any convenient page, on the weather.gov website. The forecast is generated by the lat/lon point (or default lat/lon).
weather:
- platform: nws
api_key: email_address
latitude: 38.85
longitude: -77.03
station: KADW
name: DC weather