-
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 for EPT tank level sensor
Issue #1653 Fix indentation in smartcurtain_acs_wt.yaml
- Loading branch information
Showing
4 changed files
with
110 additions
and
9 deletions.
There are no files selected for viewing
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
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
99 changes: 99 additions & 0 deletions
99
custom_components/tuya_local/devices/ept_level_sensor.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,99 @@ | ||
name: Level sensor | ||
products: | ||
- id: npfinze0zsvta7aj | ||
name: EPT 3m ultrasonic | ||
primary_entity: | ||
entity: sensor | ||
name: Status | ||
class: enum | ||
dps: | ||
- id: 1 | ||
type: string | ||
name: sensor | ||
mapping: | ||
- dps_val: normal | ||
value: normal | ||
- dps_val: lower_alarm | ||
value: low | ||
- dps_val: upper_alarm | ||
value: high | ||
secondary_entities: | ||
- entity: sensor | ||
name: Depth | ||
class: distance | ||
dps: | ||
- id: 2 | ||
type: integer | ||
name: sensor | ||
unit: m | ||
class: measurement | ||
mapping: | ||
- scale: 100 | ||
- entity: number | ||
name: High level | ||
category: config | ||
icon: "mdi:arrow-collapse-up" | ||
dps: | ||
- id: 7 | ||
type: integer | ||
optional: true | ||
name: value | ||
unit: "%" | ||
range: | ||
min: 0 | ||
max: 100 | ||
- entity: number | ||
name: Low level | ||
category: config | ||
icon: "mdi:arrow-collapse-down" | ||
dps: | ||
- id: 8 | ||
type: integer | ||
optional: true | ||
name: value | ||
unit: "%" | ||
range: | ||
min: 0 | ||
max: 100 | ||
- entity: number | ||
name: Installation height | ||
category: config | ||
class: distance | ||
icon: "mdi:human-male-height" | ||
dps: | ||
- id: 19 | ||
type: integer | ||
optional: true | ||
name: value | ||
unit: m | ||
range: | ||
min: 100 | ||
max: 3000 | ||
mapping: | ||
- scale: 1000 | ||
- entity: number | ||
name: Maximum depth | ||
category: config | ||
class: distance | ||
icon: "mdi:wave-arrow-up" | ||
dps: | ||
- id: 21 | ||
type: integer | ||
optional: true | ||
name: value | ||
unit: m | ||
range: | ||
min: 100 | ||
max: 2900 | ||
mapping: | ||
- scale: 1000 | ||
- entity: sensor | ||
name: Level | ||
category: diagnostic | ||
icon: "mdi:water-percent" | ||
dps: | ||
- id: 22 | ||
type: integer | ||
name: sensor | ||
unit: "%" | ||
class: measurement |
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