th16_temp_humidity_sensor.yaml 952 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. name: Display Units
  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. name: Display
  39. icon: "mdi:television-ambient-light"
  40. category: config
  41. dps:
  42. - id: 21
  43. type: boolean
  44. name: switch
  45. optional: true