atorch_s1bw_smartplug.yaml 12 KB

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