Advertisement
pqpxoxa

Home Assistant - honeycomb-menu Example

Sep 15th, 2022
639
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.62 KB | None | 0 0
  1. cards:
  2. - color: transparent
  3. color_type: label-card
  4. double_tap_action:
  5. action: none
  6. entity: group.lights_kitchen
  7. name: Lights
  8. show_icon: false
  9. styles:
  10. card:
  11. - background-color: transparent
  12. - box-shadow: none
  13. name:
  14. - font-size: 35px
  15. - text-align: start
  16. - letter-spacing: 0.001em
  17. - font-weight: 700
  18. type: custom:button-card
  19. - color_type: blank-card
  20. styles:
  21. card:
  22. - height: 5px
  23. type: custom:button-card
  24. - cards:
  25. - color_type: blank-card
  26. styles:
  27. card:
  28. - width: 20px
  29. type: custom:button-card
  30. - type: custom:button-card
  31. show_name: true
  32. name: Hallway
  33. show_entity_picture: true
  34. entity_picture: /local/hallwayicon.png
  35. aspect_ratio: 1/1
  36. styles:
  37. card:
  38. - border-radius: 25px
  39. - padding: 5%
  40. - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
  41. icon:
  42. - width: 55px
  43. name:
  44. - padding-bottom: 15px
  45. - font-weight: 900
  46. tap_action:
  47. action: call-service
  48. service: honeycomb
  49. service_data:
  50. spacing: 5
  51. size: 275
  52. buttons:
  53. - entity_picture: /local/hallwaylamp.png
  54. show_entity_picture: true
  55. color_type: card
  56. color: rgba(43, 56, 79, 0.75)
  57. tap_action:
  58. action: call-service
  59. service: light.toggle
  60. service_data:
  61. entity_id: light.front_door_lamp
  62. - entity_picture: /local/gu10down.png
  63. show_entity_picture: true
  64. color_type: card
  65. color: rgba(43, 56, 79, 0.75)
  66. styles:
  67. icon: null
  68. tap_action:
  69. action: call-service
  70. service: light.toggle
  71. service_data:
  72. entity_id: light.ground_floor_ceiling_light_4
  73. - entity_picture: /local/multigu10.png
  74. show_entity_picture: true
  75. color_type: card
  76. color: rgba(43, 56, 79, 0.75)
  77. styles:
  78. icon: null
  79. tap_action:
  80. action: call-service
  81. service: light.toggle
  82. service_data:
  83. entity_id: light.porch
  84. - icon: mdi:home-floor-2
  85. color_type: card
  86. color: rgba(43, 56, 79, 0.75)
  87. styles:
  88. icon: null
  89. tap_action:
  90. action: call-service
  91. service: light.toggle
  92. service_data:
  93. entity_id: light.second_floor_ceiling_lights
  94. - icon: mdi:home-floor-1
  95. color_type: card
  96. color: rgba(43, 56, 79, 0.75)
  97. styles:
  98. icon: null
  99. tap_action:
  100. action: call-service
  101. service: light.toggle
  102. service_data:
  103. entity_id: light.first_floor_ceiling_lights
  104. - icon: mdi:home-floor-g
  105. color_type: card
  106. color: rgba(43, 56, 79, 0.75)
  107. styles:
  108. icon: null
  109. tap_action:
  110. action: call-service
  111. service: light.toggle
  112. service_data:
  113. entity_id: light.ground_floor_ceiling_lights
  114. - color_type: blank-card
  115. styles:
  116. card:
  117. - width: 10px
  118. type: custom:button-card
  119. - type: custom:button-card
  120. show_name: true
  121. name: Snug
  122. show_entity_picture: true
  123. entity_picture: /local/snnnugicons.png
  124. aspect_ratio: 1/1
  125. styles:
  126. card:
  127. - border-radius: 25px
  128. - padding: 5%
  129. - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
  130. icon:
  131. - width: 55px
  132. name:
  133. - padding-bottom: 15px
  134. - font-weight: 900
  135. tap_action:
  136. action: call-service
  137. service: honeycomb
  138. service_data:
  139. spacing: 5
  140. size: 275
  141. buttons:
  142. - show: false
  143. - entity_picture: /local/snugfloorlamp.png
  144. show_entity_picture: true
  145. color_type: card
  146. color: rgba(43, 56, 79, 0.75)
  147. styles:
  148. icon: null
  149. tap_action:
  150. action: call-service
  151. service: switch.toggle
  152. service_data:
  153. entity_id: switch.tsm_snug_2
  154. - entity_picture: /local/snugceiling.png
  155. show_entity_picture: true
  156. color_type: card
  157. color: rgba(43, 56, 79, 0.75)
  158. styles:
  159. icon: null
  160. tap_action:
  161. action: call-service
  162. service: light.toggle
  163. service_data:
  164. entity_id: light.snug_ceiling
  165. - show: false
  166. - show: false
  167. - show: false
  168. - color_type: blank-card
  169. styles:
  170. card:
  171. - width: 20px
  172. type: custom:button-card
  173. type: horizontal-stack
  174. - color_type: blank-card
  175. styles:
  176. card:
  177. - height: 10px
  178. type: custom:button-card
  179. - cards:
  180. - color_type: blank-card
  181. styles:
  182. card:
  183. - width: 20px
  184. type: custom:button-card
  185. - type: custom:button-card
  186. show_name: true
  187. name: Kitchen
  188. show_entity_picture: true
  189. entity_picture: /local/Kitchen-512.png
  190. aspect_ratio: 1/1
  191. styles:
  192. card:
  193. - border-radius: 25px
  194. - padding: 5%
  195. - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
  196. icon:
  197. - width: 60px
  198. name:
  199. - padding-bottom: 15px
  200. - font-weight: 900
  201. tap_action:
  202. action: call-service
  203. service: honeycomb
  204. service_data:
  205. spacing: 5
  206. size: 275
  207. buttons:
  208. - entity_picture: /local/multigu10.png
  209. show_entity_picture: true
  210. color_type: card
  211. color: rgba(43, 56, 79, 0.75)
  212. tap_action:
  213. action: call-service
  214. service: light.toggle
  215. service_data:
  216. entity_id: light.kitchen_ceiling_lights
  217. - entity_picture: /local/rgbstrip.png
  218. show_entity_picture: true
  219. color_type: card
  220. color: rgba(43, 56, 79, 0.75)
  221. styles:
  222. icon: null
  223. tap_action:
  224. action: call-service
  225. service: light.toggle
  226. service_data:
  227. entity_id: light.kitchen_rgb_lights
  228. - entity_picture: /local/kitchentable.png
  229. show_entity_picture: true
  230. color_type: card
  231. color: rgba(43, 56, 79, 0.75)
  232. styles:
  233. icon: null
  234. tap_action:
  235. action: call-service
  236. service: light.toggle
  237. service_data:
  238. entity_id: light.kitchen_rgb_lights
  239. - icon: mdi:power
  240. color_type: card
  241. color: rgba(43, 56, 79, 0.75)
  242. - show: false
  243. - show: false
  244. - color_type: blank-card
  245. styles:
  246. card:
  247. - width: 10px
  248. type: custom:button-card
  249. - type: custom:button-card
  250. show_name: true
  251. name: Living Room
  252. show_entity_picture: true
  253. entity_picture: /local/livingicon.png
  254. aspect_ratio: 1/1
  255. styles:
  256. card:
  257. - border-radius: 25px
  258. - padding: 5%
  259. - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
  260. icon:
  261. - width: 55px
  262. name:
  263. - padding-bottom: 15px
  264. - font-weight: 900
  265. tap_action:
  266. action: call-service
  267. service: honeycomb
  268. service_data:
  269. spacing: 5
  270. size: 275
  271. buttons:
  272. - entity_picture: /local/livingroomfloor.png
  273. show_entity_picture: true
  274. color_type: card
  275. color: rgba(43, 56, 79, 0.75)
  276. tap_action:
  277. action: call-service
  278. service: light.toggle
  279. service_data:
  280. entity_id: light.living_room_floor_lamp
  281. - entity_picture: /local/livingroomtable.png
  282. show_entity_picture: true
  283. color_type: card
  284. color: rgba(43, 56, 79, 0.75)
  285. styles:
  286. icon: null
  287. tap_action:
  288. action: call-service
  289. service: switch.toggle
  290. service_data:
  291. entity_id: switch.living_room_corner_lamp
  292. - entity_picture: /local/rgbstrip.png
  293. show_entity_picture: true
  294. color_type: card
  295. color: rgba(43, 56, 79, 0.75)
  296. styles:
  297. icon: null
  298. tap_action:
  299. action: call-service
  300. service: light.toggle
  301. service_data:
  302. entity_id: light.living_room_tv_cabinet_rgb_light
  303. - entity_picture: /local/wled_nodemcu.png
  304. show_entity_picture: true
  305. color_type: card
  306. color: rgba(43, 56, 79, 0.75)
  307. styles:
  308. icon: null
  309. tap_action:
  310. action: call-service
  311. service: light.toggle
  312. service_data:
  313. entity_id: light.lvrcb_wled
  314. - show: false
  315. - show: false
  316. - color_type: blank-card
  317. styles:
  318. card:
  319. - width: 20px
  320. type: custom:button-card
  321. type: horizontal-stack
  322. - color_type: blank-card
  323. styles:
  324. card:
  325. - height: 10px
  326. type: custom:button-card
  327. - cards:
  328. - color_type: blank-card
  329. styles:
  330. card:
  331. - width: 20px
  332. type: custom:button-card
  333. - type: custom:button-card
  334. show_name: true
  335. name: Office
  336. show_entity_picture: true
  337. entity_picture: /local/officeicon.png
  338. aspect_ratio: 1/1
  339. styles:
  340. card:
  341. - border-radius: 25px
  342. - padding: 5%
  343. - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
  344. icon:
  345. - width: 60px
  346. name:
  347. - padding-bottom: 15px
  348. - font-weight: 900
  349. tap_action:
  350. action: call-service
  351. service: honeycomb
  352. service_data:
  353. spacing: 5
  354. size: 325
  355. buttons:
  356. - entity_picture: /local/officelamp.png
  357. show_entity_picture: true
  358. color_type: card
  359. color: rgba(43, 56, 79, 0.75)
  360. styles:
  361. icon:
  362. - height: 60%
  363. tap_action:
  364. action: call-service
  365. service: switch.toggle
  366. service_data:
  367. entity_id: switch.office_lamp_2
  368. - entity_picture: /local/rgbstrip.png
  369. show_entity_picture: true
  370. color_type: card
  371. color: rgba(43, 56, 79, 0.75)
  372. styles:
  373. icon:
  374. - height: 60%
  375. tap_action:
  376. action: call-service
  377. service: light.toggle
  378. service_data:
  379. entity_id: light.desk_monitor_rgb
  380. - entity_picture: /local/officeceiling.png
  381. show_entity_picture: true
  382. color_type: card
  383. color: rgba(43, 56, 79, 0.75)
  384. styles:
  385. icon: null
  386. tap_action:
  387. action: call-service
  388. service: light.toggle
  389. service_data:
  390. entity_id: light.office_ceiling_light_2
  391. - entity_picture: /local/wled_nodemcu.png
  392. show_entity_picture: true
  393. color_type: card
  394. color: rgba(43, 56, 79, 0.75)
  395. styles:
  396. icon: null
  397. tap_action:
  398. action: call-service
  399. service: light.toggle
  400. service_data:
  401. entity_id: light.office_tv
  402. - entity_picture: /local/rgbstrip.png
  403. show_entity_picture: true
  404. color_type: card
  405. color: rgba(43, 56, 79, 0.75)
  406. styles:
  407. icon: null
  408. tap_action:
  409. action: call-service
  410. service: light.toggle
  411. service_data:
  412. entity_id: light.dtacab_wled
  413. - icon: mdi:power
  414. color_type: card
  415. color: rgba(43, 56, 79, 0.75)
  416. - color_type: blank-card
  417. styles:
  418. card:
  419. - width: 10px
  420. type: custom:button-card
  421. - type: custom:button-card
  422. show_name: true
  423. name: Bedroom
  424. show_entity_picture: true
  425. entity_picture: /local/bed2222.png
  426. aspect_ratio: 1/1
  427. styles:
  428. card:
  429. - border-radius: 25px
  430. - padding: 5%
  431. - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
  432. icon:
  433. - width: 70px
  434. name:
  435. - padding-bottom: 15px
  436. - font-weight: 900
  437. tap_action:
  438. action: call-service
  439. service: honeycomb
  440. service_data:
  441. spacing: 5
  442. size: 275
  443. buttons:
  444. - entity_picture: /local/masterceiling.png
  445. show_entity_picture: true
  446. color_type: card
  447. color: rgba(43, 56, 79, 0.75)
  448. tap_action:
  449. action: call-service
  450. service: light.toggle
  451. service_data:
  452. entity_id: light.master_lights
  453. - entity_picture: /local/bedsidelamp.png
  454. show_entity_picture: true
  455. color_type: card
  456. color: rgba(43, 56, 79, 0.75)
  457. styles:
  458. icon: null
  459. tap_action:
  460. action: call-service
  461. service: switch.toggle
  462. service_data:
  463. entity_id: switch.living_room_corner_lamp
  464. - entity_picture: /local/rgbstrip.png
  465. show_entity_picture: true
  466. color_type: card
  467. color: rgba(43, 56, 79, 0.75)
  468. styles:
  469. icon: null
  470. tap_action:
  471. action: call-service
  472. service: light.toggle
  473. service_data:
  474. entity_id: light.living_room_tv_cabinet_rgb_light
  475. - entity_picture: /local/multigu10.png
  476. show_entity_picture: true
  477. color_type: card
  478. color: rgba(43, 56, 79, 0.75)
  479. styles:
  480. icon: null
  481. tap_action:
  482. action: call-service
  483. service: light.toggle
  484. service_data:
  485. entity_id: light.ensuite_ceiling_lights
  486. - show: false
  487. - show: false
  488. - color_type: blank-card
  489. styles:
  490. card:
  491. - width: 20px
  492. type: custom:button-card
  493. type: horizontal-stack
  494. - color_type: blank-card
  495. styles:
  496. card:
  497. - height: 10px
  498. type: custom:button-card
  499. - cards:
  500. - color_type: blank-card
  501. styles:
  502. card:
  503. - width: 20px
  504. type: custom:button-card
  505. - type: custom:button-card
  506. show_name: true
  507. name: All Lights
  508. show_entity_picture: true
  509. entity_picture: /local/allhouselights.png
  510. aspect_ratio: 4/3
  511. styles:
  512. card:
  513. - border-radius: 25px
  514. - padding: 5%
  515. - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
  516. icon: null
  517. name:
  518. - padding-bottom: 10px
  519. - font-weight: 900
  520. - font-size: 14px
  521. tap_action:
  522. action: call-service
  523. service: honeycomb
  524. service_data:
  525. spacing: 5
  526. size: 275
  527. buttons:
  528. - entity_picture: /local/officelamp.png
  529. show_entity_picture: true
  530. color_type: card
  531. color: rgba(43, 56, 79, 0.75)
  532. styles:
  533. icon: null
  534. tap_action:
  535. action: call-service
  536. service: switch.toggle
  537. service_data:
  538. entity_id: switch.office_lamp_2
  539. - entity_picture: /local/rgbstrip.png
  540. show_entity_picture: true
  541. color_type: card
  542. color: rgba(43, 56, 79, 0.75)
  543. styles:
  544. icon: null
  545. tap_action:
  546. action: call-service
  547. service: light.toggle
  548. service_data:
  549. entity_id: light.desk_monitor_rgb
  550. - entity_picture: /local/officeceiling.png
  551. show_entity_picture: true
  552. color_type: card
  553. color: rgba(43, 56, 79, 0.75)
  554. styles:
  555. icon: null
  556. tap_action:
  557. action: call-service
  558. service: light.toggle
  559. service_data:
  560. entity_id: light.office_ceiling_light_2
  561. - entity_picture: /local/wled_nodemcu.png
  562. show_entity_picture: true
  563. color_type: card
  564. color: rgba(43, 56, 79, 0.75)
  565. styles:
  566. icon: null
  567. tap_action:
  568. action: call-service
  569. service: light.toggle
  570. service_data:
  571. entity_id: light.office_tv
  572. - entity_picture: /local/rgbstrip.png
  573. show_entity_picture: true
  574. color_type: card
  575. color: rgba(43, 56, 79, 0.75)
  576. styles:
  577. icon: null
  578. tap_action:
  579. action: call-service
  580. service: light.toggle
  581. service_data:
  582. entity_id: light.dtacab_wled
  583. - icon: mdi:power
  584. color_type: card
  585. color: rgba(43, 56, 79, 0.75)
  586. - color_type: blank-card
  587. styles:
  588. card:
  589. - width: 10px
  590. type: custom:button-card
  591. - type: custom:button-card
  592. show_name: true
  593. name: Brightness
  594. show_entity_picture: true
  595. entity_picture: |
  596. [[[
  597. if (states['group.daynighttime'].state == 'on')
  598. return "/local/daylights.png";
  599. return "/local/nightl2.png";
  600. ]]]
  601. aspect_ratio: 4/3
  602. styles:
  603. card:
  604. - border-radius: 25px
  605. - padding: 5%
  606. - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
  607. icon: null
  608. name:
  609. - padding-bottom: 10px
  610. - font-weight: 900
  611. - font-size: 14px
  612. tap_action:
  613. action: call-service
  614. service: honeycomb
  615. service_data:
  616. spacing: 5
  617. size: 275
  618. buttons:
  619. - entity_picture: /local/officelamp.png
  620. show_entity_picture: true
  621. color_type: card
  622. color: rgba(43, 56, 79, 0.75)
  623. styles:
  624. icon: null
  625. tap_action:
  626. action: call-service
  627. service: switch.toggle
  628. service_data:
  629. entity_id: switch.office_lamp_2
  630. - entity_picture: /local/rgbstrip.png
  631. show_entity_picture: true
  632. color_type: card
  633. color: rgba(43, 56, 79, 0.75)
  634. styles:
  635. icon: null
  636. tap_action:
  637. action: call-service
  638. service: light.toggle
  639. service_data:
  640. entity_id: light.desk_monitor_rgb
  641. - entity_picture: /local/officeceiling.png
  642. show_entity_picture: true
  643. color_type: card
  644. color: rgba(43, 56, 79, 0.75)
  645. styles:
  646. icon: null
  647. tap_action:
  648. action: call-service
  649. service: light.toggle
  650. service_data:
  651. entity_id: light.office_ceiling_light_2
  652. - entity_picture: /local/wled_nodemcu.png
  653. show_entity_picture: true
  654. color_type: card
  655. color: rgba(43, 56, 79, 0.75)
  656. styles:
  657. icon: null
  658. tap_action:
  659. action: call-service
  660. service: light.toggle
  661. service_data:
  662. entity_id: light.office_tv
  663. - entity_picture: /local/rgbstrip.png
  664. show_entity_picture: true
  665. color_type: card
  666. color: rgba(43, 56, 79, 0.75)
  667. styles:
  668. icon: null
  669. tap_action:
  670. action: call-service
  671. service: light.toggle
  672. service_data:
  673. entity_id: light.dtacab_wled
  674. - icon: mdi:power
  675. color_type: card
  676. color: rgba(43, 56, 79, 0.75)
  677. - color_type: blank-card
  678. styles:
  679. card:
  680. - width: 20px
  681. type: custom:button-card
  682. type: horizontal-stack
  683. type: vertical-stack
  684.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement