From c61ec91a9e151077b8cc75f04695e16a79515754 Mon Sep 17 00:00:00 2001 From: Jelger Haanstra Date: Wed, 31 Aug 2022 16:12:46 +0200 Subject: [PATCH] Release 3.11.4 --- .homeychangelog.json | 3 +++ .homeycompose/app.json | 2 +- .homeycompose/flow/triggers/triggerMeterPowerTotal.json | 4 ++-- app.json | 6 +++--- drivers/device.js | 2 +- package-lock.json | 2 +- package.json | 2 +- 7 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.homeychangelog.json b/.homeychangelog.json index e8f6588b..c58d63e9 100644 --- a/.homeychangelog.json +++ b/.homeychangelog.json @@ -538,5 +538,8 @@ }, "3.11.3": { "en": "Upcoming breaking change: the next release will remove all old Plus/Pro drivers for both Homey Pro and Cloud. Please migrate to the new unified driver before updating to version 3.12.0 which will be released early september. This release fixes an issue with pairing devices on Homey Pro where it shows already paired devices from the old drivers. It also fixes an issue with the total enery returned capability of the 3EM and adds a triggercard for Total Meter Power for the 3EM." + }, + "3.11.4": { + "en": "Upcoming breaking change: the next release will remove all old Plus/Pro drivers for both Homey Pro and Cloud. Please migrate to the new unified driver before updating to version 3.12.0 which will be released early september. This release fixes an issue with pairing devices on Homey Pro where it shows already paired devices from the old drivers. It also fixes an issue with the total enery returned capability of the 3EM and adds a triggercard for Total Meter Power for the 3EM." } } diff --git a/.homeycompose/app.json b/.homeycompose/app.json index 66d0ce53..76de7593 100644 --- a/.homeycompose/app.json +++ b/.homeycompose/app.json @@ -68,7 +68,7 @@ "Shelly radiator" ] }, - "version": "3.11.3", + "version": "3.11.4", "compatibility": ">=8.0.0", "platforms": [ "local", "cloud" ], "author": { diff --git a/.homeycompose/flow/triggers/triggerMeterPowerTotal.json b/.homeycompose/flow/triggers/triggerMeterPowerTotal.json index ac337da0..b194843b 100644 --- a/.homeycompose/flow/triggers/triggerMeterPowerTotal.json +++ b/.homeycompose/flow/triggers/triggerMeterPowerTotal.json @@ -1,8 +1,8 @@ { "id": "triggerMeterPowerTotal", "title": { - "en": "Total Power", - "nl": "Totale power" + "en": "Total Power changed", + "nl": "Totale power gewijzigd" }, "tokens": [ { diff --git a/app.json b/app.json index b00b078c..51efad2f 100644 --- a/app.json +++ b/app.json @@ -69,7 +69,7 @@ "Shelly radiator" ] }, - "version": "3.11.3", + "version": "3.11.4", "compatibility": ">=8.0.0", "platforms": [ "local", @@ -674,8 +674,8 @@ { "id": "triggerMeterPowerTotal", "title": { - "en": "Total Power", - "nl": "Totale power" + "en": "Total Power changed", + "nl": "Totale power gewijzigd" }, "tokens": [ { diff --git a/drivers/device.js b/drivers/device.js index d6b379f1..5197cafb 100644 --- a/drivers/device.js +++ b/drivers/device.js @@ -639,7 +639,7 @@ class ShellyDevice extends Homey.Device { /* power factor */ if (result.emeters[channel].hasOwnProperty("pf") && this.hasCapability('meter_power_factor')) { this.updateCapabilityValue('meter_power_factor', result.emeters[channel].pf); - this.homey.flow.getDeviceTriggerCard('triggerMeterPowerFactor').trigger(this, {'pf': value}, {}).catch(error => { this.error(error) }); + this.homey.flow.getDeviceTriggerCard('triggerMeterPowerFactor').trigger(this, {'pf': result.emeters[channel].pf}, {}).catch(error => { this.error(error) }); } /* measure_current */ diff --git a/package-lock.json b/package-lock.json index 495202fd..3bf29e1e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cloud.shelly", - "version": "3.11.3", + "version": "3.11.4", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 8a13b92f..1f763337 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cloud.shelly", - "version": "3.11.3", + "version": "3.11.4", "description": "Homey app for controlling Shelly devices", "main": "app.js", "scripts": {