Advertisement
dckiller

card radio

Oct 18th, 2020 (edited)
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.85 KB | None | 0 0
  1. cards:
  2. - type: entities
  3. title: Enceintes
  4. entities:
  5. - label: Salon
  6. type: section
  7. - artwork: material
  8. entity: media_player.salon
  9. group: true
  10. hide_controls: false
  11. hide_volume: false
  12. power_color: true
  13. show_progress: true
  14. toggle_power: toggle
  15. icon: 'mdi:google-home'
  16. max_volume: 100
  17. min_volume: 1
  18. name: Google Home
  19. shortcuts:
  20. buttons:
  21. - data:
  22. entity_id: media_player.salon
  23. icon: 'mdi:volume-minus'
  24. id: media_player.volume_down
  25. type: service
  26. - data:
  27. entity_id: media_player.salon
  28. icon: 'mdi:volume-plus'
  29. id: media_player.volume_up
  30. type: service
  31. columns: 2
  32. hide_when_off: true
  33. type: 'custom:mini-media-player'
  34. - card:
  35. cards:
  36. - card:
  37. image: /local/img/radio/NRJ_selected.jpg?v=0.103
  38. tap_action:
  39. action: call-service
  40. service: input_select.select_option
  41. service_data:
  42. entity_id: input_select.radio_station_salon
  43. option: Aucune
  44. type: picture
  45. conditions:
  46. - entity: input_select.radio_station_salon
  47. state: NRJ
  48. type: conditional
  49. - card:
  50. image: /local/img/radio/NRJ.jpg?v=0.103
  51. tap_action:
  52. action: call-service
  53. service: input_select.select_option
  54. service_data:
  55. entity_id: input_select.radio_station_salon
  56. option: NRJ
  57. type: picture
  58. conditions:
  59. - entity: input_select.radio_station_salon
  60. state_not: NRJ
  61. type: conditional
  62. - card:
  63. image: /local/img/radio/Fun_selected.jpg?v=0.103
  64. tap_action:
  65. action: call-service
  66. service: input_select.select_option
  67. service_data:
  68. entity_id: input_select.radio_station_salon
  69. option: Aucune
  70. type: picture
  71. conditions:
  72. - entity: input_select.radio_station_salon
  73. state: Fun
  74. type: conditional
  75. - card:
  76. image: /local/img/radio/Fun.jpg?v=0.103
  77. tap_action:
  78. action: call-service
  79. service: input_select.select_option
  80. service_data:
  81. entity_id: input_select.radio_station_salon
  82. option: Fun
  83. type: picture
  84. conditions:
  85. - entity: input_select.radio_station_salon
  86. state_not: Fun
  87. type: conditional
  88. - card:
  89. image: /local/img/radio/BFM_selected.jpg?v=0.103
  90. tap_action:
  91. action: call-service
  92. service: input_select.select_option
  93. service_data:
  94. entity_id: input_select.radio_station_salon
  95. option: Aucune
  96. type: picture
  97. conditions:
  98. - entity: input_select.radio_station_salon
  99. state: BFM
  100. type: conditional
  101. - card:
  102. image: /local/img/radio/BFM.jpg?v=0.103
  103. tap_action:
  104. action: call-service
  105. service: input_select.select_option
  106. service_data:
  107. entity_id: input_select.radio_station_salon
  108. option: BFM
  109. type: picture
  110. conditions:
  111. - entity: input_select.radio_station_salon
  112. state_not: BFM
  113. type: conditional
  114. - card:
  115. image: /local/img/radio/Skyrock_selected.jpg?v=0.103
  116. tap_action:
  117. action: call-service
  118. service: input_select.select_option
  119. service_data:
  120. entity_id: input_select.radio_station_salon
  121. option: Aucune
  122. type: picture
  123. conditions:
  124. - entity: input_select.radio_station_salon
  125. state: Skyrock
  126. type: conditional
  127. - card:
  128. image: /local/img/radio/Skyrock.jpg?v=0.103
  129. tap_action:
  130. action: call-service
  131. service: input_select.select_option
  132. service_data:
  133. entity_id: input_select.radio_station_salon
  134. option: Skyrock
  135. type: picture
  136. conditions:
  137. - entity: input_select.radio_station_salon
  138. state_not: Skyrock
  139. type: conditional
  140. - card:
  141. image: /local/img/radio/Nostalgie_selected.jpg?v=0.103
  142. tap_action:
  143. action: call-service
  144. service: input_select.select_option
  145. service_data:
  146. entity_id: input_select.radio_station_salon
  147. option: Aucune
  148. type: picture
  149. conditions:
  150. - entity: input_select.radio_station_salon
  151. state: Nostalgie
  152. type: conditional
  153. - card:
  154. image: /local/img/radio/Nostalgie.jpg?v=0.103
  155. tap_action:
  156. action: call-service
  157. service: input_select.select_option
  158. service_data:
  159. entity_id: input_select.radio_station_salon
  160. option: Nostalgie
  161. type: picture
  162. conditions:
  163. - entity: input_select.radio_station_salon
  164. state_not: Nostalgie
  165. type: conditional
  166. - card:
  167. image: /local/img/radio/Hitsradio_selected.jpg?v=0.103
  168. tap_action:
  169. action: call-service
  170. service: input_select.select_option
  171. service_data:
  172. entity_id: input_select.radio_station_salon
  173. option: Aucune
  174. type: picture
  175. conditions:
  176. - entity: input_select.radio_station_salon
  177. state: Hitsradio
  178. type: conditional
  179. - card:
  180. image: /local/img/radio/Hitsradio.jpg?v=0.103
  181. tap_action:
  182. action: call-service
  183. service: input_select.select_option
  184. service_data:
  185. entity_id: input_select.radio_station_salon
  186. option: Hitsradio
  187. type: picture
  188. conditions:
  189. - entity: input_select.radio_station_salon
  190. state_not: Hitsradio
  191. type: conditional
  192. type: horizontal-stack
  193. conditions:
  194. - entity: media_player.salon
  195. state_not: 'off'
  196. type: conditional
  197. - card:
  198. cards:
  199. - card:
  200. image: /local/img/radio/Scoop_selected.jpg?v=0.103
  201. tap_action:
  202. action: call-service
  203. service: input_select.select_option
  204. service_data:
  205. entity_id: input_select.radio_station_salon
  206. option: Aucune
  207. type: picture
  208. conditions:
  209. - entity: input_select.radio_station_salon
  210. state: Scoop
  211. type: conditional
  212. - card:
  213. image: /local/img/radio/Scoop.jpg?v=0.103
  214. tap_action:
  215. action: call-service
  216. service: input_select.select_option
  217. service_data:
  218. entity_id: input_select.radio_station_salon
  219. option: Scoop
  220. type: picture
  221. conditions:
  222. - entity: input_select.radio_station_salon
  223. state_not: Scoop
  224. type: conditional
  225. - card:
  226. image: /local/img/radio/FG_selected.jpg?v=0.103
  227. tap_action:
  228. action: call-service
  229. service: input_select.select_option
  230. service_data:
  231. entity_id: input_select.radio_station_salon
  232. option: Aucune
  233. type: picture
  234. conditions:
  235. - entity: input_select.radio_station_salon
  236. state: FG
  237. type: conditional
  238. - card:
  239. image: /local/img/radio/FG.jpg?v=0.103
  240. tap_action:
  241. action: call-service
  242. service: input_select.select_option
  243. service_data:
  244. entity_id: input_select.radio_station_salon
  245. option: FG
  246. type: picture
  247. conditions:
  248. - entity: input_select.radio_station_salon
  249. state_not: FG
  250. type: conditional
  251. - card:
  252. image: /local/img/radio/FGchic_selected.jpg?v=0.103
  253. tap_action:
  254. action: call-service
  255. service: input_select.select_option
  256. service_data:
  257. entity_id: input_select.radio_station_salon
  258. option: Aucune
  259. type: picture
  260. conditions:
  261. - entity: input_select.radio_station_salon
  262. state: FGchic
  263. type: conditional
  264. - card:
  265. image: /local/img/radio/FGchic.jpg?v=0.103
  266. tap_action:
  267. action: call-service
  268. service: input_select.select_option
  269. service_data:
  270. entity_id: input_select.radio_station_salon
  271. option: FGchic
  272. type: picture
  273. conditions:
  274. - entity: input_select.radio_station_salon
  275. state_not: FGchic
  276. type: conditional
  277. - card:
  278. image: /local/img/radio/FGdeep_selected.jpg?v=0.103
  279. tap_action:
  280. action: call-service
  281. service: input_select.select_option
  282. service_data:
  283. entity_id: input_select.radio_station_salon
  284. option: Aucune
  285. type: picture
  286. conditions:
  287. - entity: input_select.radio_station_salon
  288. state: FGdeep
  289. type: conditional
  290. - card:
  291. image: /local/img/radio/FGdeep.jpg?v=0.103
  292. tap_action:
  293. action: call-service
  294. service: input_select.select_option
  295. service_data:
  296. entity_id: input_select.radio_station_salon
  297. option: FGdeep
  298. type: picture
  299. conditions:
  300. - entity: input_select.radio_station_salon
  301. state_not: FGdeep
  302. type: conditional
  303. - card:
  304. image: /local/img/radio/FGunder_selected.jpg?v=0.103
  305. tap_action:
  306. action: call-service
  307. service: input_select.select_option
  308. service_data:
  309. entity_id: input_select.radio_station_salon
  310. option: Aucune
  311. type: picture
  312. conditions:
  313. - entity: input_select.radio_station_salon
  314. state: FGunder
  315. type: conditional
  316. - card:
  317. image: /local/img/radio/FGunder.jpg?v=0.103
  318. tap_action:
  319. action: call-service
  320. service: input_select.select_option
  321. service_data:
  322. entity_id: input_select.radio_station_salon
  323. option: FGunder
  324. type: picture
  325. conditions:
  326. - entity: input_select.radio_station_salon
  327. state_not: FGunder
  328. type: conditional
  329. - card:
  330. image: /local/img/radio/MTI_selected.jpg?v=0.103
  331. tap_action:
  332. action: call-service
  333. service: input_select.select_option
  334. service_data:
  335. entity_id: input_select.radio_station_salon
  336. option: Aucune
  337. type: picture
  338. conditions:
  339. - entity: input_select.radio_station_salon
  340. state: MTI
  341. type: conditional
  342. - card:
  343. image: /local/img/radio/MTI.jpg?v=0.103
  344. tap_action:
  345. action: call-service
  346. service: input_select.select_option
  347. service_data:
  348. entity_id: input_select.radio_station_salon
  349. option: MTI
  350. type: picture
  351. conditions:
  352. - entity: input_select.radio_station_salon
  353. state_not: MTI
  354. type: conditional
  355. type: horizontal-stack
  356. conditions:
  357. - entity: media_player.salon
  358. state_not: 'off'
  359. type: conditional
  360. - card:
  361. cards:
  362. - card:
  363. image: /local/img/radio/Virgin_selected.jpg?v=0.103
  364. tap_action:
  365. action: call-service
  366. service: input_select.select_option
  367. service_data:
  368. entity_id: input_select.radio_station_salon
  369. option: Aucune
  370. type: picture
  371. conditions:
  372. - entity: input_select.radio_station_salon
  373. state: Virgin
  374. type: conditional
  375. - card:
  376. image: /local/img/radio/Virgin.jpg?v=0.103
  377. tap_action:
  378. action: call-service
  379. service: input_select.select_option
  380. service_data:
  381. entity_id: input_select.radio_station_salon
  382. option: Virgin
  383. type: picture
  384. conditions:
  385. - entity: input_select.radio_station_salon
  386. state_not: Virgin
  387. type: conditional
  388. type: horizontal-stack
  389. conditions:
  390. - entity: media_player.salon
  391. state_not: 'off'
  392. type: conditional
  393. - type: entities
  394. entities:
  395. - label: Salle de Bain
  396. type: section
  397. - artwork: material
  398. entity: media_player.salle_de_bain
  399. group: true
  400. hide_controls: false
  401. hide_volume: false
  402. power_color: true
  403. show_progress: true
  404. toggle_power: toggle
  405. icon: 'mdi:google-home'
  406. max_volume: 100
  407. min_volume: 1
  408. name: Google Home Mini
  409. shortcuts:
  410. buttons:
  411. - data:
  412. entity_id: media_player.salle_de_bain
  413. icon: 'mdi:volume-minus'
  414. id: media_player.volume_down
  415. type: service
  416. - data:
  417. entity_id: media_player.salle_de_bain
  418. icon: 'mdi:volume-plus'
  419. id: media_player.volume_up
  420. type: service
  421. columns: 2
  422. hide_when_off: true
  423. type: 'custom:mini-media-player'
  424. - card:
  425. cards:
  426. - card:
  427. image: /local/img/radio/NRJ_selected.jpg?v=0.103
  428. tap_action:
  429. action: call-service
  430. service: input_select.select_option
  431. service_data:
  432. entity_id: input_select.radio_station_sdb
  433. option: Aucune
  434. type: picture
  435. conditions:
  436. - entity: input_select.radio_station_sdb
  437. state: NRJ
  438. type: conditional
  439. - card:
  440. image: /local/img/radio/NRJ.jpg?v=0.103
  441. tap_action:
  442. action: call-service
  443. service: input_select.select_option
  444. service_data:
  445. entity_id: input_select.radio_station_sdb
  446. option: NRJ
  447. type: picture
  448. conditions:
  449. - entity: input_select.radio_station_sdb
  450. state_not: NRJ
  451. type: conditional
  452. - card:
  453. image: /local/img/radio/Fun_selected.jpg?v=0.103
  454. tap_action:
  455. action: call-service
  456. service: input_select.select_option
  457. service_data:
  458. entity_id: input_select.radio_station_sdb
  459. option: Aucune
  460. type: picture
  461. conditions:
  462. - entity: input_select.radio_station_sdb
  463. state: Fun
  464. type: conditional
  465. - card:
  466. image: /local/img/radio/Fun.jpg?v=0.103
  467. tap_action:
  468. action: call-service
  469. service: input_select.select_option
  470. service_data:
  471. entity_id: input_select.radio_station_sdb
  472. option: Fun
  473. type: picture
  474. conditions:
  475. - entity: input_select.radio_station_sdb
  476. state_not: Fun
  477. type: conditional
  478. - card:
  479. image: /local/img/radio/BFM_selected.jpg?v=0.103
  480. tap_action:
  481. action: call-service
  482. service: input_select.select_option
  483. service_data:
  484. entity_id: input_select.radio_station_sdb
  485. option: Aucune
  486. type: picture
  487. conditions:
  488. - entity: input_select.radio_station_sdb
  489. state: BFM
  490. type: conditional
  491. - card:
  492. image: /local/img/radio/BFM.jpg?v=0.103
  493. tap_action:
  494. action: call-service
  495. service: input_select.select_option
  496. service_data:
  497. entity_id: input_select.radio_station_sdb
  498. option: BFM
  499. type: picture
  500. conditions:
  501. - entity: input_select.radio_station_sdb
  502. state_not: BFM
  503. type: conditional
  504. - card:
  505. image: /local/img/radio/Skyrock_selected.jpg?v=0.103
  506. tap_action:
  507. action: call-service
  508. service: input_select.select_option
  509. service_data:
  510. entity_id: input_select.radio_station_sdb
  511. option: Aucune
  512. type: picture
  513. conditions:
  514. - entity: input_select.radio_station_sdb
  515. state: Skyrock
  516. type: conditional
  517. - card:
  518. image: /local/img/radio/Skyrock.jpg?v=0.103
  519. tap_action:
  520. action: call-service
  521. service: input_select.select_option
  522. service_data:
  523. entity_id: input_select.radio_station_sdb
  524. option: Skyrock
  525. type: picture
  526. conditions:
  527. - entity: input_select.radio_station_sdb
  528. state_not: Skyrock
  529. type: conditional
  530. - card:
  531. image: /local/img/radio/Nostalgie_selected.jpg?v=0.103
  532. tap_action:
  533. action: call-service
  534. service: input_select.select_option
  535. service_data:
  536. entity_id: input_select.radio_station_sdb
  537. option: Aucune
  538. type: picture
  539. conditions:
  540. - entity: input_select.radio_station_sdb
  541. state: Nostalgie
  542. type: conditional
  543. - card:
  544. image: /local/img/radio/Nostalgie.jpg?v=0.103
  545. tap_action:
  546. action: call-service
  547. service: input_select.select_option
  548. service_data:
  549. entity_id: input_select.radio_station_sdb
  550. option: Nostalgie
  551. type: picture
  552. conditions:
  553. - entity: input_select.radio_station_sdb
  554. state_not: Nostalgie
  555. type: conditional
  556. - card:
  557. image: /local/img/radio/Hitsradio_selected.jpg?v=0.103
  558. tap_action:
  559. action: call-service
  560. service: input_select.select_option
  561. service_data:
  562. entity_id: input_select.radio_station_sdb
  563. option: Aucune
  564. type: picture
  565. conditions:
  566. - entity: input_select.radio_station_sdb
  567. state: Hitsradio
  568. type: conditional
  569. - card:
  570. image: /local/img/radio/Hitsradio.jpg?v=0.103
  571. tap_action:
  572. action: call-service
  573. service: input_select.select_option
  574. service_data:
  575. entity_id: input_select.radio_station_sdb
  576. option: Hitsradio
  577. type: picture
  578. conditions:
  579. - entity: input_select.radio_station_sdb
  580. state_not: Hitsradio
  581. type: conditional
  582. type: horizontal-stack
  583. conditions:
  584. - entity: media_player.salle_de_bain
  585. state_not: 'off'
  586. type: conditional
  587. - card:
  588. cards:
  589. - card:
  590. image: /local/img/radio/Scoop_selected.jpg?v=0.103
  591. tap_action:
  592. action: call-service
  593. service: input_select.select_option
  594. service_data:
  595. entity_id: input_select.radio_station_sdb
  596. option: Aucune
  597. type: picture
  598. conditions:
  599. - entity: input_select.radio_station_sdb
  600. state: Scoop
  601. type: conditional
  602. - card:
  603. image: /local/img/radio/Scoop.jpg?v=0.103
  604. tap_action:
  605. action: call-service
  606. service: input_select.select_option
  607. service_data:
  608. entity_id: input_select.radio_station_sdb
  609. option: Scoop
  610. type: picture
  611. conditions:
  612. - entity: input_select.radio_station_sdb
  613. state_not: Scoop
  614. type: conditional
  615. - card:
  616. image: /local/img/radio/FG_selected.jpg?v=0.103
  617. tap_action:
  618. action: call-service
  619. service: input_select.select_option
  620. service_data:
  621. entity_id: input_select.radio_station_sdb
  622. option: Aucune
  623. type: picture
  624. conditions:
  625. - entity: input_select.radio_station_sdb
  626. state: FG
  627. type: conditional
  628. - card:
  629. image: /local/img/radio/FG.jpg?v=0.103
  630. tap_action:
  631. action: call-service
  632. service: input_select.select_option
  633. service_data:
  634. entity_id: input_select.radio_station_sdb
  635. option: FG
  636. type: picture
  637. conditions:
  638. - entity: input_select.radio_station_sdb
  639. state_not: FG
  640. type: conditional
  641. - card:
  642. image: /local/img/radio/FGchic_selected.jpg?v=0.103
  643. tap_action:
  644. action: call-service
  645. service: input_select.select_option
  646. service_data:
  647. entity_id: input_select.radio_station_sdb
  648. option: Aucune
  649. type: picture
  650. conditions:
  651. - entity: input_select.radio_station_sdb
  652. state: FGchic
  653. type: conditional
  654. - card:
  655. image: /local/img/radio/FGchic.jpg?v=0.103
  656. tap_action:
  657. action: call-service
  658. service: input_select.select_option
  659. service_data:
  660. entity_id: input_select.radio_station_sdb
  661. option: FGchic
  662. type: picture
  663. conditions:
  664. - entity: input_select.radio_station_sdb
  665. state_not: FGchic
  666. type: conditional
  667. - card:
  668. image: /local/img/radio/FGdeep_selected.jpg?v=0.103
  669. tap_action:
  670. action: call-service
  671. service: input_select.select_option
  672. service_data:
  673. entity_id: input_select.radio_station_sdb
  674. option: Aucune
  675. type: picture
  676. conditions:
  677. - entity: input_select.radio_station_sdb
  678. state: FGdeep
  679. type: conditional
  680. - card:
  681. image: /local/img/radio/FGdeep.jpg?v=0.103
  682. tap_action:
  683. action: call-service
  684. service: input_select.select_option
  685. service_data:
  686. entity_id: input_select.radio_station_sdb
  687. option: FGdeep
  688. type: picture
  689. conditions:
  690. - entity: input_select.radio_station_sdb
  691. state_not: FGdeep
  692. type: conditional
  693. - card:
  694. image: /local/img/radio/FGunder_selected.jpg?v=0.103
  695. tap_action:
  696. action: call-service
  697. service: input_select.select_option
  698. service_data:
  699. entity_id: input_select.radio_station_sdb
  700. option: Aucune
  701. type: picture
  702. conditions:
  703. - entity: input_select.radio_station_sdb
  704. state: FGunder
  705. type: conditional
  706. - card:
  707. image: /local/img/radio/FGunder.jpg?v=0.103
  708. tap_action:
  709. action: call-service
  710. service: input_select.select_option
  711. service_data:
  712. entity_id: input_select.radio_station_sdb
  713. option: FGunder
  714. type: picture
  715. conditions:
  716. - entity: input_select.radio_station_sdb
  717. state_not: FGunder
  718. type: conditional
  719. - card:
  720. image: /local/img/radio/MTI_selected.jpg?v=0.103
  721. tap_action:
  722. action: call-service
  723. service: input_select.select_option
  724. service_data:
  725. entity_id: input_select.radio_station_sdb
  726. option: Aucune
  727. type: picture
  728. conditions:
  729. - entity: input_select.radio_station_sdb
  730. state: MTI
  731. type: conditional
  732. - card:
  733. image: /local/img/radio/MTI.jpg?v=0.103
  734. tap_action:
  735. action: call-service
  736. service: input_select.select_option
  737. service_data:
  738. entity_id: input_select.radio_station_sdb
  739. option: MTI
  740. type: picture
  741. conditions:
  742. - entity: input_select.radio_station_sdb
  743. state_not: MTI
  744. type: conditional
  745. type: horizontal-stack
  746. conditions:
  747. - entity: media_player.salle_de_bain
  748. state_not: 'off'
  749. type: conditional
  750. - card:
  751. cards:
  752. - card:
  753. image: /local/img/radio/Virgin_selected.jpg?v=0.103
  754. tap_action:
  755. action: call-service
  756. service: input_select.select_option
  757. service_data:
  758. entity_id: input_select.radio_station_sdb
  759. option: Aucune
  760. type: picture
  761. conditions:
  762. - entity: input_select.radio_station_sdb
  763. state: Virgin
  764. type: conditional
  765. - card:
  766. image: /local/img/radio/Virgin.jpg?v=0.103
  767. tap_action:
  768. action: call-service
  769. service: input_select.select_option
  770. service_data:
  771. entity_id: input_select.radio_station_sdb
  772. option: Virgin
  773. type: picture
  774. conditions:
  775. - entity: input_select.radio_station_sdb
  776. state_not: Virgin
  777. type: conditional
  778. type: horizontal-stack
  779. conditions:
  780. - entity: media_player.salle_de_bain
  781. state_not: 'off'
  782. type: conditional
  783. - type: entities
  784. entities:
  785. - artwork: material
  786. entity: media_player.enceinte_mi_salle_de_bain
  787. group: true
  788. hide_controls: false
  789. hide_volume: false
  790. power_color: true
  791. show_progress: true
  792. toggle_power: toggle
  793. icon: 'mdi:speaker'
  794. max_volume: 100
  795. min_volume: 1
  796. name: Xiaomi Speaker Network
  797. shortcuts:
  798. buttons:
  799. - data:
  800. entity_id: media_player.enceinte_mi_salle_de_bain
  801. icon: 'mdi:volume-minus'
  802. id: media_player.volume_down
  803. type: service
  804. - data:
  805. entity_id: media_player.enceinte_mi_salle_de_bain
  806. icon: 'mdi:volume-plus'
  807. id: media_player.volume_up
  808. type: service
  809. columns: 2
  810. hide_when_off: true
  811. type: 'custom:mini-media-player'
  812. - card:
  813. cards:
  814. - card:
  815. image: /local/img/radio/NRJ_selected.jpg?v=0.103
  816. tap_action:
  817. action: call-service
  818. service: input_select.select_option
  819. service_data:
  820. entity_id: input_select.radio_xiaomi_speaker_network
  821. option: Aucune
  822. type: picture
  823. conditions:
  824. - entity: input_select.radio_xiaomi_speaker_network
  825. state: NRJ
  826. type: conditional
  827. - card:
  828. image: /local/img/radio/NRJ.jpg?v=0.103
  829. tap_action:
  830. action: call-service
  831. service: input_select.select_option
  832. service_data:
  833. entity_id: input_select.radio_xiaomi_speaker_network
  834. option: NRJ
  835. type: picture
  836. conditions:
  837. - entity: input_select.radio_xiaomi_speaker_network
  838. state_not: NRJ
  839. type: conditional
  840. - card:
  841. image: /local/img/radio/Fun_selected.jpg?v=0.103
  842. tap_action:
  843. action: call-service
  844. service: input_select.select_option
  845. service_data:
  846. entity_id: input_select.radio_xiaomi_speaker_network
  847. option: Aucune
  848. type: picture
  849. conditions:
  850. - entity: input_select.radio_xiaomi_speaker_network
  851. state: Fun
  852. type: conditional
  853. - card:
  854. image: /local/img/radio/Fun.jpg?v=0.103
  855. tap_action:
  856. action: call-service
  857. service: input_select.select_option
  858. service_data:
  859. entity_id: input_select.radio_xiaomi_speaker_network
  860. option: Fun
  861. type: picture
  862. conditions:
  863. - entity: input_select.radio_xiaomi_speaker_network
  864. state_not: Fun
  865. type: conditional
  866. - card:
  867. image: /local/img/radio/BFM_selected.jpg?v=0.103
  868. tap_action:
  869. action: call-service
  870. service: input_select.select_option
  871. service_data:
  872. entity_id: input_select.radio_xiaomi_speaker_network
  873. option: Aucune
  874. type: picture
  875. conditions:
  876. - entity: input_select.radio_xiaomi_speaker_network
  877. state: BFM
  878. type: conditional
  879. - card:
  880. image: /local/img/radio/BFM.jpg?v=0.103
  881. tap_action:
  882. action: call-service
  883. service: input_select.select_option
  884. service_data:
  885. entity_id: input_select.radio_xiaomi_speaker_network
  886. option: BFM
  887. type: picture
  888. conditions:
  889. - entity: input_select.radio_xiaomi_speaker_network
  890. state_not: BFM
  891. type: conditional
  892. - card:
  893. image: /local/img/radio/Skyrock_selected.jpg?v=0.103
  894. tap_action:
  895. action: call-service
  896. service: input_select.select_option
  897. service_data:
  898. entity_id: input_select.radio_xiaomi_speaker_network
  899. option: Aucune
  900. type: picture
  901. conditions:
  902. - entity: input_select.radio_xiaomi_speaker_network
  903. state: Skyrock
  904. type: conditional
  905. - card:
  906. image: /local/img/radio/Skyrock.jpg?v=0.103
  907. tap_action:
  908. action: call-service
  909. service: input_select.select_option
  910. service_data:
  911. entity_id: input_select.radio_xiaomi_speaker_network
  912. option: Skyrock
  913. type: picture
  914. conditions:
  915. - entity: input_select.radio_xiaomi_speaker_network
  916. state_not: Skyrock
  917. type: conditional
  918. - card:
  919. image: /local/img/radio/Nostalgie_selected.jpg?v=0.103
  920. tap_action:
  921. action: call-service
  922. service: input_select.select_option
  923. service_data:
  924. entity_id: input_select.radio_xiaomi_speaker_network
  925. option: Aucune
  926. type: picture
  927. conditions:
  928. - entity: input_select.radio_xiaomi_speaker_network
  929. state: Nostalgie
  930. type: conditional
  931. - card:
  932. image: /local/img/radio/Nostalgie.jpg?v=0.103
  933. tap_action:
  934. action: call-service
  935. service: input_select.select_option
  936. service_data:
  937. entity_id: input_select.radio_xiaomi_speaker_network
  938. option: Nostalgie
  939. type: picture
  940. conditions:
  941. - entity: input_select.radio_xiaomi_speaker_network
  942. state_not: Nostalgie
  943. type: conditional
  944. - card:
  945. image: /local/img/radio/Hitsradio_selected.jpg?v=0.103
  946. tap_action:
  947. action: call-service
  948. service: input_select.select_option
  949. service_data:
  950. entity_id: input_select.radio_xiaomi_speaker_network
  951. option: Aucune
  952. type: picture
  953. conditions:
  954. - entity: input_select.radio_xiaomi_speaker_network
  955. state: Hitsradio
  956. type: conditional
  957. - card:
  958. image: /local/img/radio/Hitsradio.jpg?v=0.103
  959. tap_action:
  960. action: call-service
  961. service: input_select.select_option
  962. service_data:
  963. entity_id: input_select.radio_xiaomi_speaker_network
  964. option: Hitsradio
  965. type: picture
  966. conditions:
  967. - entity: input_select.radio_xiaomi_speaker_network
  968. state_not: Hitsradio
  969. type: conditional
  970. type: horizontal-stack
  971. conditions:
  972. - entity: media_player.enceinte_mi_salle_de_bain
  973. state_not: 'off'
  974. type: conditional
  975. - card:
  976. cards:
  977. - card:
  978. image: /local/img/radio/Scoop_selected.jpg?v=0.103
  979. tap_action:
  980. action: call-service
  981. service: input_select.select_option
  982. service_data:
  983. entity_id: input_select.radio_xiaomi_speaker_network
  984. option: Aucune
  985. type: picture
  986. conditions:
  987. - entity: input_select.radio_xiaomi_speaker_network
  988. state: Scoop
  989. type: conditional
  990. - card:
  991. image: /local/img/radio/Scoop.jpg?v=0.103
  992. tap_action:
  993. action: call-service
  994. service: input_select.select_option
  995. service_data:
  996. entity_id: input_select.radio_xiaomi_speaker_network
  997. option: Scoop
  998. type: picture
  999. conditions:
  1000. - entity: input_select.radio_xiaomi_speaker_network
  1001. state_not: Scoop
  1002. type: conditional
  1003. - card:
  1004. image: /local/img/radio/FG_selected.jpg?v=0.103
  1005. tap_action:
  1006. action: call-service
  1007. service: input_select.select_option
  1008. service_data:
  1009. entity_id: input_select.radio_xiaomi_speaker_network
  1010. option: Aucune
  1011. type: picture
  1012. conditions:
  1013. - entity: input_select.radio_xiaomi_speaker_network
  1014. state: FG
  1015. type: conditional
  1016. - card:
  1017. image: /local/img/radio/FG.jpg?v=0.103
  1018. tap_action:
  1019. action: call-service
  1020. service: input_select.select_option
  1021. service_data:
  1022. entity_id: input_select.radio_xiaomi_speaker_network
  1023. option: FG
  1024. type: picture
  1025. conditions:
  1026. - entity: input_select.radio_xiaomi_speaker_network
  1027. state_not: FG
  1028. type: conditional
  1029. - card:
  1030. image: /local/img/radio/FGchic_selected.jpg?v=0.103
  1031. tap_action:
  1032. action: call-service
  1033. service: input_select.select_option
  1034. service_data:
  1035. entity_id: input_select.radio_xiaomi_speaker_network
  1036. option: Aucune
  1037. type: picture
  1038. conditions:
  1039. - entity: input_select.radio_xiaomi_speaker_network
  1040. state: FGchic
  1041. type: conditional
  1042. - card:
  1043. image: /local/img/radio/FGchic.jpg?v=0.103
  1044. tap_action:
  1045. action: call-service
  1046. service: input_select.select_option
  1047. service_data:
  1048. entity_id: input_select.radio_xiaomi_speaker_network
  1049. option: FGchic
  1050. type: picture
  1051. conditions:
  1052. - entity: input_select.radio_xiaomi_speaker_network
  1053. state_not: FGchic
  1054. type: conditional
  1055. - card:
  1056. image: /local/img/radio/FGdeep_selected.jpg?v=0.103
  1057. tap_action:
  1058. action: call-service
  1059. service: input_select.select_option
  1060. service_data:
  1061. entity_id: input_select.radio_xiaomi_speaker_network
  1062. option: Aucune
  1063. type: picture
  1064. conditions:
  1065. - entity: input_select.radio_xiaomi_speaker_network
  1066. state: FGdeep
  1067. type: conditional
  1068. - card:
  1069. image: /local/img/radio/FGdeep.jpg?v=0.103
  1070. tap_action:
  1071. action: call-service
  1072. service: input_select.select_option
  1073. service_data:
  1074. entity_id: input_select.radio_xiaomi_speaker_network
  1075. option: FGdeep
  1076. type: picture
  1077. conditions:
  1078. - entity: input_select.radio_xiaomi_speaker_network
  1079. state_not: FGdeep
  1080. type: conditional
  1081. - card:
  1082. image: /local/img/radio/FGunder_selected.jpg?v=0.103
  1083. tap_action:
  1084. action: call-service
  1085. service: input_select.select_option
  1086. service_data:
  1087. entity_id: input_select.radio_xiaomi_speaker_network
  1088. option: Aucune
  1089. type: picture
  1090. conditions:
  1091. - entity: input_select.radio_xiaomi_speaker_network
  1092. state: FGunder
  1093. type: conditional
  1094. - card:
  1095. image: /local/img/radio/FGunder.jpg?v=0.103
  1096. tap_action:
  1097. action: call-service
  1098. service: input_select.select_option
  1099. service_data:
  1100. entity_id: input_select.radio_xiaomi_speaker_network
  1101. option: FGunder
  1102. type: picture
  1103. conditions:
  1104. - entity: input_select.radio_xiaomi_speaker_network
  1105. state_not: FGunder
  1106. type: conditional
  1107. - card:
  1108. image: /local/img/radio/MTI_selected.jpg?v=0.103
  1109. tap_action:
  1110. action: call-service
  1111. service: input_select.select_option
  1112. service_data:
  1113. entity_id: input_select.radio_xiaomi_speaker_network
  1114. option: Aucune
  1115. type: picture
  1116. conditions:
  1117. - entity: input_select.radio_xiaomi_speaker_network
  1118. state: MTI
  1119. type: conditional
  1120. - card:
  1121. image: /local/img/radio/MTI.jpg?v=0.103
  1122. tap_action:
  1123. action: call-service
  1124. service: input_select.select_option
  1125. service_data:
  1126. entity_id: input_select.radio_xiaomi_speaker_network
  1127. option: MTI
  1128. type: picture
  1129. conditions:
  1130. - entity: input_select.radio_xiaomi_speaker_network
  1131. state_not: MTI
  1132. type: conditional
  1133. type: horizontal-stack
  1134. conditions:
  1135. - entity: media_player.enceinte_mi_salle_de_bain
  1136. state_not: 'off'
  1137. type: conditional
  1138. - card:
  1139. cards:
  1140. - card:
  1141. image: /local/img/radio/Virgin_selected.jpg?v=0.103
  1142. tap_action:
  1143. action: call-service
  1144. service: input_select.select_option
  1145. service_data:
  1146. entity_id: input_select.radio_xiaomi_speaker_network
  1147. option: Aucune
  1148. type: picture
  1149. conditions:
  1150. - entity: input_select.radio_xiaomi_speaker_network
  1151. state: Virgin
  1152. type: conditional
  1153. - card:
  1154. image: /local/img/radio/Virgin.jpg?v=0.103
  1155. tap_action:
  1156. action: call-service
  1157. service: input_select.select_option
  1158. service_data:
  1159. entity_id: input_select.radio_xiaomi_speaker_network
  1160. option: Virgin
  1161. type: picture
  1162. conditions:
  1163. - entity: input_select.radio_xiaomi_speaker_network
  1164. state_not: Virgin
  1165. type: conditional
  1166. type: horizontal-stack
  1167. conditions:
  1168. - entity: media_player.enceinte_mi_salle_de_bain
  1169. state_not: 'off'
  1170. type: conditional
  1171. type: 'custom:vertical-stack-in-card'
  1172.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement