atorch_s1wp.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. name: Energy monitoring plug with display
  2. products:
  3. - id: sqrf2g1amfutn4co
  4. manufacturer: Atorch
  5. model: S1WP
  6. entities:
  7. - entity: switch
  8. class: outlet
  9. dps:
  10. - id: 1
  11. type: boolean
  12. name: switch
  13. optional: true
  14. - entity: number
  15. category: config
  16. class: duration
  17. translation_key: timer
  18. dps:
  19. - id: 9
  20. type: integer
  21. name: value
  22. unit: min
  23. range:
  24. min: 0
  25. max: 360000
  26. mapping:
  27. - scale: 60
  28. step: 60
  29. - entity: sensor
  30. class: current
  31. category: diagnostic
  32. dps:
  33. - id: 18
  34. name: sensor
  35. type: integer
  36. class: measurement
  37. unit: A
  38. mapping:
  39. - scale: 1000
  40. - entity: sensor
  41. class: power
  42. category: diagnostic
  43. dps:
  44. - id: 19
  45. name: sensor
  46. type: integer
  47. class: measurement
  48. unit: W
  49. mapping:
  50. - scale: 100
  51. - entity: sensor
  52. class: voltage
  53. category: diagnostic
  54. dps:
  55. - id: 20
  56. name: sensor
  57. type: integer
  58. class: measurement
  59. unit: V
  60. mapping:
  61. - scale: 100
  62. - entity: number
  63. category: config
  64. name: Electricity price
  65. icon: "mdi:cash-multiple"
  66. dps:
  67. - id: 101
  68. type: integer
  69. name: value
  70. range:
  71. min: 0
  72. max: 99999
  73. mapping:
  74. - scale: 100
  75. - entity: sensor
  76. name: Total Cost
  77. dps:
  78. - id: 102
  79. name: sensor
  80. type: integer
  81. mapping:
  82. - scale: 1000
  83. - entity: number
  84. category: config
  85. name: Overvoltage value
  86. icon: "mdi:flash-triangle"
  87. dps:
  88. - id: 104
  89. type: integer
  90. name: value
  91. unit: V
  92. range:
  93. min: 1
  94. max: 2750
  95. mapping:
  96. - scale: 10
  97. - entity: number
  98. category: config
  99. name: Overcurrent value
  100. icon: "mdi:flash-triangle"
  101. dps:
  102. - id: 105
  103. type: integer
  104. name: value
  105. unit: A
  106. range:
  107. min: 1
  108. max: 2000
  109. mapping:
  110. - scale: 100
  111. - entity: number
  112. category: config
  113. name: Overpower value
  114. icon: "mdi:flash-triangle"
  115. dps:
  116. - id: 106
  117. type: integer
  118. name: value
  119. unit: W
  120. range:
  121. min: 1
  122. max: 4500
  123. - entity: select
  124. category: config
  125. translation_key: language
  126. dps:
  127. - id: 107
  128. type: string
  129. name: option
  130. mapping:
  131. - dps_val: chinese
  132. value: chinese
  133. - dps_val: english
  134. value: english
  135. - entity: number
  136. category: config
  137. name: Screen brightness
  138. icon: "mdi:brightness-7"
  139. dps:
  140. - id: 108
  141. type: integer
  142. name: value
  143. range:
  144. min: 1
  145. max: 9
  146. - entity: number
  147. category: config
  148. name: Standby brightness
  149. icon: "mdi:brightness-4"
  150. dps:
  151. - id: 109
  152. type: integer
  153. name: value
  154. range:
  155. min: 1
  156. max: 9
  157. - entity: number
  158. category: config
  159. name: Standby time
  160. icon: "mdi:sun-clock"
  161. dps:
  162. - id: 110
  163. type: integer
  164. name: value
  165. unit: s
  166. range:
  167. min: 3
  168. max: 99
  169. - entity: switch
  170. name: Beep
  171. category: config
  172. dps:
  173. - id: 111
  174. type: boolean
  175. name: switch
  176. - entity: select
  177. name: Switch mode
  178. category: config
  179. dps:
  180. - id: 112
  181. type: string
  182. name: option
  183. mapping:
  184. - dps_val: controlled
  185. value: Controlled
  186. - dps_val: normally_open
  187. value: Normally Open
  188. - entity: button
  189. name: Reset data
  190. category: config
  191. class: restart
  192. dps:
  193. - id: 113
  194. type: boolean
  195. name: button
  196. optional: true
  197. - entity: button
  198. name: Reset Wi-Fi
  199. category: config
  200. class: restart
  201. dps:
  202. - id: 114
  203. type: boolean
  204. name: button
  205. optional: true
  206. - entity: button
  207. translation_key: factory_reset
  208. category: config
  209. dps:
  210. - id: 115
  211. type: boolean
  212. name: button
  213. optional: true
  214. - entity: button
  215. name: Screen rotate
  216. category: config
  217. icon: "mdi:screen-rotation"
  218. dps:
  219. - id: 116
  220. type: boolean
  221. name: button
  222. optional: true
  223. - entity: select
  224. category: config
  225. name: Standby screen
  226. dps:
  227. - id: 117
  228. type: string
  229. name: option
  230. mapping:
  231. - dps_val: original
  232. value: Original
  233. - dps_val: measurement
  234. value: Measurement
  235. - entity: select
  236. category: config
  237. name: Display
  238. dps:
  239. - id: 118
  240. type: string
  241. name: option
  242. mapping:
  243. - dps_val: wifi1
  244. value: Safety protection
  245. - dps_val: safety_protection
  246. value: Electricity price setting and bill
  247. - dps_val: outage_a
  248. value: Smart power off (A)
  249. - dps_val: outage_b
  250. value: Smart power off (B)
  251. - dps_val: timing_close
  252. value: Timing off
  253. - dps_val: timing_open
  254. value: Timing on
  255. - dps_val: loop_timing
  256. value: Timing loop
  257. - dps_val: countdown
  258. value: Timing Countdown
  259. - entity: number
  260. category: config
  261. name: (A) Power greater than
  262. icon: "mdi:flash-triangle"
  263. dps:
  264. - id: 119
  265. type: integer
  266. name: value
  267. unit: W
  268. range:
  269. min: 1
  270. max: 999
  271. - entity: number
  272. category: config
  273. name: (A) Duration
  274. icon: "mdi:clock"
  275. dps:
  276. - id: 120
  277. type: integer
  278. name: value
  279. unit: minutes
  280. range:
  281. min: 1
  282. max: 99
  283. - entity: number
  284. category: config
  285. name: (B) Power lower than
  286. icon: "mdi:flash-triangle"
  287. dps:
  288. - id: 121
  289. type: integer
  290. name: value
  291. unit: W
  292. range:
  293. min: 1
  294. max: 999
  295. - entity: number
  296. category: config
  297. name: (B) Duration
  298. icon: "mdi:clock"
  299. dps:
  300. - id: 122
  301. type: integer
  302. name: value
  303. unit: h
  304. range:
  305. min: 1
  306. max: 99
  307. - entity: sensor
  308. name: Total electricity
  309. class: energy
  310. dps:
  311. - id: 123
  312. name: sensor
  313. type: integer
  314. class: total_increasing
  315. unit: kWh
  316. mapping:
  317. - scale: 1000
  318. - entity: sensor
  319. translation_key: time_remaining
  320. category: diagnostic
  321. class: duration
  322. dps:
  323. - id: 124
  324. name: sensor
  325. type: integer
  326. unit: s
  327. - entity: number
  328. category: config
  329. name: Timing off time
  330. class: duration
  331. translation_key: timer
  332. mode: slider
  333. dps:
  334. - id: 125
  335. type: integer
  336. name: value
  337. unit: min
  338. range:
  339. min: 0
  340. max: 360000
  341. mapping:
  342. - scale: 60
  343. - entity: number
  344. category: config
  345. name: Timing on time
  346. class: duration
  347. translation_key: timer
  348. mode: slider
  349. dps:
  350. - id: 126
  351. type: integer
  352. name: value
  353. unit: min
  354. range:
  355. min: 60
  356. max: 359940
  357. mapping:
  358. - scale: 60
  359. - entity: number
  360. category: config
  361. name: Timing loop on time
  362. translation_key: timer
  363. class: duration
  364. mode: slider
  365. dps:
  366. - id: 127
  367. type: integer
  368. name: value
  369. unit: s
  370. range:
  371. min: 60
  372. max: 359940
  373. mapping:
  374. - scale: 60
  375. - entity: number
  376. category: config
  377. name: Timing loop off time
  378. translation_key: timer
  379. class: duration
  380. mode: slider
  381. dps:
  382. - id: 128
  383. type: integer
  384. name: value
  385. unit: s
  386. range:
  387. min: 60
  388. max: 359940
  389. mapping:
  390. - scale: 60
  391. - entity: number
  392. category: config
  393. name: Timing countdown on time
  394. translation_key: timer
  395. class: duration
  396. mode: slider
  397. dps:
  398. - id: 129
  399. type: integer
  400. name: value
  401. unit: s
  402. range:
  403. min: 60
  404. max: 359940
  405. mapping:
  406. - scale: 60
  407. - entity: number
  408. category: config
  409. name: Timing countdown off time
  410. translation_key: timer
  411. class: duration
  412. mode: slider
  413. dps:
  414. - id: 130
  415. type: integer
  416. name: value
  417. unit: s
  418. range:
  419. min: 60
  420. max: 359940
  421. mapping:
  422. - scale: 60
  423. - entity: select
  424. category: config
  425. name: Switch state
  426. dps:
  427. - id: 131
  428. type: string
  429. name: option
  430. mapping:
  431. - dps_val: open
  432. value: "On"
  433. - dps_val: close
  434. value: "Off"
  435. - dps_val: auto
  436. value: Auto
  437. - entity: sensor
  438. name: Warning
  439. class: enum
  440. category: diagnostic
  441. icon: "mdi:eye-circle-outline"
  442. dps:
  443. - id: 132
  444. name: sensor
  445. type: string
  446. mapping:
  447. - dps_val: "off"
  448. value: "Off"
  449. - dps_val: ovp
  450. value: Overvoltage protection
  451. - dps_val: ocp
  452. value: Overcurrent protection
  453. - dps_val: opp
  454. value: Overpower protection
  455. - dps_val: outage_a
  456. value: Smart power off (A)
  457. - dps_val: outage_b
  458. value: Smart power off (B)
  459. - dps_val: timing_open
  460. value: Timing on
  461. - dps_val: timing_close
  462. value: Timing off
  463. - dps_val: loop_timing
  464. value: Timing loop
  465. - dps_val: countdown
  466. value: Countdown
  467. - entity: sensor
  468. class: frequency
  469. category: diagnostic
  470. dps:
  471. - id: 133
  472. name: sensor
  473. type: integer
  474. class: measurement
  475. unit: Hz
  476. mapping:
  477. - scale: 100
  478. - entity: sensor
  479. class: power_factor
  480. category: diagnostic
  481. dps:
  482. - id: 134
  483. name: sensor
  484. type: integer
  485. class: measurement
  486. mapping:
  487. - scale: 100
  488. - entity: sensor
  489. name: CPU Temperature
  490. category: diagnostic
  491. class: temperature
  492. dps:
  493. - id: 135
  494. name: sensor
  495. type: integer
  496. class: measurement
  497. unit: C
  498. - entity: select
  499. category: config
  500. name: Energy tariff
  501. dps:
  502. - id: 136
  503. type: string
  504. name: option
  505. mapping:
  506. - dps_val: single_rate
  507. value: Single rate
  508. - dps_val: stair
  509. value: Stair
  510. - dps_val: peak_valley_stair
  511. value: Peak-valley
  512. - entity: number
  513. category: config
  514. name: Overvoltage recovery delay
  515. icon: "mdi:timer"
  516. class: duration
  517. dps:
  518. - id: 137
  519. type: integer
  520. name: value
  521. unit: min
  522. range:
  523. min: 0
  524. max: 99
  525. - entity: select
  526. category: config
  527. translation_key: initial_state
  528. dps:
  529. - id: 138
  530. type: string
  531. name: option
  532. mapping:
  533. - dps_val: open
  534. value: "on"
  535. - dps_val: colse
  536. value: "off"
  537. - dps_val: memory
  538. value: memory
  539. - entity: number
  540. category: config
  541. name: Update interval
  542. icon: "mdi:update"
  543. dps:
  544. - id: 139
  545. type: integer
  546. name: value
  547. optional: true
  548. unit: s
  549. range:
  550. min: 1
  551. max: 90