value_template: >-
{{ 'Computer_TempHum_Sensor' in
trigger.payload_json['ZbReceived'] and 'Humidity' in
trigger.payload_json['ZbReceived']['Computer_TempHum_Sensor'] }}
I forgot if tasmota is capable to do this and howā¦ Can I have different topics for every sensor? Something from SetOption ? I donāt remember exactly and I search everywhereā¦
I think is SetOption89
Now, the question isā¦ .should I have individual topics for every sensor? I meanā¦ every sensor is giving me 3 informations, which means that it will send 3 information to HA (temperature, humidity and battery)ā¦ If I make a similar automation, it will trigger 3 times every the sensor refreshesā¦ I think it could be the same result as now, right?
Up to you. Now, if you have, e.g,. 3 sensors, the same automation will be triggered 9 times.
Pay attention that wil the default āsingleā mode of automations, if the same one is triggered while it is already running, the trigger will be ignored.
If you go that route, I recommend to use mode: queued
You just have to keep in mind that if you use a single topic, you wonāt always have the same information, i.e. the same json structure.
I am trying with different topics, at least, if I will have a sensor refresh, the automation will trigger 3 times and I can use āparalelā with maximum number 3. Maybe it will be better
Seems that splitting a big automation into more and changing tasmota to make every device have itās own topic, doesnāt get me any warning like before.