Skip to content

Commit

Permalink
Add support for Treatlife mmWave human presence sensor
Browse files Browse the repository at this point in the history
Issue #2684
  • Loading branch information
make-all committed Jan 12, 2025
1 parent 5e6677d commit 5d9814a
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ Further device support has been made with the assistance of users. Please consid
- [evanfoster](https://github.com/evanfoster) for contributing support for Vivosun DE0003 dehumidifiers.
- [sayaivan](https://github.com/sayaivan) for contributing Indonesian translations.
- [mhackdo18](https://github.com/mhackdo18) for assisting with support for YP Pet feeder.
- [magomao](https://github.com/magomao) for assisting with support for Vivion air conditioners.
- [magomao](https://github.com/magomao) for assisting with support for Vivion air conditioner and Treatlife human presence sensor.
- [palkoarpad85](https://github.com/palkoarpad85) for assisting with support for Klarstein Wonderwall heaters.
- [MJW911](https://github.com/MJW911) for assisting with support for SX1 smartplugs.
- [ops244](https://github.com/ops244) for assisting with support for Hiper T3 bladeless fans, TTEC Robi Pro vacuums, M515 curtain motors, Haier Nayun gas alarms.
Expand Down
1 change: 1 addition & 0 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ port and password.
- Timeguard WFPIR motion light controller
- Tontine electric blanket
- TOPENS TC196 remote control for gate openers
- Treatlife 24GHz mmWave human presence sensor
- Valehaus SYZN119 towel warmer
- Weaja WJ-TUYA-S9 gas alarm
- WeatherStation Pro
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
name: Human presence sensor
products:
- id: s6hviigqjdrymvj3
manufacturer: Treatlife
model: PS-W
entities:
- entity: binary_sensor
class: occupancy
dps:
- id: 1
type: string
name: sensor
mapping:
- dps_val: presence
value: true
- value: false
- entity: number
name: Motion sensitivity
category: config
icon: "mdi:motion-sensor"
dps:
- id: 2
type: integer
name: value
range:
min: 1
max: 5
- entity: number
name: Maximum distance
class: distance
category: config
icon: "mdi:signal-distance-variant"
dps:
- id: 4
type: integer
name: value
unit: cm
range:
min: 75
max: 600
mapping:
- step: 75
- entity: sensor
class: distance
category: diagnostic
dps:
- id: 9
type: integer
name: sensor
unit: cm
class: measurement
- entity: sensor
class: illuminance
dps:
- id: 101
type: integer
name: sensor
unit: lx
class: measurement
- entity: number
name: Still sensitivity
category: config
icon: "mdi:account-clock"
dps:
- id: 102
type: integer
name: value
range:
min: 1
max: 5
- entity: sensor
class: duration
category: diagnostic
dps:
- id: 104
type: integer
name: sensor
unit: min
class: measurement
- entity: light
translation_key: indicator
category: config
dps:
- id: 105
type: boolean
name: switch

0 comments on commit 5d9814a

Please sign in to comment.