Teams channel notification template using Webhook

I am trying to add the Microsoft Teams integration, but the integration documentation is terrible and I can’t understand it past the configuration.yaml part. If anyone can help me, that would be great.

My goal is to automate that if a temperature sensor reads above temperature x then send a teams notification with the name of the temperature sensor and the temperature reading.

Did you consider the possibility you just didn’t understand it?

Did you, well, add the Incoming Webhook app to your team channel?

image

Yes, I’m aware that I don’t understand it, I got the webhook link and I added it in the configuration.yaml in the given format however, I didn’t understand what to do after that.

Edit: I got it working, I didn’t realize the rest was for the scripting of it.