Skip to content

Commit 71f9cc4

Browse files
authored
Merge pull request #295 from plugwise/plugwise-smile
Smile(/stretch) initial
2 parents 0b634ae + e7de052 commit 71f9cc4

38 files changed

+853
-6176
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,12 @@ body:
8181
attributes:
8282
label: What kind of Plugwise device is having issues?
8383
description: >
84-
Select the best possible option (i.e. for issues with a Lisa or Tom, select Adam - for issues with a Circle, select Stretch or USB).
84+
Select the best possible option (i.e. for issues with a Lisa or Tom, select Adam, etc)
8585
options:
8686
- "Smile: Adam (including Lisa, Tom, Floor)"
8787
- "Smile: Anna"
8888
- "Smile: P1"
8989
- "Smile: Stretch"
90-
- "USB: Stick"
9190
- "Other product (we might not (yet) know of it's existence!)"
9291
- type: input
9392
validations:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,12 @@ body:
8383
attributes:
8484
label: What kind of Plugwise device is having issues?
8585
description: >
86-
Select the best possible option (i.e. for issues with a Lisa or Tom, select Adam - for issues with a Circle, select Stretch or USB).
86+
Select the best possible option (i.e. for issues with a Lisa or Tom, select Adam, etc.)
8787
options:
8888
- "Smile: Adam (including Lisa, Tom, Floor)"
8989
- "Smile: Anna"
9090
- "Smile: P1"
9191
- "Smile: Stretch"
92-
- "USB: Stick"
9392
- "Other product (we might not (yet) know of it's existence!)"
9493
- type: input
9594
validations:

.github/workflows/verify.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: Latest commit
55

66
env:
7-
CACHE_VERSION: 9
7+
CACHE_VERSION: 10
88
DEFAULT_PYTHON: "3.11"
99
PRE_COMMIT_HOME: ~/.cache/pre-commit
1010

@@ -113,7 +113,10 @@ jobs:
113113
commitcheck:
114114
runs-on: ubuntu-latest
115115
name: Check commit
116-
needs: black
116+
needs:
117+
- black
118+
- shellcheck
119+
- dependencies_check
117120
steps:
118121
- name: Check out committed code
119122
uses: actions/checkout@v3
@@ -399,4 +402,4 @@ jobs:
399402
run: |
400403
. venv/bin/activate
401404
echo "Showing complexity higher or equal to 'C'"
402-
radon cc plugwise/smile.py plugwise/helper.py tests/test_smile.py -s -nc --no-assert
405+
radon cc plugwise/ tests/ -s -nc --no-assert

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

3-
## Ongoing: Logic separation between USB and non-USB
3+
## v0.31 refactoring (alpha only, effectively not to be released): Logic separation between USB and non-USB
4+
5+
- Smile component (suggested `python-plugwise-usb` for USB (or stick-standalone) route)
6+
7+
## v0.30 refactoring (alpha only, effectively unreleased)
8+
9+
- More formal Split between Networked and USB code
410

511
## v0.27.10: Anna + Elga: final fix for [#320](https://github.com/plugwise/plugwise-beta/issues/320)
612

CODEOWNERS

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,5 @@ requirements*.txt @plugwise/devs
1515
/tests/ @bouwew @compatech
1616
/scripts/ @bouwew @compatech
1717

18-
# NET specific
19-
/plugwise/smile.py @bouwew @compatech
20-
21-
# USB specific
22-
/plugwise/connections/ @brefra
23-
/plugwise/controller.py @bouwew @brefra
24-
/plugwise/messages/ @brefra
25-
/plugwise/nodes/ @brefra
26-
/plugwise/parser.py @brefra
27-
/plugwise/stick.py @brefra
28-
/plugwise/util.py @brefra
29-
18+
# Networked Plugwise components
19+
/plugwise @bouwew @compatech

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Plugwise python module
22

3-
This module is the backend for the [`plugwise` component](https://github.com/home-assistant/core/tree/dev/homeassistant/components/plugwise) which we maintain as co-code owners Home Assistant Core.
3+
This module is the backend for the [`plugwise` component](https://github.com/home-assistant/core/tree/dev/homeassistant/components/plugwise) in Home Assistant Core (which we maintain as co-code owners).
4+
5+
This module supports `Smile`s (and `Stretch`), i.e. the networked plugwise devices. For the USB (or Stick-standalone version) please refer to upcoming [`plugwise-usb` component](https://github.com/plugwise/plugwise-usb-beta).
46

57
Our main usage for this module is supporting [Home Assistant](https://www.home-assistant.io) / [home-assistant](http://github.com/home-assistant/core/)
68

@@ -67,15 +69,6 @@ Module providing interfacing with the Plugwise devices:
6769
- [x] Stretch
6870
- [ ] Some of the equipment mentioned in USB when in use via Stretch or Adam
6971

70-
### USB
71-
72-
- [x] Stick
73-
- [x] Circle+ / Stealth+
74-
- [x] Circle / Stealth
75-
- [x] Scan
76-
The devices listed below have **NOT** been tested and are therefore unknown for their correct operation
77-
- [x] Sense
78-
- [x] Switch
7972
- [x] [Home-Assistant](https://home-assistant.io) via
8073
- [x] Native supporting networked Plugwise products
8174
- [x] [HACS](https://hacs.xyz) and `custom_component` [Plugwise Beta](https://github.com/plugwise/plugwise-beta/) (supporting all devices above)
@@ -86,6 +79,7 @@ As per the origins we have retained the appropriate licensing and including the
8679

8780
Origins (from newest to oldest):
8881

82+
- Networked (Smile/Stretch) Plugwise support by @bouwew (Bouwe) and @CoMPaTech (Tom). We both support and help out @brefra (Frank) where possible, he's supporting the USB module and integration.
8983
- 'All' available Plugwise support by @bouwew (Bouwe), @brefra (Frank) and @CoMPaTech (Tom)
9084
- Upstreamed haanna/HA-core Anna, including all later products - 'Plugwise-Smile/Plugwise-HA/plugwise-beta` by @bouwew (Bouwe) & @CoMPaTech (Tom)
9185
- Networked Plugwise Anna module with custom_module - `haanna/anna-ha` via <https://github.com/laetificat> (Kevin)

plugwise/DEPENDENCIES.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)