-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support Smartlife Plant Sensor SGS01
- Loading branch information
almirus
committed
Mar 2, 2024
1 parent
b2c87dc
commit 594dcf2
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
custom_components/tuya_local/devices/ble_smart_plant_moisture.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Moisture sensor | ||
products: | ||
- id: bfbf6c7bb11573ed23j4ya | ||
model: SGS01 | ||
primary_entity: | ||
entity: sensor | ||
name: Soil Moisture | ||
class: humidity | ||
dps: | ||
- id: 3 | ||
name: sensor | ||
type: integer | ||
force: true | ||
unit: "%" | ||
secondary_entities: | ||
- entity: sensor | ||
name: Soil Temperature | ||
class: temperature | ||
dps: | ||
- id: 5 | ||
name: sensor | ||
type: integer | ||
mapping: | ||
- scale: 10 | ||
unit: C | ||
- entity: select | ||
name: Temperature unit | ||
category: config | ||
dps: | ||
- id: 9 | ||
name: option | ||
type: string | ||
mapping: | ||
- dps_val: "c" | ||
value: "C" | ||
- dps_val: "f" | ||
value: "F" | ||
- entity: sensor | ||
class: battery | ||
category: diagnostic | ||
dps: | ||
- id: 14 | ||
type: string | ||
name: state | ||
- id: 15 | ||
type: integer | ||
name: sensor | ||
unit: "%" | ||