Spark Guardian

Tiny Construct
Armor Class: 18
Hit Points: 11
Hit Dice: 2d10
Initiative: +1
Speed: 20 ft., fly 30 ft.
Str 8 (–1) Dex 14 (+1) Con 6 (–2)
Int 2 (–4) Wis 10 (+0) Cha 2 (–4)
Actions:
Talons +3+ to hit (reach 5 ft.; one creature)
Hit: 1d3+1 slashing damage
Sparks: +5+ to hit (range 100 ft.; one creature)
Hit: 2d6 electricity damage.
+Because it’s usually a familiar, a spark guardian has the same proficiency bonus as its master. A spark guardian applies its Dexterity modifier, not its Strength modifier, as a bonus on its melee attack roll.
TRAITS:
Immunities: The golem is immune to nonmagical weapons except those made of adamantine, as well as disease, cold, lightning, poison, and psychic damage. It cannot be charmed, paralyzed, petrified, stunned, or put to sleep. It does not need to sleep, eat, or breathe. 
Whenever the golem would take lightning damage, it instead regains hit points equal to half the damage dealt.
Magic Resistance: The golem has advantage on saving throws against magical effects.
Find master: No matter the distance, as long as it is on the same plane, a spark guardian can find its master.
Description:
Spark guardians are mechanical birds that shoot sparks at anyone who threatens their master.  They usually circle above their master, shooting sparks out of their beaks at enemies. If it isn't undertaking a specific task for its master, a spark guardian flies nearby, prepared to defend its master with its spark attack.
A spark guardian is the size of a songbird or an owl, but it weighs about 10 pounds.
Combat:
Spark guardian know that hey are ill-equipped for melee combat. Instead, they do their best to remain out of enemies' range, flinging sparks at them from above.
Construction:
A spark guardian is built from wood, leather, and copper. The materials cost 2,000 gp. The guardian's master may assemble the body or hire someone else to do the job. Creating the body requires a DC 16 Int and Dex check. After the body is sculpted, the spark guardian is animated through an extended magical ritual that requires a specifically prepared laboratory or workroom, similar to an alchemist's laboratory and costing 500 gp to establish. If the creator is personally constructing the creature's body, the building and the ritual can be performed together. an extended magical ritual that requires a specially prepared laboratory or workroom, similar to an alchemist’s laboratory and costing 500 gp to establish. If the creator is personally constructing the creature’s body, the building and the ritual can be performed together.
A spark guardian with more than 2 Hit Dice can be created (up to ½ the creator's HD), but each additional Hit Die adds 1,000 gp to the market price, and the price increases by 5,000 gp if the creature’s size increases to Medium, modifying the cost to create accordingly.