th16_temp_humidity_sensor.yaml 935 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. name: TH16 TH06WB3S Temperature and Humidity Sensor
  2. products:
  3. - id: 7akwzwfwhukkdsib
  4. primary_entity:
  5. entity: sensor
  6. class: temperature
  7. dps:
  8. - id: 1
  9. name: sensor
  10. type: integer
  11. unit: C
  12. mapping:
  13. - scale: 10
  14. class: measurement
  15. secondary_entities:
  16. - entity: sensor
  17. class: humidity
  18. dps:
  19. - id: 2
  20. type: integer
  21. name: sensor
  22. unit: "%"
  23. class: measurement
  24. - entity: select
  25. translation_key: temperature_unit
  26. category: config
  27. dps:
  28. - id: 9
  29. name: option
  30. type: string
  31. mapping:
  32. - dps_val: "f"
  33. value: fahrenheit
  34. - dps_val: "c"
  35. value: celsius
  36. optional: true
  37. - entity: light
  38. translation_key: display
  39. category: config
  40. dps:
  41. - id: 21
  42. type: boolean
  43. name: switch
  44. optional: true