Hi everyone.
I have a semi working component that pulls data from a cloud based API. Its pretty simple and theres not much to it.
For each item in the API response, i create a sensor. When a new item appears, a new sensor is created, thats working as expected.
However, how do i remove a sensor thats no longer in the response ?
Im sure this is a question thats been asked and answered before, I just didnt have any luck finding anything, maybe because im searching for the wrong thing.