Skip to content

Commit

Permalink
chore: release v1.3.1
Browse files Browse the repository at this point in the history
* (bluefox) Corrected widget errors
* (bluefox) Implemented custom types
  • Loading branch information
GermanBluefox committed Apr 5, 2024
1 parent 079c4ae commit 9abdedb
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This adapter has vis2 widget.
-->

## Changelog
### **WORK IN PROGRESS**
### 1.3.1 (2024-04-05)
* (bluefox) Corrected widget errors
* (bluefox) Implemented custom types

Expand Down
6 changes: 3 additions & 3 deletions admin/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "./static/css/main.83fa2641.css",
"main.js": "./static/js/main.b3a88d85.js",
"main.js": "./static/js/main.ef93a034.js",
"static/media/day-night.jpg": "./static/media/day-night.d6f09cbf18746b70d451.jpg",
"static/media/Ground Floor.svg": "./static/media/Ground Floor.2b7c5c91db7f070935a2.svg",
"static/media/Second Floor.svg": "./static/media/Second Floor.a2d5ed32df336591c06b.svg",
Expand Down Expand Up @@ -124,10 +124,10 @@
"static/media/Outdoor Blinds.svg": "./static/media/Outdoor Blinds.37b85a9c060a4af48da9.svg",
"static/media/Upstairs.svg": "./static/media/Upstairs.441813e54e0daca0882d.svg",
"main.83fa2641.css.map": "./static/css/main.83fa2641.css.map",
"main.b3a88d85.js.map": "./static/js/main.b3a88d85.js.map"
"main.ef93a034.js.map": "./static/js/main.ef93a034.js.map"
},
"entrypoints": [
"static/css/main.83fa2641.css",
"static/js/main.b3a88d85.js"
"static/js/main.ef93a034.js"
]
}
2 changes: 1 addition & 1 deletion admin/index_m.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" src="./../../lib/js/socket.io.js"></script><title>Scheduler</title><script defer="defer" src="./static/js/main.b3a88d85.js"></script><link href="./static/css/main.83fa2641.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" src="./../../lib/js/socket.io.js"></script><title>Scheduler</title><script defer="defer" src="./static/js/main.ef93a034.js"></script><link href="./static/css/main.83fa2641.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "scheduler",
"version": "1.3.0",
"version": "1.3.1",
"news": {
"1.3.1": {
"en": "Corrected widget errors\nImplemented custom types",
"de": "Korrigierte Widget-Fehler\nImplementierte benutzerdefinierte Typen",
"ru": "Исправленные ошибки виджета\nРеализованные пользовательские типы",
"pt": "Erros de widget corrigidos\nTipos personalizados implementados",
"nl": "Gecorrigeerde widget-fouten\nGeïmplementeerde aangepaste types",
"fr": "Erreurs de widget corrigées\nTypes personnalisés mis en œuvre",
"it": "Errori di widget corretti\nTipi personalizzati implementati",
"es": "Errores de widget corregidos\nTipos de encargo implementados",
"pl": "Skorygowane błędy widget\nWdrożone typy niestandardowe",
"uk": "Виправлені помилки віджету\nРеалізовані спеціальні типи",
"zh-cn": "修正的部件错误\n已执行定制类型"
},
"1.2.3": {
"en": "Corrected widget errors",
"de": "Korrigierte Widget-Fehler",
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.scheduler",
"version": "1.3.0",
"version": "1.3.1",
"description": "This adapter allows to communicate Amazon Alexa and Google Home with ioBroker.",
"author": {
"name": "bluefox",
Expand Down
2 changes: 1 addition & 1 deletion src-widgets/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "iobroker.vis-2-widgets-scheduler",
"private": true,
"version": "1.3.0",
"version": "1.3.1",
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@emotion/react": "^11.11.4",
Expand Down
9 changes: 5 additions & 4 deletions src-widgets/src/components/Interval.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,6 @@ class Interval extends Component {

getPostfix(value) {
switch (this.props.type) {
case 'percent':
case 'temperature':
return value.toString() + this.props.minMax.unit;

case 'onoff':
return value
? <span style={this.props.theme.palette.text.success}>{this.props.onText}</span>
Expand All @@ -265,6 +261,11 @@ class Interval extends Component {
return value.toString() + this.props.minMax.unit;
}
return value.toString();

case 'percent':
case 'temperature':
default:
return value.toString() + this.props.minMax.unit;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scheduler-admin",
"version": "1.3.0",
"version": "1.3.1",
"private": true,
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
Expand Down
2 changes: 1 addition & 1 deletion widgets/scheduler/customWidgets.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion widgets/scheduler/customWidgets.js.map

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

0 comments on commit 9abdedb

Please sign in to comment.