atorch_s1wp.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553
  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. hidden: true
  210. dps:
  211. - id: 115
  212. type: boolean
  213. name: button
  214. optional: true
  215. - entity: button
  216. name: Screen rotate
  217. category: config
  218. icon: "mdi:screen-rotation"
  219. dps:
  220. - id: 116
  221. type: boolean
  222. name: button
  223. optional: true
  224. - entity: select
  225. category: config
  226. name: Standby screen
  227. dps:
  228. - id: 117
  229. type: string
  230. name: option
  231. mapping:
  232. - dps_val: original
  233. value: Original
  234. - dps_val: measurement
  235. value: Measurement
  236. - entity: select
  237. category: config
  238. name: Display
  239. dps:
  240. - id: 118
  241. type: string
  242. name: option
  243. mapping:
  244. - dps_val: wifi1
  245. value: Safety protection
  246. - dps_val: safety_protection
  247. value: Electricity price setting and bill
  248. - dps_val: outage_a
  249. value: Smart power off (A)
  250. - dps_val: outage_b
  251. value: Smart power off (B)
  252. - dps_val: timing_close
  253. value: Timing off
  254. - dps_val: timing_open
  255. value: Timing on
  256. - dps_val: loop_timing
  257. value: Timing loop
  258. - dps_val: countdown
  259. value: Timing Countdown
  260. - entity: number
  261. category: config
  262. name: (A) Power greater than
  263. icon: "mdi:flash-triangle"
  264. dps:
  265. - id: 119
  266. type: integer
  267. name: value
  268. unit: W
  269. range:
  270. min: 1
  271. max: 999
  272. - entity: number
  273. category: config
  274. name: (A) Duration
  275. icon: "mdi:clock"
  276. dps:
  277. - id: 120
  278. type: integer
  279. name: value
  280. unit: minutes
  281. range:
  282. min: 1
  283. max: 99
  284. - entity: number
  285. category: config
  286. name: (B) Power lower than
  287. icon: "mdi:flash-triangle"
  288. dps:
  289. - id: 121
  290. type: integer
  291. name: value
  292. unit: W
  293. range:
  294. min: 1
  295. max: 999
  296. - entity: number
  297. category: config
  298. name: (B) Duration
  299. icon: "mdi:clock"
  300. dps:
  301. - id: 122
  302. type: integer
  303. name: value
  304. unit: h
  305. range:
  306. min: 1
  307. max: 99
  308. - entity: sensor
  309. name: Total electricity
  310. class: energy
  311. dps:
  312. - id: 123
  313. name: sensor
  314. type: integer
  315. class: total_increasing
  316. unit: kWh
  317. mapping:
  318. - scale: 1000
  319. - entity: sensor
  320. translation_key: time_remaining
  321. category: diagnostic
  322. class: duration
  323. dps:
  324. - id: 124
  325. name: sensor
  326. type: integer
  327. optional: true
  328. unit: s
  329. - entity: number
  330. category: config
  331. name: Timing off time
  332. class: duration
  333. translation_key: timer
  334. mode: slider
  335. dps:
  336. - id: 125
  337. type: integer
  338. name: value
  339. unit: min
  340. range:
  341. min: 0
  342. max: 360000
  343. mapping:
  344. - scale: 60
  345. - entity: number
  346. category: config
  347. name: Timing on time
  348. class: duration
  349. translation_key: timer
  350. mode: slider
  351. dps:
  352. - id: 126
  353. type: integer
  354. name: value
  355. unit: min
  356. range:
  357. min: 60
  358. max: 359940
  359. mapping:
  360. - scale: 60
  361. - entity: number
  362. category: config
  363. name: Timing loop on time
  364. translation_key: timer
  365. class: duration
  366. mode: slider
  367. dps:
  368. - id: 127
  369. type: integer
  370. name: value
  371. unit: s
  372. range:
  373. min: 60
  374. max: 359940
  375. mapping:
  376. - scale: 60
  377. - entity: number
  378. category: config
  379. name: Timing loop off time
  380. translation_key: timer
  381. class: duration
  382. mode: slider
  383. dps:
  384. - id: 128
  385. type: integer
  386. name: value
  387. unit: s
  388. range:
  389. min: 60
  390. max: 359940
  391. mapping:
  392. - scale: 60
  393. - entity: number
  394. category: config
  395. name: Timing countdown on time
  396. translation_key: timer
  397. class: duration
  398. mode: slider
  399. dps:
  400. - id: 129
  401. type: integer
  402. name: value
  403. unit: s
  404. range:
  405. min: 60
  406. max: 359940
  407. mapping:
  408. - scale: 60
  409. - entity: number
  410. category: config
  411. name: Timing countdown off time
  412. translation_key: timer
  413. class: duration
  414. mode: slider
  415. dps:
  416. - id: 130
  417. type: integer
  418. name: value
  419. unit: s
  420. range:
  421. min: 60
  422. max: 359940
  423. mapping:
  424. - scale: 60
  425. - entity: select
  426. category: config
  427. name: Switch state
  428. dps:
  429. - id: 131
  430. type: string
  431. name: option
  432. mapping:
  433. - dps_val: open
  434. value: "On"
  435. - dps_val: close
  436. value: "Off"
  437. - dps_val: auto
  438. value: Auto
  439. - entity: sensor
  440. name: Warning
  441. class: enum
  442. category: diagnostic
  443. icon: "mdi:eye-circle-outline"
  444. dps:
  445. - id: 132
  446. name: sensor
  447. type: string
  448. mapping:
  449. - dps_val: "off"
  450. value: "Off"
  451. - dps_val: ovp
  452. value: Overvoltage protection
  453. - dps_val: ocp
  454. value: Overcurrent protection
  455. - dps_val: opp
  456. value: Overpower protection
  457. - dps_val: outage_a
  458. value: Smart power off (A)
  459. - dps_val: outage_b
  460. value: Smart power off (B)
  461. - dps_val: timing_open
  462. value: Timing on
  463. - dps_val: timing_close
  464. value: Timing off
  465. - dps_val: loop_timing
  466. value: Timing loop
  467. - dps_val: countdown
  468. value: Countdown
  469. - entity: sensor
  470. class: frequency
  471. category: diagnostic
  472. dps:
  473. - id: 133
  474. name: sensor
  475. type: integer
  476. class: measurement
  477. unit: Hz
  478. mapping:
  479. - scale: 100
  480. - entity: sensor
  481. class: power_factor
  482. category: diagnostic
  483. dps:
  484. - id: 134
  485. name: sensor
  486. type: integer
  487. class: measurement
  488. mapping:
  489. - scale: 100
  490. - entity: sensor
  491. name: CPU temperature
  492. category: diagnostic
  493. class: temperature
  494. dps:
  495. - id: 135
  496. name: sensor
  497. type: integer
  498. class: measurement
  499. unit: C
  500. - entity: select
  501. category: config
  502. name: Energy tariff
  503. dps:
  504. - id: 136
  505. type: string
  506. name: option
  507. mapping:
  508. - dps_val: single_rate
  509. value: Single rate
  510. - dps_val: stair
  511. value: Stair
  512. - dps_val: peak_valley_stair
  513. value: Peak-valley
  514. - entity: number
  515. category: config
  516. name: Overvoltage recovery delay
  517. icon: "mdi:timer"
  518. class: duration
  519. dps:
  520. - id: 137
  521. type: integer
  522. name: value
  523. unit: min
  524. range:
  525. min: 0
  526. max: 99
  527. - entity: select
  528. category: config
  529. translation_key: initial_state
  530. dps:
  531. - id: 138
  532. type: string
  533. name: option
  534. mapping:
  535. - dps_val: open
  536. value: "on"
  537. - dps_val: colse
  538. value: "off"
  539. - dps_val: memory
  540. value: memory
  541. - entity: number
  542. category: config
  543. name: Update interval
  544. icon: "mdi:update"
  545. dps:
  546. - id: 139
  547. type: integer
  548. name: value
  549. optional: true
  550. unit: s
  551. range:
  552. min: 1
  553. max: 90