GitBook: [doc] 2 pages modified

This commit is contained in:
manuel 2021-01-26 07:26:53 +00:00 committed by gitbook-bot
parent 69b281b90d
commit 7fec8823c9
No known key found for this signature in database
GPG key ID: 07D2180C7B12D0FF
2 changed files with 14 additions and 23 deletions

View file

@ -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="" %}

View file

@ -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