Angelic Weapons. The Aasimar's weapon attacks are magical. When the Aasimar hits with any weapon, the weapon deals an extra 4d8 radiant damage (included in the attack).
Innate Spellcasting. The Aasimar's spellcasting ability is Charisma (spell save DC 16). The deva can innately cast the following spells, requiring only verbal components:
At will: detect evil and good
1/day each: commune, raise dead
Divine Awareness. The Aasimar knows if it hears a lie.
Magic Resistance. The Aasimar has advantage on saving throws against spells and other magical effects.
Multiattack. The Aasimar makes two melee attacks.
Mace. Melee Weapon Attack: +8 to hit, reach 5 ft., one target. Hit: 7 (1d6 + 2) bludgeoning damage plus 18 (4d8) radiant damage.
Holy Spear. The Aasimar summons forth a holy light making a ranged spell attack towards a creature of your choice within range. On hit, the target takes 4d6 radiant damage, and the next attack roll made against this target has advantage.
Creatures within 10-feet of target must succeed on a Constitution saving throw or be blinded until the end of their next turn.
Change Shape. The Aasimar magically polymorphs into a humanoid or beast that has a challenge rating equal to or less than its own, or back into its true form. It reverts to its true form if it dies. Any equipment it is wearing or carrying is absorbed or borne by the new form (the Aasimar's choice).
In a new form, the Aasimar retains its game statistics and ability to speak, but its AC, movement modes, Strength, Dexterity, and special senses are replaced by those of the new form, and it gains any statistics and capabilities (except class features, legendary actions, and lair actions) that the new form has but that it lacks.
Why can it cast raise dead? It's a celestial, not a necromancer.