Skip to content

Commit

Permalink
chore: release v2.1.6
Browse files Browse the repository at this point in the history
- (bluefox) Added the possibility to invert the value by gauge
- (bluefox) do not load scripts if the widget is not used
  • Loading branch information
GermanBluefox committed Mar 4, 2024
1 parent 36a191f commit b7b58fe
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ More about pointer options could be found here: https://github.com/toorshia/just
Placeholder for the next version (at the beginning of the line):
### **WORK IN PROGRESS**
-->
### **WORK IN PROGRESS**
### 2.1.6 (2024-03-04)
- (bluefox) Added the possibility to invert the value by gauge
- (bluefox) do not load scripts if the widget is not used

Expand Down
20 changes: 14 additions & 6 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "vis-justgage",
"version": "2.1.5",
"version": "2.1.6",
"news": {
"2.1.6": {
"en": "Added the possibility to invert the value by gauge\ndo not load scripts if the widget is not used",
"de": "Hinzufügen der Möglichkeit, den Wert per Messgerät invertieren\nnicht laden skripte, wenn das widget nicht verwendet wird",
"ru": "Добавлена возможность перевернуть значение с помощью манометра\nне загружать скрипты, если виджет не используется",
"pt": "Adicionado a possibilidade de inverter o valor por calibre\nnão carregar scripts se o widget não for usado",
"nl": "Toegevoegd de mogelijkheid om de waarde om te keren per meter\nscripts niet laden als het widget niet wordt gebruikt",
"fr": "Ajout de la possibilité d'inverser la valeur par jauge\nne chargez pas les scripts si le widget n'est pas utilisé",
"it": "Aggiunto la possibilità di invertire il valore per manometro\nnon caricare gli script se il widget non viene utilizzato",
"es": "Se agregó la posibilidad de invertir el valor por calibre\nno cargar scripts si el widget no se utiliza",
"pl": "Dodano możliwość odwrócenia wartości według skrajni\nnie wczytywać skryptów, jeśli widget nie jest używany",
"uk": "Додана можливість інвертувати значення за допомогою датчика\nне завантажує сценарії, якщо віджет не використовується",
"zh-cn": "增加了通过计数器反转值的可能性\n如果不使用部件则不装入脚本"
},
"2.1.5": {
"en": "fixed the problem in vis-2",
"de": "das problem in vis-2 behoben",
Expand Down Expand Up @@ -79,11 +92,6 @@
"es": "Min / Max valores fueron fijos",
"pl": "Wartości min / maks zostały ustalone",
"zh-cn": "最小/最大值是固定的"
},
"0.7.0": {
"en": "value formatting",
"de": "Wertformatierung",
"ru": "value formatting"
}
},
"titleLang": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.vis-justgage",
"version": "2.1.5",
"version": "2.1.6",
"description": "justGage Widgets",
"author": {
"name": "Pmant",
Expand Down
2 changes: 1 addition & 1 deletion widgets/justgage.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
ioBroker.vis justgage Widget-Set
version: "2.1.5"
version: "2.1.6"
Copyright (c) 2023-2024 iobroker-community-adapters
Copyright (c) 10.2015-2019 Pmant<patrickmo@gmx.de>
Expand Down
4 changes: 2 additions & 2 deletions widgets/justgage/js/justgage.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
ioBroker.vis justgage Widget-Set
version: "2.1.5"
version: "2.1.6"
Copyright (c) 2023-2024 iobroker-community-adapters
Copyright (c) 10.2015-2019 Pmant<patrickmo@gmx.de>
Expand Down Expand Up @@ -106,7 +106,7 @@ if (vis.editMode) {

// this code can be placed directly in justgage.html
vis.binds.justgage = {
version: '2.1.5',
version: '2.1.6',
showVersion: function () {
if (vis.binds.justgage.version) {
console.log('Version justgage: ' + vis.binds.justgage.version);
Expand Down

0 comments on commit b7b58fe

Please sign in to comment.