Log your sun exposure with an Apple Watch automation 🌞⌚️📲

Gets the current weather at the current location and logs the UV index for the hour into the Health app, then displays it or speaks it back when run via Siri.

Includes “Get Device Name” and an “If” action to account for being run on the iPad, which does not have the Health app and would otherwise fail.