Skip to content

Commit

Permalink
Moes MS105B update
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharp38 committed Nov 7, 2024
1 parent 9724c08 commit 83366cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
6 changes: 4 additions & 2 deletions .tools/update_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,17 @@ do
fi

# Version line
# Note: '## VERSION1' or '## VERSION2, VERSION1'
if [[ "${L}" == "## "* ]]; then
if [[ "${L}" == "## ${VERSION}"* ]]; then
if [[ "${L}" == *"${VERSION}"* ]]; then
echo "- Version is already correct in changelog. Doing nothing"
echo
rm ${TMP}
break
fi
echo "- Updating version to ${VERSION}"
echo "## ${VERSION}" >> ${TMP}
VERSIONOLD=${VERSION### }
echo "## ${VERSION}, ${VERSIONOLD}" >> ${TMP}
STEP=2 # Copy rest of the file
continue
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"manufacturer": "Moes",
"model": "MS-105BZ",
"type": "Moes dual dimmer module",
"genericType": "Outlet",
"alternateIds": {
"TS0601__TZE200_fjjbhx9d": [],
"TS0601__TZE200_gwkapsoq": [],
Expand All @@ -22,21 +23,11 @@
"params": "dpId=01&data=01",
"isVisible": 1
},
"On (OLD)": {
"use": "cmdG-TuyaEF00-Set-OnOff",
"params": "onOff=01&dpId=01",
"isVisible": 1
},
"Off 1": {
"use": "act_tuyaEF00-SetBool",
"params": "dpId=01&data=00",
"isVisible": 1
},
"Off (OLD)": {
"use": "cmdG-TuyaEF00-Set-OnOff",
"params": "onOff=00&dpId=01",
"isVisible": 1
},
"Status 1": {
"use": "inf_zbAttr-0006-OnOff",
"logicalId": "status1",
Expand Down Expand Up @@ -65,11 +56,6 @@
"comment": "x per 100 to x per 1000 conversion",
"isVisible": 1
},
"Set Level 1 (OLD)": {
"use": "cmdG-TuyaEF00-Set-Level",
"params": "dpId=02",
"isVisible": 1
},
"Level 1": {
"use": "inf_levelPercent",
"logicalId": "level1",
Expand Down
3 changes: 2 additions & 1 deletion docs/fr_FR/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ChangeLog

- Correction: Fichiers dit corrompus à l'installation.
- Correction: Fichiers corrompus à l'installation.
- Amélioration: Moes MS105B: Amélioration modèle (2473).

## 241106-BETA-1

Expand Down

0 comments on commit 83366cd

Please sign in to comment.