Good afternoon Jason
The hastate attribute is of type text string to know if it is in an active state or in a standby state, since they are in a cluster, likewise I did the test without the attribute of the state and it also throws me only 1 event. Anyway.
Thank you very much for your contribution, but I continue with the problem.
Greetings.