[Pi-Hole Binding] Add new feature - gravity_last_updated

In OH 4.3.0 M1 there was Pi-Hole binding introduced.
Thanks to @magx2
Would it be possible to add in the feature gravity_last_updated?
It is available in the API

I think yes. Give me some time I will try to implement it.

BTW what is it?

For me it looks like this:

obraz

btw. why you need channels for it? How are you using gravity?

Just to know when it was last updated.
How can I use gravity? It just updates in background. If it was not updated for some reason then I will know that something is wrong and take some action.

1 Like