Skip to content

Commit

Permalink
v 1.7.1 (tibber#40)
Browse files Browse the repository at this point in the history
Co-authored-by: em.lustre <[email protected]>
  • Loading branch information
jstaro and em.lustre authored May 19, 2022
1 parent 1a4b4e3 commit 2f29453
Show file tree
Hide file tree
Showing 22 changed files with 5,104 additions and 688 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ build/


# Added by Homey CLI
/.homeybuild/
/.homeybuild/
.DS_Store
3 changes: 3 additions & 0 deletions .homeychangelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,8 @@
},
"1.6.2": {
"en": "Automatically disable pulse/watty when paired home not present anymore"
},
"1.7.1": {
"en": "Added global tokens for lowest and highest price today. Fixed timezone issue with price on Homey Bridge. Updated dependencies"
}
}
13 changes: 4 additions & 9 deletions .homeycompose/app.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"id": "com.tibber",
"version": "1.6.2",
"version": "1.7.1",
"compatibility": ">=5.0.0",
"platforms": [
"local",
"cloud"
],
"platforms": ["local", "cloud"],
"sdk": 3,
"author": {
"name": "Tibber AS",
Expand All @@ -18,9 +15,7 @@
"description": {
"en": "Be in charge of your household energy"
},
"category": [
"energy"
],
"category": ["energy"],
"permissions": [],
"images": {
"large": "/assets/images/large.png",
Expand All @@ -30,4 +25,4 @@
"url": "https://github.com/tibber/com.tibber.athom/issues"
},
"support": "mailto:[email protected]"
}
}
6 changes: 5 additions & 1 deletion .homeycompose/capabilities/accumulatedCost.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"getable": true,
"setable": false,
"units": {
"en": "kr"
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/pulse/assets/dollar.svg"
}
17 changes: 17 additions & 0 deletions .homeycompose/capabilities/measure_price_highest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "number",
"title": {
"en": "Highest price today"
},
"getable": true,
"setable": false,
"uiComponent": null,
"units": {
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/pulse/assets/dollar.svg"
}
17 changes: 17 additions & 0 deletions .homeycompose/capabilities/measure_price_lowest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "number",
"title": {
"en": "Lowest price today"
},
"getable": true,
"setable": false,
"uiComponent": null,
"units": {
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/pulse/assets/dollar.svg"
}
6 changes: 5 additions & 1 deletion .homeycompose/capabilities/measure_price_total.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"getable": true,
"setable": false,
"units": {
"en": "kr"
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/home/assets/dollar.svg"
}
6 changes: 5 additions & 1 deletion .homeycompose/capabilities/price_total.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"getable": true,
"setable": false,
"units": {
"en": "kr"
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/home/assets/dollar.svg",
"uiComponent": null
Expand Down
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Integration with Tibber, with Pulse and Watty support.

## Flow cards

### Device: *__Home__*
### Device: _**Home**_

#### Triggers

Expand Down Expand Up @@ -43,7 +43,7 @@ Integration with Tibber, with Pulse and Watty support.

&nbsp;

### Device: *__Pulse__* / *__Watty__*
### Device: _**Pulse**_ / _**Watty**_

#### Triggers

Expand All @@ -56,6 +56,24 @@ Integration with Tibber, with Pulse and Watty support.

### Release Notes

#### 1.7.1

- Added global tokens for lowest and highest price today
- Fixed timezone issue with price on Homey Bridge
- Updated dependencies

#### 1.6.2

- Automatically disable pulse/watty when paired home not present anymore

#### 1.6.1

- Instrumentation cleanup

#### 1.6.0

- Support for web socket sub protocol graphql-transport-ws

#### 1.5.14

- Fixed timezone issue fetching fallback Nord Pool price on Homey Bridge
Expand Down Expand Up @@ -101,7 +119,7 @@ Integration with Tibber, with Pulse and Watty support.
#### 1.4.9

- Deactivate device if home can't be found anymore. Add price level indicator. Fix current triggers
for L2 and L3.
for L2 and L3.

#### 1.4.8

Expand Down Expand Up @@ -276,6 +294,6 @@ for L2 and L3.

- Initial public version


### Known Issues

- Currently, the user's Tibber subscription needs to be confirmed or started to use the Tibber app.
130 changes: 53 additions & 77 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"_comment": "This file is generated. Please edit .homeycompose/app.json instead.",
"id": "com.tibber",
"version": "1.6.2",
"version": "1.7.1",
"compatibility": ">=5.0.0",
"platforms": [
"local",
Expand Down Expand Up @@ -1088,29 +1088,11 @@
"connectivity": [
"cloud"
],
"mobile": {
"components": [
{
"id": "icon",
"capabilities": []
},
{
"id": "sensor",
"options": {
"icons": {
"measure_price_total": "/drivers/home/assets/dollar.svg"
}
},
"capabilities": [
"measure_price_total",
"measure_price_info_level"
]
}
]
},
"capabilities": [
"measure_price_total",
"measure_price_info_level"
"measure_price_info_level",
"measure_price_lowest",
"measure_price_highest"
],
"capabilitiesOptions": {
"measure_price_total": {
Expand Down Expand Up @@ -1165,32 +1147,6 @@
"connectivity": [
"cloud"
],
"mobile": {
"components": [
{
"id": "icon",
"capabilities": []
},
{
"id": "sensor",
"capabilities": [
"measure_power",
"meter_power"
]
},
{
"id": "sensor",
"options": {
"icons": {
"accumulatedCost": "/drivers/pulse/assets/dollar.svg"
}
},
"capabilities": [
"accumulatedCost"
]
}
]
},
"capabilities": [
"measure_power",
"meter_power",
Expand Down Expand Up @@ -1401,32 +1357,6 @@
"connectivity": [
"cloud"
],
"mobile": {
"components": [
{
"id": "icon",
"capabilities": []
},
{
"id": "sensor",
"capabilities": [
"measure_power",
"meter_power"
]
},
{
"id": "sensor",
"options": {
"icons": {
"accumulatedCost": "/drivers/pulse/assets/dollar.svg"
}
},
"capabilities": [
"accumulatedCost"
]
}
]
},
"capabilities": [
"measure_power",
"meter_power",
Expand Down Expand Up @@ -1636,7 +1566,28 @@
"getable": true,
"setable": false,
"units": {
"en": "kr"
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/pulse/assets/dollar.svg"
},
"measure_price_highest": {
"type": "number",
"title": {
"en": "Highest price today"
},
"getable": true,
"setable": false,
"uiComponent": null,
"units": {
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/pulse/assets/dollar.svg"
},
Expand Down Expand Up @@ -1711,6 +1662,23 @@
"icon": "/drivers/home/assets/dollar.svg",
"uiComponent": null
},
"measure_price_lowest": {
"type": "number",
"title": {
"en": "Lowest price today"
},
"getable": true,
"setable": false,
"uiComponent": null,
"units": {
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/pulse/assets/dollar.svg"
},
"measure_price_total": {
"type": "number",
"title": {
Expand All @@ -1719,7 +1687,11 @@
"getable": true,
"setable": false,
"units": {
"en": "kr"
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/home/assets/dollar.svg"
},
Expand Down Expand Up @@ -1773,7 +1745,11 @@
"getable": true,
"setable": false,
"units": {
"en": "kr"
"en": "¤",
"nl": "",
"de": "",
"sv": "kr",
"no": "kr"
},
"icon": "/drivers/home/assets/dollar.svg",
"uiComponent": null
Expand Down
Loading

0 comments on commit 2f29453

Please sign in to comment.