snt957w_tde_temp.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. name: Temperature sensor
  2. products:
  3. - id: fqs8czlq3m0seqyp
  4. model: SNT957W-TDE
  5. entities:
  6. - entity: sensor
  7. class: temperature
  8. dps:
  9. - id: 1
  10. name: sensor
  11. type: integer
  12. unit: C
  13. mapping:
  14. - scale: 10
  15. class: measurement
  16. - entity: select
  17. translation_key: temperature_unit
  18. category: config
  19. dps:
  20. - id: 9
  21. name: option
  22. type: string
  23. mapping:
  24. - dps_val: "f"
  25. value: fahrenheit
  26. - dps_val: "c"
  27. value: celsius
  28. optional: true
  29. - entity: number
  30. translation_key: maximum_temperature
  31. category: config
  32. class: temperature
  33. dps:
  34. - id: 10
  35. type: integer
  36. name: value
  37. unit: C
  38. range:
  39. min: -400
  40. max: 1200
  41. mapping:
  42. - scale: 10
  43. optional: true
  44. - entity: number
  45. translation_key: minimum_temperature
  46. category: config
  47. class: temperature
  48. dps:
  49. - id: 11
  50. type: integer
  51. name: value
  52. unit: C
  53. range:
  54. min: -400
  55. max: 1200
  56. mapping:
  57. - scale: 10
  58. - entity: select
  59. name: Temperature alarm
  60. icon: "mdi:thermometer-alert"
  61. category: config
  62. dps:
  63. - id: 14
  64. type: string
  65. name: option
  66. mapping:
  67. - dps_val: loweralarm
  68. value: Low temperature
  69. - dps_val: upperalarm
  70. value: High temperature
  71. - dps_val: cancel
  72. value: Not set
  73. - entity: number
  74. translation_key: temperature_calibration
  75. category: config
  76. dps:
  77. - id: 23
  78. type: integer
  79. name: value
  80. unit: °
  81. range:
  82. min: -100
  83. max: 100
  84. mapping:
  85. - scale: 10