mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-10 01:17:42 +01:00
GitBook: [doc] 2 pages modified
This commit is contained in:
parent
69b281b90d
commit
7fec8823c9
2 changed files with 14 additions and 23 deletions
|
@ -22,9 +22,9 @@ cbpi start
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
{% embed url="https://www.facebook.com/groups/craftbeerpi" %}
|
{% embed url="https://www.facebook.com/groups/craftbeerpi" caption="" %}
|
||||||
|
|
||||||
{% embed url="https://www.youtube.com/channel/UCy47sYaG8YLwJWw2iY5\_aNg" %}
|
{% embed url="https://www.youtube.com/channel/UCy47sYaG8YLwJWw2iY5\_aNg" caption="" %}
|
||||||
|
|
||||||
{% embed url="http://web.craftbeerpi.com" %}
|
{% embed url="http://web.craftbeerpi.com" caption="" %}
|
||||||
|
|
||||||
|
|
|
@ -19,27 +19,19 @@ python3 -m pip insatll cbpi
|
||||||
|
|
||||||
### 2. Create Folder structure
|
### 2. Create Folder structure
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 3. Add Custom Code
|
### 3. Add Custom Code
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 4. Test the Code
|
### 4. Test the Code
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 3. Build plugin
|
### 3. Build plugin
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 4. Upload the plugin
|
### 4. Upload the plugin
|
||||||
|
|
||||||
### Full Example
|
### Full Example
|
||||||
|
|
||||||
[https://github.com/Manuel83/cbpi4-ui-plugin](https://github.com/Manuel83/cbpi4-ui-plugin)
|
[https://github.com/Manuel83/cbpi4-ui-plugin](https://github.com/Manuel83/cbpi4-ui-plugin)
|
||||||
|
|
||||||
## Sensor
|
## Sensor
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
@ -104,7 +96,6 @@ def setup(cbpi):
|
||||||
## Actor
|
## Actor
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from unittest.mock import MagicMock, patch
|
from unittest.mock import MagicMock, patch
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue