atorch_s1wp.yaml 11 KB

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