Fix the event firing CLI examples

Data must be formed as a dict
Merge pull request #8858 from basepi/eventfirecli

Fix the event firing CLI examples