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