Private/Convert-Weather.ps1

filter Convert-Weather
{
    [PSCustomObject]@{
        PSTypeName  = 'UncommonSense.Weather.Weather'
        ID          = $_.id
        Main        = $_.main
        Description = $_.description
        Icon        = $_.icon
        Emoji       = (Convert-Icon -Icon $_.icon)
    }
}