Skip to content

Commit

Permalink
Update Ecowatt to V5
Browse files Browse the repository at this point in the history
  • Loading branch information
javalikescript committed Jul 14, 2024
1 parent 907c64e commit a847081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extensions/ecowatt/ecowatt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ end


-- 1 vert, 2 orange, 3 rouge
local SIGNAL_ENUM = {1, 2, 3}
local SIGNAL_ENUM = {0, 1, 2, 3}

local function createThing(targetName)
local thing = Thing:new('Ecowatt', 'Ecowatt signals', {Thing.CAPABILITIES.MultiLevelSensor})
Expand Down
2 changes: 1 addition & 1 deletion extensions/ecowatt/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"title": "Ecowatt API URL",
"pattern": "^https?://.+$",
"type": "string",
"default": "https://digital.iservices.rte-france.com/open_api/ecowatt/v4/signals"
"default": "https://digital.iservices.rte-france.com/open_api/ecowatt/v5/signals"
},
"minIntervalMin": {
"title": "Minimum Call Interval in minutes",
Expand Down

0 comments on commit a847081

Please sign in to comment.