Guest User

picture card yaml file for F150 Lightning status custom picture card

a guest
Dec 23rd, 2023
517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.47 KB | None | 0 0
  1. title: Adira Tal - Ford F150 Lightning
  2. type: picture-elements
  3. image: /local/F150Lightningoverhead.jpg
  4. elements:
  5. - type: state-icon
  6. icon: mdi:update
  7. entity: sensor.fordpass_lastrefresh
  8. tap_action: none
  9. action: none
  10. double_tap_action: none
  11. hold_action:
  12. action: call-service
  13. service: script.refresh_ford
  14. style:
  15. top: 6.5%
  16. left: 07%
  17. color: '#039be5'
  18. - type: state-label
  19. entity: sensor.fordpass_lastrefresh
  20. tap_action: none
  21. double_tap_action: none
  22. hold_action:
  23. action: call-service
  24. service: script.refresh_ford
  25. style:
  26. top: 96%
  27. left: 53%
  28. font-size: 100%
  29. font-weight: normal
  30. color: rgb(0,0,0)
  31. prefix: 'Status Last updated: '
  32. - type: state-label
  33. entity: device_tracker.fordpass_tracker
  34. tap_action: none
  35. double_tap_action: none
  36. hold_action: none
  37. style:
  38. top: 7%
  39. left: 92%
  40. font-size: 100%
  41. font-weight: normal
  42. color: black
  43. - type: conditional
  44. conditions:
  45. - entity: sensor.ford_charge_station_power_flow
  46. state: IN_PROGRESS
  47. elements:
  48. - type: state-label
  49. entity: sensor.ford_charging_power_template
  50. tap_action: none
  51. double_tap_action: none
  52. hold_action: none
  53. prefix: 'Charging at '
  54. style:
  55. top: 7%
  56. left: 33%
  57. font-size: 100%
  58. font-weight: Bold
  59. color: green
  60. - type: conditional
  61. conditions:
  62. - entity: sensor.ford_charge_station_power_flow
  63. state: IN_PROGRESS
  64. elements:
  65. - type: icon
  66. icon: mdi:battery-charging
  67. style:
  68. top: 6.5%
  69. left: 52%
  70. color: green
  71. - type: conditional
  72. conditions:
  73. - entity: sensor.ford_charge_station_power_flow
  74. state: DISCHARGING
  75. elements:
  76. - type: state-label
  77. entity: sensor.f150_feed_in_power
  78. tap_action: none
  79. double_tap_action: none
  80. hold_action: none
  81. prefix: 'Powering Home at '
  82. style:
  83. top: 7%
  84. left: 30%
  85. font-size: 100%
  86. font-weight: Bold
  87. color: green
  88. - type: conditional
  89. conditions:
  90. - entity: sensor.ford_charge_station_power_flow
  91. state: DISCHARGING
  92. elements:
  93. - type: icon
  94. icon: mdi:home-import-outline
  95. style:
  96. top: 6.5%
  97. left: 52%
  98. color: green
  99. - type: conditional
  100. conditions:
  101. - entity: sensor.ford_charge_station_power_flow
  102. state: STOPPED
  103. elements:
  104. - type: custom:text-action-element
  105. text: Charging Stopped!
  106. style:
  107. top: 7%
  108. left: 33%
  109. font-size: 100%
  110. font-weight: Bold
  111. color: Red
  112. - type: conditional
  113. conditions:
  114. - entity: sensor.ford_charge_station_power_flow
  115. state: STOPPED
  116. elements:
  117. - type: icon
  118. icon: mdi:alert-octagon
  119. tap_action: none
  120. double_tap_action: none
  121. hold_action: none
  122. style:
  123. top: 6.8%
  124. left: 49%
  125. color: RED
  126. - type: conditional
  127. conditions:
  128. - entity: sensor.ford_charge_station_power_flow
  129. state: COMPLETED
  130. elements:
  131. - type: custom:text-action-element
  132. text: Charging Completed!
  133. style:
  134. top: 7%
  135. left: 30%
  136. font-size: 100%
  137. font-weight: Bold
  138. color: Green
  139. - type: conditional
  140. conditions:
  141. - entity: sensor.ford_charge_station_power_flow
  142. state: COMPLETED
  143. elements:
  144. - type: icon
  145. icon: mdi:battery-charging-100
  146. tap_action: none
  147. double_tap_action: none
  148. hold_action: none
  149. style:
  150. top: 6.5%
  151. left: 49%
  152. color: green
  153. - type: conditional
  154. conditions:
  155. - entity: sensor.fordpass_firmwareupginprogress
  156. state: true
  157. elements:
  158. - type: icon
  159. icon: mdi:car-connected
  160. tap_action: none
  161. double_tap_action: none
  162. hold_action: none
  163. style:
  164. top: 6.5%
  165. left: 83%
  166. color: green
  167. - type: conditional
  168. conditions:
  169. - entity: sensor.fordpass_firmwareupginprogress
  170. state_not: true
  171. elements:
  172. - type: icon
  173. icon: mdi:car-connected
  174. tap_action: none
  175. double_tap_action: none
  176. hold_action: none
  177. style:
  178. top: 6.5%
  179. left: 83%
  180. color: light grey
  181. - type: conditional
  182. conditions:
  183. - entity: sensor.fordpass_alarm
  184. state: ARMED
  185. elements:
  186. - type: icon
  187. icon: mdi:shield-car
  188. tap_action: none
  189. double_tap_action: none
  190. hold_action: none
  191. style:
  192. top: 7%
  193. left: 77%
  194. color: red
  195. - type: conditional
  196. conditions:
  197. - entity: sensor.fordpass_alarm
  198. state_not: ARMED
  199. elements:
  200. - type: icon
  201. icon: mdi:shield-alert-outline
  202. tap_action: none
  203. double_tap_action: none
  204. hold_action: none
  205. style:
  206. top: 7%
  207. left: 77%
  208. color: black
  209. - type: conditional
  210. conditions:
  211. - entity: lock.fordpass_doorlock
  212. state: locked
  213. elements:
  214. - type: icon
  215. icon: mdi:lock
  216. tap_action: none
  217. double_tap_action: none
  218. hold_action:
  219. action: call-service
  220. service: script.unlock_f150_lightning
  221. style:
  222. top: 7%
  223. left: 70.5%
  224. color: black
  225. - type: conditional
  226. conditions:
  227. - entity: lock.fordpass_doorlock
  228. state_not: locked
  229. elements:
  230. - type: icon
  231. icon: mdi:lock-open-variant
  232. tap_action: none
  233. double_tap_action: none
  234. hold_action:
  235. action: call-service
  236. service: script.lock_f150_lightning
  237. style:
  238. top: 7%
  239. left: 70.5%
  240. color: '#039be5'
  241. - type: conditional
  242. conditions:
  243. - entity: status.fordpass_deepsleepinprogress
  244. state: ACTIVE
  245. elements:
  246. - type: icon
  247. icon: hass:power-sleep
  248. tap_action: none
  249. double_tap_action: none
  250. hold_action: none
  251. style:
  252. top: 7%
  253. left: 64%
  254. color: black
  255. - type: conditional
  256. conditions:
  257. - entity: sensor.fordpass_deepsleepinprogress
  258. state: DISABLED
  259. elements:
  260. - type: icon
  261. icon: hass:power-plug
  262. tap_action: none
  263. double_tap_action: none
  264. hold_action: none
  265. style:
  266. top: 7%
  267. left: 64%
  268. color: '#039be5'
  269. - type: conditional
  270. conditions:
  271. - entity: sensor.fordpass_remotestartstatus
  272. state: Inactive
  273. elements:
  274. - type: icon
  275. icon: hass:power
  276. tap_action: none
  277. double_tap_action: none
  278. hold_action:
  279. action: call-service
  280. service: script.remote_start_f150
  281. style:
  282. top: 7%
  283. left: 58%
  284. color: black
  285. - type: conditional
  286. conditions:
  287. - entity: sensor.fordpass_remotestartstatus
  288. state: Active
  289. elements:
  290. - type: icon
  291. icon: hass:power
  292. tap_action: none
  293. double_tap_action: none
  294. hold_action:
  295. action: call-service
  296. service: script.remote_start_f150
  297. style:
  298. top: 7%
  299. left: 58%
  300. color: green
  301. - type: conditional
  302. conditions:
  303. - entity: sensor.ford_left_front_tyre_template
  304. condition: numeric_state
  305. below: 38
  306. elements:
  307. - type: icon
  308. icon: mdi:car-tire-alert
  309. tap_action: none
  310. double_tap_action: none
  311. hold_action: none
  312. style:
  313. top: 6.9%
  314. left: 51.5%
  315. color: red
  316. - type: conditional
  317. conditions:
  318. - entity: sensor.ford_right_front_tyre_template
  319. condition: numeric_state
  320. below: 38
  321. elements:
  322. - type: icon
  323. icon: mdi:car-tire-alert
  324. tap_action: none
  325. double_tap_action: none
  326. hold_action: none
  327. style:
  328. top: 6.9%
  329. left: 51.5%
  330. color: red
  331. - type: conditional
  332. conditions:
  333. - entity: sensor.ford_left_rear_tyre_template
  334. condition: numeric_state
  335. below: 38
  336. elements:
  337. - type: icon
  338. icon: mdi:car-tire-alert
  339. tap_action: none
  340. double_tap_action: none
  341. hold_action: none
  342. style:
  343. top: 6.9%
  344. left: 51.5%
  345. color: red
  346. - type: conditional
  347. conditions:
  348. - entity: sensor.ford_right_rear_tyre_template
  349. condition: numeric_state
  350. below: 38
  351. elements:
  352. - type: icon
  353. icon: mdi:car-tire-alert
  354. tap_action: none
  355. double_tap_action: none
  356. hold_action: none
  357. style:
  358. top: 6.9%
  359. left: 51.5%
  360. color: red
  361. - type: state-label
  362. entity: sensor.fordpass_doorstatus
  363. attribute: REAR_LEFT
  364. tap_action: none
  365. double_tap_action: none
  366. hold_action: none
  367. style:
  368. top: 21%
  369. left: 40%
  370. color: black
  371. - type: state-label
  372. entity: sensor.fordpass_doorstatus
  373. attribute: DRIVER
  374. tap_action: none
  375. double_tap_action: none
  376. hold_action: none
  377. style:
  378. top: 21%
  379. left: 55%
  380. color: black
  381. - type: state-label
  382. entity: sensor.fordpass_doorstatus
  383. attribute: REAR_RIGHT
  384. tap_action: none
  385. double_tap_action: none
  386. hold_action: none
  387. style:
  388. top: 52%
  389. left: 40%
  390. color: black
  391. - type: state-label
  392. entity: sensor.fordpass_doorstatus
  393. attribute: PASSENGER
  394. tap_action: none
  395. double_tap_action: none
  396. hold_action: none
  397. style:
  398. top: 52%
  399. left: 55%
  400. color: black
  401. - type: state-label
  402. entity: sensor.fordpass_doorstatus
  403. attribute: HOOD
  404. tap_action: none
  405. double_tap_action: none
  406. hold_action: none
  407. style:
  408. top: 36%
  409. left: 77%
  410. color: white
  411. - type: state-label
  412. entity: sensor.fordpass_doorstatus
  413. attribute: TAILGATE
  414. tap_action: none
  415. double_tap_action: none
  416. hold_action: none
  417. style:
  418. top: 36%
  419. left: 30%
  420. color: white
  421. - type: conditional
  422. conditions:
  423. - entity: sensor.fordpass_elvehcharging
  424. attribute: Plug Status
  425. state: CONNECTED
  426. - entity: sensor.fordpass_elvehcharging
  427. attribute: Charge Type
  428. state_not: AC_BASIC
  429. elements:
  430. - type: icon
  431. icon: mdi:ev-plug-type1
  432. tap_action: none
  433. double_tap_action: none
  434. hold_action: none
  435. style:
  436. top: 21%
  437. left: 67%
  438. color: green
  439. - type: conditional
  440. conditions:
  441. - entity: sensor.fordpass_elvehcharging
  442. attribute: Plug Status
  443. state_not: CONNECTED
  444. elements:
  445. - type: icon
  446. icon: mdi:ev-plug-type1
  447. tap_action: none
  448. double_tap_action: none
  449. hold_action: none
  450. style:
  451. top: 21%
  452. left: 67%
  453. color: red
  454. - type: state-label
  455. entity: sensor.fordpass_outsidetemp
  456. prefix: 'Outside Temperature: '
  457. tap_action: none
  458. double_tap_action: none
  459. hold_action: none
  460. style:
  461. top: 13%
  462. left: 50%
  463. font-size: 100%
  464. font-weight: normal
  465. color: rgb(0,0,0)
  466. - type: conditional
  467. conditions:
  468. - entity: sensor.fordpass_outsidetemp
  469. condition: numeric_state
  470. below: 10
  471. elements:
  472. - type: icon
  473. icon: mdi:thermometer
  474. tap_action: none
  475. double_tap_action: none
  476. hold_action: none
  477. style:
  478. top: 13%
  479. left: 25%
  480. font-size: 100%
  481. font-weight: normal
  482. color: blue
  483. - type: conditional
  484. conditions:
  485. - entity: sensor.fordpass_outsidetemp
  486. condition: numeric_state
  487. above: 10
  488. below: 25
  489. elements:
  490. - type: icon
  491. icon: mdi:thermometer
  492. tap_action: none
  493. double_tap_action: none
  494. hold_action: none
  495. style:
  496. top: 13%
  497. left: 25%
  498. font-size: 100%
  499. font-weight: normal
  500. color: green
  501. - type: conditional
  502. conditions:
  503. - entity: sensor.fordpass_outsidetemp
  504. condition: numeric_state
  505. above: 25
  506. elements:
  507. - type: icon
  508. icon: mdi:thermometer
  509. tap_action: none
  510. double_tap_action: none
  511. hold_action: none
  512. style:
  513. top: 13%
  514. left: 25%
  515. font-size: 100%
  516. font-weight: normal
  517. color: red
  518. - type: custom:bar-card
  519. entity: sensor.fordpass_elvehcharging
  520. attribute: State of Charge
  521. severity:
  522. - color: Red
  523. from: 0
  524. to: 10
  525. - color: Orange
  526. from: 11
  527. to: 20
  528. - color: Green
  529. from: 21
  530. to: 100
  531. entity_row: true
  532. positions:
  533. icon: 'off'
  534. name: 'off'
  535. indicator: 'off'
  536. animation:
  537. state: 'on'
  538. speed: 5
  539. width: 270px
  540. tap_action: none
  541. hold_action: none
  542. double_tap_action: none
  543. stack: vertical
  544. style:
  545. top: 65%
  546. left: 53%
  547. font-size: 100%
  548. font-weight: Bold
  549. color: rgb(0,0,0)
  550. - type: conditional
  551. conditions:
  552. - entity: sensor.ford_charge_station_power_flow
  553. state: IN_PROGRESS
  554. - entity: device_tracker.fordpass_tracker
  555. state: home
  556. elements:
  557. - type: icon
  558. icon: mdi:home-lightning-bolt-outline
  559. tap_action: none
  560. double_tap_action: none
  561. hold_action: none
  562. style:
  563. top: 65%
  564. left: 55%
  565. color: black
  566. - type: conditional
  567. conditions:
  568. - entity: sensor.ford_charge_station_power_flow
  569. state: IN_PROGRESS
  570. - entity: device_tracker.fordpass_tracker
  571. state_not: home
  572. elements:
  573. - type: icon
  574. icon: mdi:ev-station
  575. tap_action: none
  576. double_tap_action: none
  577. hold_action: none
  578. style:
  579. top: 65%
  580. left: 55%
  581. color: black
  582. - type: state-label
  583. entity: sensor.fordpass_elveh
  584. attribute: null
  585. style:
  586. top: 74%
  587. left: 53%
  588. font-size: 100%
  589. font-weight: normal
  590. color: rgb(0,0,0)
  591. prefix: 'Estimated range: '
  592.  
Advertisement
Add Comment
Please, Sign In to add comment