Skip to content

Commit

Permalink
chore(release): 2023.03.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Mar 23, 2023
1 parent aaa01bf commit fc6b905
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 24 deletions.
36 changes: 18 additions & 18 deletions docs/_pages/integrations/mqtt.md
Expand Up @@ -104,7 +104,7 @@ Homie autodiscovery info is best viewed with something like [MQTT Explorer](http
- [Error description (`error_description`)](#errordescriptionerrordescription)
- [Robot Error (`error`)](#roboterrorerror)
- [Status (`status`)](#statusstatus)
- [Status detail (`detail`)](#statusdetaildetail)
- [Status flag (`flag`)](#statusflagflag)


### State attributes index
Expand Down Expand Up @@ -588,7 +588,6 @@ Sample payload:
{
"zones": [
{
"iterations": 1,
"points": {
"pA": {
"x": 50,
Expand All @@ -608,7 +607,8 @@ Sample payload:
}
}
}
]
],
"iterations": 1
}
```

Expand Down Expand Up @@ -817,21 +817,6 @@ Home Assistant components controlled by this node:

- Error ([`sensor.mqtt`](https://www.home-assistant.io/integrations/sensor.mqtt/))

##### Status detail (`detail`) <a id="statusdetaildetail" />

*Property, readable, retained*

- Read topic: `<TOPIC PREFIX>/<IDENTIFIER>/StatusStateAttribute/detail`
- Data type: [enum](https://homieiot.github.io/specification/#enum) (allowed payloads: `none`, `zone`, `segment`, `spot`, `target`, `resumable`, `mapping`)

Sample value:

```
segment
```



##### Robot Error (`error`) <a id="roboterrorerror" />

*Property, readable, retained*
Expand Down Expand Up @@ -871,6 +856,21 @@ No error



##### Status flag (`flag`) <a id="statusflagflag" />

*Property, readable, retained*

- Read topic: `<TOPIC PREFIX>/<IDENTIFIER>/StatusStateAttribute/flag`
- Data type: [enum](https://homieiot.github.io/specification/#enum) (allowed payloads: `none`, `zone`, `segment`, `spot`, `target`, `resumable`, `mapping`)

Sample value:

```
segment
```



##### Status (`status`) <a id="statusstatus" />

*Property, readable, retained*
Expand Down
2 changes: 1 addition & 1 deletion docs/_pages/usage/implementation-overview.md
Expand Up @@ -681,4 +681,4 @@ Capability | <a href='#dreame_1c'>1C</a> | <a href='#dreame_1t'>1T</a> | <a href

<br/><br/><br/><br/><br/>
This page has been autogenerated.<br/>
Autogeneration timestamp: 2023-02-11T17:25:40.508Z
Autogeneration timestamp: 2023-03-23T18:21:35.792Z
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "valetudo",
"version": "2023.02.0",
"version": "2023.03.0",
"description": "Self-contained control webinterface for vacuum robots",
"license": "Apache-2.0",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions util/generate_mqtt_docs.js
Expand Up @@ -623,7 +623,7 @@ class FakeMqttController extends MqttController {
}


isInitialized() {
get isInitialized() {
const stack = new Error().stack;

// Now this is some major jank engineering
Expand All @@ -636,7 +636,7 @@ class FakeMqttController extends MqttController {
return true;
}

return this.docsGenerated;
return !!this.docsGenerated;
}

async setState(state) {
Expand Down
1 change: 1 addition & 0 deletions util/generate_robot_docs.js
Expand Up @@ -68,6 +68,7 @@ const HIDDEN_IMPLEMENTATIONS = [
"DreameX10PlusValetudoRobot",
"DreameD9ProPlusValetudoRobot",
"DreameD10SProValetudoRobot",
"DreameD10SPlusValetudoRobot",
];


Expand Down

0 comments on commit fc6b905

Please sign in to comment.