forked from tibber/com.tibber.athom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4,696 changed files
with
6,039 additions
and
614,209 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build/ | ||
./app.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// eslint-disable-next-line no-undef | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'prettier'], | ||
extends: [ | ||
'airbnb-base', | ||
'airbnb-typescript/base', | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier', | ||
], | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
}, | ||
rules: { | ||
'prettier/prettier': 'error', | ||
|
||
// airbnb overrides ------------------------------------ | ||
curly: ['error', 'multi-or-nest', 'consistent'], | ||
'no-console': 'off', | ||
'no-continue': 'off', | ||
// let's not disallow for...of loops :/ | ||
'no-restricted-syntax': [ | ||
'error', | ||
'ForInStatement', | ||
'LabeledStatement', | ||
'WithStatement', | ||
], | ||
|
||
// import (part of airbnb) overrides ------------------ | ||
'import/no-import-module-exports': 'off', | ||
'import/prefer-default-export': 'off', | ||
|
||
// @typescript-eslint/recommended overrides ----------- | ||
'@typescript-eslint/lines-between-class-members': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/no-use-before-define': 'off', | ||
'@typescript-eslint/no-unused-vars': [ | ||
'error', | ||
{ varsIgnorePattern: '^_', argsIgnorePattern: '^_' }, | ||
], | ||
'@typescript-eslint/no-floating-promises': 'error', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/.idea | ||
/test.js | ||
env.json | ||
/build | ||
node_modules/ | ||
build/ | ||
/test.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
{ | ||
"id": "com.tibber", | ||
"version": "1.4.13", | ||
"compatibility": ">=1.5.0", | ||
"version": "1.5.5", | ||
"compatibility": ">=5.0.0", | ||
"platforms": [ | ||
"local", | ||
"cloud" | ||
], | ||
"sdk": 3, | ||
"author": { | ||
"name": "Tibber AS", | ||
"email": "[email protected]" | ||
}, | ||
"sdk": 2, | ||
"brandColor": "#23B8CC", | ||
"name": { | ||
"en": "Tibber" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"type": "enum", | ||
"title": { | ||
"en": "Price level" | ||
}, | ||
"getable": true, | ||
"setable": false, | ||
"values": [ | ||
{ | ||
"id": "LOW", | ||
"title": { | ||
"en": "Low" | ||
} | ||
}, | ||
{ | ||
"id": "NORMAL", | ||
"title": { | ||
"en": "Normal" | ||
} | ||
}, | ||
{ | ||
"id": "HIGH", | ||
"title": { | ||
"en": "High" | ||
} | ||
} | ||
], | ||
"icon": "/drivers/home/assets/dollar.svg" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"type": "number", | ||
"title": { | ||
"en": "Current price" | ||
}, | ||
"getable": true, | ||
"setable": false, | ||
"units": { | ||
"en": "kr" | ||
}, | ||
"icon": "/drivers/home/assets/dollar.svg" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"id": "current.L1_changed", | ||
"title": { | ||
"en": "Current phase 1 changed" | ||
}, | ||
"tokens": [ | ||
{ | ||
"name": "currentL1", | ||
"type": "number", | ||
"title": { | ||
"en": "Current phase 1" | ||
} | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"type": "device", | ||
"name": "device", | ||
"filter": "driver_id=pulse|watty" | ||
} | ||
], | ||
"platforms": ["local", "cloud"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"id": "current.L2_changed", | ||
"title": { | ||
"en": "Current phase 2 changed" | ||
}, | ||
"tokens": [ | ||
{ | ||
"name": "currentL2", | ||
"type": "number", | ||
"title": { | ||
"en": "Current phase 2" | ||
} | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"type": "device", | ||
"name": "device", | ||
"filter": "driver_id=pulse|watty" | ||
} | ||
], | ||
"platforms": ["local", "cloud"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"id": "current.L3_changed", | ||
"title": { | ||
"en": "Current phase 3 changed" | ||
}, | ||
"tokens": [ | ||
{ | ||
"name": "currentL3", | ||
"type": "number", | ||
"title": { | ||
"en": "Current phase 3" | ||
} | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"type": "device", | ||
"name": "device", | ||
"filter": "driver_id=pulse|watty" | ||
} | ||
], | ||
"platforms": ["local", "cloud"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12.22.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare module 'http.min'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
Original implementation by [Espen Ljosland](https://github.com/slasktrat/com.tibber) | ||
|
||
Dollar icon made by [Dave Gandy](https://www.flaticon.com/authors/dave-gandy) from www.flaticon.com | ||
|
||
Outdoor temperature by [MET Norway](https://api.met.no/weatherapi/documentation) |
Oops, something went wrong.