Skip to content

Commit

Permalink
Add support for generic gas CO meter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Dworakowski authored and make-all committed Apr 20, 2024
1 parent cb55caf commit 3682cf5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions custom_components/tuya_local/devices/tuya_gas_sensor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: TUYA Gas Leak Detector
products:
- name: TUYA Gas Leak Detector
primary_entity:
entity: sensor
class: carbon_dioxide
name: Sensor Reading
dps:
- id: 5
type: float
name: sensor
class: measurement

Check failure on line 12 in custom_components/tuya_local/devices/tuya_gas_sensor.yaml

View workflow job for this annotation

GitHub Actions / lint

12:25 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 3682cf5

Please sign in to comment.