Hi!
My electricity supplier has an API and even wrote a smartapp/integration into Smartthings.
So I can see the current price per hour in my Smartthings app.
While it’s great to see it, I also want to be able to control things depending on price…
For example turn off the heater in the garage when it’s super expensive and turn it on when it’s not…
The code is here
Not understanding how this programming works it looks to me like it lists the capabilities “sensor” and " Energy Meter" but I can’t find it when trying to set up an automation of any kind…
metadata {
definition (name: “Tibber price device handler”, namespace: “Tibber”, author: “tibberdev”) {
capability “Sensor”
capability “Energy Meter”
Any suggestions on whats missing or what I’m not understanding… (Yeah I know, a lot but anyway )