Skip to content

Commit

Permalink
chore: release v0.1.4
Browse files Browse the repository at this point in the history
* (bluefox) Implemented the factory reset and re-announcing
  • Loading branch information
GermanBluefox committed Nov 11, 2023
1 parent 97c6a9e commit 1ee4a2c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- fake delete (so the real deletion will be done in backend with factory reset of device)

## Changelog
### **WORK IN PROGRESS**
### 0.1.4 (2023-11-11)
* (bluefox) Implemented the factory reset and re-announcing

### 0.1.2 (2023-10-25)
Expand Down
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": "matter",
"version": "0.1.3",
"version": "0.1.4",
"news": {
"0.1.4": {
"en": "Implemented the factory reset and re-announcing",
"de": "Ergänzt die Werksanweisung und Wiederankündigung",
"ru": "Реализовано переустановку завода и переосмысление",
"pt": "Implementado o reset de fábrica e re-anunciamento",
"nl": "Vertaling:",
"fr": "Mise en œuvre de l'usine réinitialisée et renonçant",
"it": "Implementato il reset della fabbrica e riannuncio",
"es": "Implementado el reajuste de fábrica y reanunciamiento",
"pl": "Zrezygnował z resetu i ponowił działalność",
"uk": "Реалізовано заводське скидання та переадресацію",
"zh-cn": "执行工厂的重新定位和重新宣布"
},
"0.1.2": {
"en": "Devices were implemented",
"de": "Geräte wurden implementiert",
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.matter",
"version": "0.1.3",
"version": "0.1.4",
"description": "Controlling and simulation of matter devices",
"author": {
"name": "Denis Haev",
Expand Down
2 changes: 1 addition & 1 deletion src-admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.matter",
"version": "0.1.3",
"version": "0.1.4",
"private": true,
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
Expand Down
11 changes: 5 additions & 6 deletions src-admin/src/Tabs/Bridges.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,16 +518,16 @@ export class Bridges extends React.Component {

static getVendorIcon(vendor, classes, themeType) {
if (vendor === 'Amazon Lab126') {
return <SiAmazonalexa className={classes?.vendorIcon} title={vendor} style={{ color: themeType ? '#001ca8' : '#0000dc'}} />;
return <SiAmazonalexa className={classes?.vendorIcon} title={vendor} style={{ color: themeType ? '#001ca8' : '#0000dc' }} />;
}
if (vendor === 'Google LLC') {
return <SiGoogleassistant className={classes?.vendorIcon} title={vendor} style={{ color: themeType ? '#ea9b33' : '#8f6020'}} />;
return <SiGoogleassistant className={classes?.vendorIcon} title={vendor} style={{ color: themeType ? '#ea9b33' : '#8f6020' }} />;
}
if (vendor === 'Apple Inc.') {
return <SiApple className={classes?.vendorIcon} title={vendor} style={{ color: themeType ? '#c9c9c9' : '#4f4f4f'}} />;
return <SiApple className={classes?.vendorIcon} title={vendor} style={{ color: themeType ? '#c9c9c9' : '#4f4f4f' }} />;
}
if (vendor === 'Samsung') {
return <SiSmartthings className={classes?.vendorIcon} title={vendor} style={{ color: themeType ? '#33ea8f' : '#209b60'}} />;
return <SiSmartthings className={classes?.vendorIcon} title={vendor} style={{ color: themeType ? '#33ea8f' : '#209b60' }} />;
}
return null;
}
Expand Down Expand Up @@ -964,7 +964,7 @@ export class Bridges extends React.Component {
}
});
} else {
this.setState({ showResetDialog: { bridge, step: 1 } });
this.setState({ showResetDialog: { bridge: this.state.showResetDialog.bridge, step: 1 } });
}
}}
disabled={!this.props.alive}
Expand Down Expand Up @@ -1166,7 +1166,6 @@ export class Bridges extends React.Component {
this.props.updateNodeStates({ [bridge.uuid]: result.result });
}
});

}}
>
<SettingsInputAntenna />
Expand Down
4 changes: 2 additions & 2 deletions src-admin/src/Tabs/Devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class Devices extends React.Component {
.then(result => result.states && this.props.updateNodeStates(result.states));
}
}

renderDeleteDialog() {
if (!this.state.deleteDialog) {
return null;
Expand Down Expand Up @@ -811,7 +812,6 @@ class Devices extends React.Component {
this.props.updateNodeStates({ [device.uuid]: result.result });
}
});

}}
>
<SettingsInputAntenna />
Expand Down Expand Up @@ -866,7 +866,7 @@ class Devices extends React.Component {
}
});
} else {
this.setState({ showResetDialog: { device, step: 1 } });
this.setState({ showResetDialog: { device: this.state.showResetDialog.device, step: 1 } });
}
}}
disabled={!this.props.alive}
Expand Down

0 comments on commit 1ee4a2c

Please sign in to comment.