From 5de5d41518feeb8f960ba3cbae3049d81a5c217e Mon Sep 17 00:00:00 2001 From: Luligu <132135057+Luligu@users.noreply.github.com> Date: Sat, 12 Oct 2024 16:19:16 +0200 Subject: [PATCH 1/2] Fix rollUp rollOut --- src/platform.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform.ts b/src/platform.ts index 3b03f10..42e90f2 100644 --- a/src/platform.ts +++ b/src/platform.ts @@ -284,8 +284,8 @@ export class SomfyTahomaPlatform extends MatterbridgeDynamicPlatform { } private async sendCommand(command: string, device: Device, highPriority = false) { - if (command === 'open' && !device.commands.includes('open') && device.commands.includes('rollUp')) command = 'rollUp'; - if (command === 'close' && !device.commands.includes('close') && device.commands.includes('rollOut')) command = 'rollOut'; + if (command === 'open' && !device.commands.includes('open') && device.commands.includes('rollOut')) command = 'rollOut'; + if (command === 'close' && !device.commands.includes('close') && device.commands.includes('rollUp')) command = 'rollUp'; if (command === 'open' && !device.commands.includes('open') && device.commands.includes('up')) command = 'up'; if (command === 'close' && !device.commands.includes('close') && device.commands.includes('down')) command = 'down'; From 659376fbc328c9e42884b1604479acad43fc179f Mon Sep 17 00:00:00 2001 From: Luligu <132135057+Luligu@users.noreply.github.com> Date: Sat, 12 Oct 2024 16:20:26 +0200 Subject: [PATCH 2/2] Release 1.1.1 --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ba6b8f..a36199b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ If you like this project and find it useful, please consider giving it a star on All notable changes to this project will be documented in this file. +## [1.1.1] - 2024-10-12 + +### Fixed + +- [somfy]: Fixed Awning commands "rollOut" and "rollUp". + + + Buy me a coffee + + ## [1.1.0] - 2024-10-12 ### Added diff --git a/package.json b/package.json index ec274b5..c509bec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matterbridge-somfy-tahoma", - "version": "1.1.0", + "version": "1.1.1", "description": "Matterbridge somfy tahoma plugin", "author": "https://github.com/Luligu", "license": "Apache-2.0",