Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Octavian Ruda committed Mar 14, 2024
2 parents c492f4f + 633ec26 commit 9d89831
Show file tree
Hide file tree
Showing 637 changed files with 8,457 additions and 3,132 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hacs-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: HACS validation
uses: hacs/action@main
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hassfest-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: home-assistant/actions/hassfest@master
6 changes: 3 additions & 3 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'

Expand All @@ -18,7 +18,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Python lint
run: ruff check --output-format=github custom_components/tuya_local
run: ruff check --output-format=github .
- name: Python include order
run: ruff check --select I --diff .
- name: Python coding style
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Python tests

on: [workflow_dispatch, pull_request, push]
on:
workflow_dispatch:
pull_request:
paths:
- '**.py'
push:
paths:
- '**.py'

jobs:
tests:
Expand All @@ -10,18 +17,18 @@ jobs:
python-version: ['3.12']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Test with pytest
- name: Full test with pytest
run: pytest --cov=. --cov-config=.coveragerc --cov-report xml:coverage.xml
- name: SonarCloud scan
uses: sonarsource/sonarcloud-github-action@master
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/yamltests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: YAML tests

on:
workflow_dispatch:
pull_request:
paths:
- 'custom_components/tuya_local/devices/*.yaml'
push:
paths:
- 'custom_components/tuya_local/devices/*.yaml'

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Device configs check with pytest
run: pytest tests/test_device_config.py
26 changes: 22 additions & 4 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Further device support has been made with the assistance of users. Please consid
- [b3nnyk22](https://github.com/b3nnyk22) for assistance in supporting Kogan Dehumidifiers.
- [rodrigoGA](https://github.com/rodrigoGA) for assistance in supporting Greenwind dehumidifiers.
- [jorgenDK](https://github.com/jorgenDK) for assistance in supporting TroniTechnik Air Conditioner, and thanks for the coffee!
- [Fannangir](https://github.com/Fannangir) for assistance in supporting Tadiran Wind Air Conditioner, Zemismart curtain rail and Somgam 1, 2, 3 and 4 gang switches.
- [Fannangir](https://github.com/Fannangir) for assistance in supporting Zemismart curtain rail and Somgam 1, 2, 3 and 4 gang switches.
- [marrold](https://github.com/marrold) for contributing support for ElectriQ CD20PRO dehumidifiers.
- [Uaeguy](https://github.com/Uaeguy) for assistance in supporting Beca BHP-6000, Saswell T29UTK, Owon PCT513 and E-TOP CH7100 thermostats, and thanks for the coffee!
- [Johnnybyzhang](https://github.com/Johnnybyzhang) for assistance in supporting Lexy F501 fans.
Expand Down Expand Up @@ -139,7 +139,7 @@ Further device support has been made with the assistance of users. Please consid
- [filipole](https://github.com/filipole) for assistance supporting Aubess switch with energy monitoring.
- [catdogmaus](https://github.com/catdogmaus) for assistance supporting Ryra TYTE-D1 thermostats.
- [Kulturnilpferd](https://github.com/Kulturnilpferd) for contributing support for Hosome air purifiers.
- [raphaeleduardo42](https://github.com/raphaeleduardo42) for assistance supporting AGL Ultramagic gate openers and contributing improvements.
- [raphaeleduardo42](https://github.com/raphaeleduardo42) for assistance supporting AGL Ultramagic gate openers and contributing improvements, and contributing support for Kabum Smart 700 vacuum cleaner 2023 models.
- [EnginDzhemil](https://github.com/EnginDzhemil) for contributing support for single switches with backlight.
- [billxinli](https://github.com/billxinli) for contributing support for Honeywell TP dehumidifiers.
- [isarib01](https://github.com/isarib01) for assistance supporting Deta motion sensor lights.
Expand Down Expand Up @@ -232,7 +232,7 @@ Further device support has been made with the assistance of users. Please consid
- [ResteNarquois](https://github.com/ResteNarquois) for assisting with support for Zemismart roller shades.
- [grangoni](https://github.com/grangoni) for contributing support for PH-W218 water quality monitors.
- [antonio1475](https://github.com/antonio1475) for contributing support for Rojeco pet feeders and assisting with support for Mellerware and Lefant N3 vacuums, and IR controller pro.
- [erelke](https://github.com/erelke) for contributing Hungarian translations and support for EARU breakers, simple contact sensor, simple gate opener, and smart siren alarms.
- [erelke](https://github.com/erelke) for contributing Hungarian translations and support for EARU and ERZ04C breakers, simple contact sensor, simple gate opener, and smart siren alarms.
- [p-owerscripter](https://github.com/p-owerscripter) for contributing support for KKMoon air quality monitors.
- [cataseven](https://github.com/cataseven) for contributing support for SM07-8 sprinkler controllers.
- [tientmit88](https://github.com/tientmit88) for contributing support for Moes motion sensor lights.
Expand Down Expand Up @@ -447,7 +447,7 @@ Further device support has been made with the assistance of users. Please consid
- [convicte](https://github.com/convicte) for assisting with support for Inna 7 channel underfloor heating controllers.
- [mrtn1988](https://github.com/mrtn1988) for assisting with support for QH-GD Elegant IR heaters.
- [uandco](https://github.com/uandco) for assisting with support for Evotherm ETI pool heatpumps.
- [almirus](https://github.com/almirus) for contributing support for Neatsvor X500 vacuums and TH05-BLE temperature/humidity sensors.
- [almirus](https://github.com/almirus) for contributing support for Neatsvor X500 vacuums, TH05-BLE temperature/humidity sensors, SGS01 soil moisture BLE sensors, Donguan curtain robots, LightStar track lights.
- [kinkamez](https://github.com/kinkamez) for contributing support for Prosto PRC 2000 heaters.
- [MarkPaxton](https://github.com/MarkPaxton) for contributing support for Hombli radiator controllers.
- [mmib](https://github.com/mmib) for contributing support for Becasmart irrigation systems.
Expand Down Expand Up @@ -497,3 +497,21 @@ Further device support has been made with the assistance of users. Please consid
- [Pel1can111](https://github.com/Pel1can111) for assisting with support for Timeguard WFPIR motion light controller.
- [ShiGhost](https://github.com/ShiGhost) for assisting with support for Keyun RGB chandelier fans.
- [knowc](https://github.com/knowc) for assisting with support for Hydrotherm Dynamic/X8 Gen 6 water heaters.
- [Waz-Cpt](https://github.com/Waz-Cpt) for contributing support for a dual dimmer module.
- [wizu](https://gitub.com/wizu) for contributing improvements to NAC AP470 purifier.
- [MatthewBCooke](https://github.com/MatthewBCooke) for contributing support for Dynasty BTX fireplace.
- [xlemassacre](https://github.com/xlemassacre) for contributing support for Kesser infrared 400W wall and 3000W heaters.
- [dannygreg](https://github.com/dannygreg)for contributing support for Graywind window shades.
- [xeroski](https://github.com/xeroski) for assisting with support for Kerui 200W and JS-P162 300W cameras.
- [dakker78](https://github.com/dakker78) for contributing support for Herschel IR heaters.
- [liamlain](https://github.com/liamlain) for assisting with support for SmartCurtain curtains.
- [legantois](https://github.com/legantois) for assisting with support for EPT tank level sensors.
- [osaczony](https://github.com/oscazony) for assisting with support for Tongou QCB2 single phase breakers.
- [realdimik](https://github.com/realdimik) for assisting with support for Tongou ST463JWT three phase breakers and contributing support for SNT957W-DE temperature and humidity sensors.
- [jameskoziol](https://github.com/jameskoziol) for contributing support for second variant of Madimack Elite V3.
- [halmaizsolt92](https://github.com/halmaizsolt92) for assisting with support for SNT857W-TDE temperature sensors.
- [nk00li](https://github.com/nk00li) for assisting with support for BHT-002 GBLW thermometers that differ slightly from GALW in how they report the heating state.
- [peteS-UK](https://github.com/peteS-UK) for contributing support for Noiee NSP21 and PU13 smart plugs.
- [zeosson](https://github.com/zeosson) for contributing support for Feit RGBWW lights and Peteme recessed lighting.
- [backcountrymountains](https://github.com/backcountrymountains) for contributing support for iHome AutoVac Nova vacuum cleaners.
- [afallows](https://github.com/afallows) for contributing support for MoistenLand water timers.
55 changes: 41 additions & 14 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Calex Smart Convector heater
- Cleverio AR10/AR20 panel heaters
- Devola patio heater
- Dynasty BTX fireplace
- Ecostrad Accent iQ heating panel
- Ecostrad iQ ceramic radiator
- Ecostrad iQ heating element
Expand All @@ -22,13 +23,15 @@
- Eurom Sani Wall Heat 2000 heater
- Eurom Wall Designheat 2000 heater
- Goldair heater models beginning with the code GPPH, GCPV, GECO
- Heatstorm HS-6000-GC heavy duty heater
- Hama radiator controller
- Heatstorm HS-6000-GC heavy duty heater
- Herschel infrared heater
- HJZ oil column radiator
- Hombli radiator controller
- INOW Wi-Fi heating element (single and dual air/water temperature control variants)
- Juskys OH125BW2 oil radiator
- Kennedy II/JR electric fireplace
- Kesser Infrared 400W wall and 3000W heaters.
- Klarstein Wonderwall Air Art IR heater
- Klarstein Wonderwall IR heater
- Kogan flame effect heater - KAWHMFP20BA model
Expand Down Expand Up @@ -82,7 +85,6 @@
- Sendo air conditioner
- Star-Light air conditioner (also confirmed to work with Polar branded devices)
- Suntec Wellness Coolfixx portable air conditioner
- Tadiran Wind 65/3P
- Tesla Smart TAF series air conditioner
- TroniTechnik Hellnar Klimagerät
- Trotec PAC-W 2600 SH heatpump
Expand All @@ -99,7 +101,7 @@
- Garden PAC pool heatpump (also works with Summerwave Si Series)
- IPS Pro pool-systems heatpump (seems to match Fairland Inver-X as well)
- Madimack Eco pool heatpump
- Madimack Elite V3 pool heatpump
- Madimack Elite V3 pool heatpump (two versions)
- Madimack(model unknown) pool heatpump (seems to match Fairland IPH45 as well)
- Poolex Silverline, Q-7, Q-line, Arctic and Vertigo heatpumps
- Remora pool heatpump
Expand Down Expand Up @@ -137,6 +139,7 @@
- Beok TR8B thermostat
- Beok TR9B thermostat _(rebadged as Vancoo and perhaps others)_
- BHT-002-GALW thermostat _(rebadged as many different brands)_
- BHT-002-GABW thermostat _(some compatible with GALW, others subtly different)_
- Brade MC6 thermostat _(rebadged as many different brands)_
- ETOP-FCU thermostat (Jaga JRT-100TW)
- ETOP-HP thermostat (CH7100)
Expand Down Expand Up @@ -318,6 +321,7 @@
- DTS238-7 3 phase smart meter
- EARU SW RCB breaker
- eMylo EAI-90 smart meter
- ERZ04C smart meter
- MatSee Plus bidirectional two channel clamp meter
- Meterk single phase clamp meter
- Parkside PG/PMW-300 solar inverter
Expand All @@ -328,7 +332,8 @@
- SmartMCB SMT006 energy meter (10 byte and 8 byte phase info variants)
- Taxnele circuit breaker and energy meter
- TOMPD-63LW energy meter circuit breaker
- Tongou QCB2-WB WiFi 4P circuit breaker
- Tongou QCB2-WB WiFi 4P circuit breaker (3-phase and single phase variants)
- Tongou ST463JWT 4P 3-phase circuit breaker
- V-WIFI-DL02-ES energy consumption clamp meter
- WDYK 2P63A energy meter
- WDYK 3 phase 4 pole 400V energy meter circuit breaker
Expand Down Expand Up @@ -383,6 +388,8 @@ the best option.
- Moes 3-gang switch
- Moes 4-gang (quad) switch
- MoesHouse smartplug with RGBW nightlight
- Noiee NSP21 smartplug
- Noiee PU13 smartplug
- Novadigital 4-way switch with backlight, power on state and timers
- Qnect QN-WPO3 3 outlet + USB powerstrip with individual timers
- Relay switch with 433MHz remote (unbranded)
Expand Down Expand Up @@ -441,6 +448,7 @@ of device.
- Generic "Dreamlight" RGBCW LED strips (tested with LSC RGBIC+CCT 2x5m LED strip)
- Generic RGB only light bar - like the lights above, but no white light controls supported.
- Unbranded 1CH dimmer module
- Unbranded dual dimmer module
- A60 1800-2700K RGBWW light
- Atomi smart color string light
- Blitzwolf BW-LT31 LED strip
Expand All @@ -450,11 +458,13 @@ of device.
- Dual-mode magic light string controller
- Feit dimmer (may work with other brands that just have a switch, dimmer and
optional minimum brightness and bulb type)
- Feit RGBWW light bulb (like generic RGBWW, but without scene support)
- Galaxy Projector
- HDMI sync light
- iHD001 LED controller
- Kojima motion sensor RGBCW nightlight
- Lexi Lighting string light Wifi adapter
- LightStar CCT track light
- Loycco sound machine with nightlight (also sold as Momland nightlight with white noise)
- Loginovo TV sync backlight
- Lytmi Fantasy/Neo 3 HDMI sync backlight
Expand All @@ -466,6 +476,7 @@ of device.
- MoesGo dimmer switch
- Nedis Smart LED Strip
- Newone WF39M dimmer smartplug
- Peteme recessed lighting
- Space Dog Music Lamp (works for Aurora Smart Galaxy Star)
- Tampa Magnetic LED System CD-TY-WY05
- Teberno LED strip light (LGC-005 OEM3)
Expand All @@ -478,6 +489,7 @@ of device.
- Simple garage door
- Simple blind controller (two variants - `simple_blinds` lets the position be set, but does not trust it to accurately reflect the current position always, `position_blinds` does trust the position to accurately reflect the current position)
- Simple gate opener (simple garage door with timer)
- Curtain with feedback (same DP layout as QS C01 curtains, but reads back the current_position from the position as some of these seem to accuraately report position as well)
- Abalon BCM700D curtain motor (likely to work with other brands)
- AGL Ultracontato r2 door controller
- AGL Ultra Magic gate opener
Expand All @@ -488,9 +500,11 @@ of device.
- CCB-11 blind controller
- CC curtain controller 1
- Dongguan garage door
- Dongguan LY1678-2 curtain robot
- Dooya curtain motor
- Etersky curtain switch with backlight and timing control
- FS-03W curtain switch with backlight control
- Graywind window shades
- Kogan garage door with tilt sensor
- Loonas smart curtain
- LoraTap GDC100W garage door opener
Expand All @@ -501,6 +515,7 @@ of device.
- Moes SCS80 Touch curtain swich with backlight and timing control
- QS-WIFI-C01(BK) curtain module
- SHerko curtain motor
- SmartCurtains A-series ACS-WT curtain motor (may work for other models)
- Wistar roller blind controller
- ZC34T-03-3A swing arm window opener
- Zemismart curtain rail
Expand All @@ -509,8 +524,10 @@ of device.
### Vacuum Cleaners

- Abir X8 vacuum cleaner
- iHome Autoac Nova vacuum cleaner
- Kabum Smart 500 vacuum cleaner
- Kabum Smart 700 vacuum cleaner (also sold as Liectroux XR500[T2] and maybe others)
- Kabum Smart 700 vacuum cleaner 2023 model (not quite compatible with Liectroux XR500 T3, but similar revision)
- Kogan LX10 vacuum cleaner with mop
- Kyvol E30 vacuum cleaner
- Lefant LS1 Pro vacuum cleaner
Expand Down Expand Up @@ -558,6 +575,8 @@ configured using RTSP or ONVIF feeds if they have static IP address,
port and password.

- BCom Majic IPBox intercom camera
- Kerui 200W camera
- Kerui JS-P162 300W camera
- Nedis outdoor camera
- Pinelake BF02 birdfeeder camera
- RL video intercom (reported unable to connect)
Expand Down Expand Up @@ -589,27 +608,34 @@ port and password.
- Moes IR/RF remote controller (also IR controller pro, may work only for IR)
- Universal remote control with temperature and humidity sensors

### Valves

- ARD-100+ valve controller
- Aubess Rainpoint TTP106W irrigation system
- Becasmart BAF-908 irrigation system
- Garza Wi-Fi garden irrigation system (ITV103W with 433MHz WiFi hub)
- Holman WX1 tap timer (sprinkler controller)
- Holman WX2 dual tap timer
- Holman WX8 8 sprinkler irrigation controller
- Qoto 03 smart water valve / sprinkler controller
- Qoto 05 smart water valve / sprinkler controller
- SH07-8 smart sprinkler controller

### Miscellaneous

- generic PIR motion sensor
- generic illuminance sensor
- Air Housekeeper 6-in-1 air quality monitor
- Akai heat pump clothes dryer
- ARD-100+ valve controller
- ASIP-0622 indoor planter
- Aubess Rainpoint TTP106W irrigation system
- Becasmart BAF-908 irrigation system
- Brennenstuhl WFD3050P PIR motion activated CCT spotlight
- Bresser smart 7-in-1 weather station
- CO2-Box air quality monitor
- CT20W PIR motion detector
- Emax EM3378 Weather Station (selling as Hiper P1 and other rebrands)
- Garza Wi-Fi garden irrigation system (ITV103W with 433MHz WiFi hub)
- EPT ultrasonic 3m tank level sensor
- GratKit filament dryer
- Haier Nayun NY-GS-04 combustible gas alarm
- Holman WX1 tap timer (sprinkler controller)
- Holman WX2 dual tap timer
- Holman WX8 8 sprinkler irrigation controller
- Inkbird PTH-9CW air quality monitor
- KKMoon 7in1 air quality monitor
- Kogan bidet toilet seat
Expand All @@ -622,10 +648,9 @@ port and password.
- PGST PA-010 indoor temperature and humidity sensor
- PH-W218 water quality monitor
- PV28-CW 8 in 1 air quality monitor
- Qoto 03 smart water valve / sprinkler controller
- Qoto 05 smart water valve / sprinkler controller
- SD123 HPR01 human presence radar
- SH07-8 smart sprinkler controller
- SNT957W-TDE temperature sensor
- SNT957W-DE CBU temperature and humidity sensor
- Sunbeam dual heated mattress pad
- SWS-001 smart weather station
- TH08 temperature and humidity sensor
Expand All @@ -651,8 +676,10 @@ port and password.
- HCT-611 water timer
- HU06 smart lock
- Ironzon fingerprint lock
- MoistenLand water timer
- Orion DL021HA lock
- PT216/PT19DB-2 temperature and humidity sensor
- SGS01 plant sensor
- Smart Ape solar garden light
- TH05 temperature and humidity sensor
- Generic water timers (confirmed with Johgee, Diivoo and Royal Gardineer branded devices)
Expand Down
Loading

0 comments on commit 9d89831

Please sign in to comment.