th16_temp_humidity_sensor.yaml 955 B

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