Add gas prices to mobile dashboard, close #3
This commit is contained in:
@ -654,6 +654,29 @@ views:
|
|||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
background-color: var(--card-background-color) !important;
|
background-color: var(--card-background-color) !important;
|
||||||
}
|
}
|
||||||
|
- type: heading
|
||||||
|
heading: Outside Info
|
||||||
|
heading_style: title
|
||||||
|
icon: mdi:chart-areaspline
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: name
|
||||||
|
name: Gas Prices
|
||||||
|
icon: mdi:gas-station
|
||||||
|
columns: 2
|
||||||
|
card_layout: large
|
||||||
|
tap_action:
|
||||||
|
action: navigate
|
||||||
|
navigation_path: '#gas-prices'
|
||||||
|
button_action:
|
||||||
|
tap_action:
|
||||||
|
action: navigate
|
||||||
|
navigation_path: '#gas-prices'
|
||||||
|
styles: |-
|
||||||
|
.bubble-button-background {
|
||||||
|
opacity: 1 !important;
|
||||||
|
background-color: var(--card-background-color) !important;
|
||||||
|
}
|
||||||
- type: grid
|
- type: grid
|
||||||
cards:
|
cards:
|
||||||
- type: heading
|
- type: heading
|
||||||
@ -3781,6 +3804,46 @@ views:
|
|||||||
action: none
|
action: none
|
||||||
multiline_secondary: true
|
multiline_secondary: true
|
||||||
fill_container: false
|
fill_container: false
|
||||||
|
- type: vertical-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: pop-up
|
||||||
|
hash: '#gas-prices'
|
||||||
|
button_type: name
|
||||||
|
name: Gas Prices
|
||||||
|
icon: mdi:gas-station
|
||||||
|
- type: entities
|
||||||
|
entities:
|
||||||
|
- entity: sensor.local_minimum_gas_price
|
||||||
|
name: Minimum
|
||||||
|
- entity: sensor.local_average_gas_price
|
||||||
|
name: Average
|
||||||
|
- entity: sensor.local_maximum_gas_price
|
||||||
|
name: Maximum
|
||||||
|
- type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
filter:
|
||||||
|
include: []
|
||||||
|
exclude: []
|
||||||
|
entities:
|
||||||
|
- entity: sensor.south_side_shell
|
||||||
|
- entity: sensor.circle_k
|
||||||
|
- entity: sensor.kroger
|
||||||
|
- entity: sensor.kecks
|
||||||
|
- entity: sensor.the_barn
|
||||||
|
- entity: sensor.the_big_fish
|
||||||
|
- entity: sensor.marathon_cleveland_avenue
|
||||||
|
- entity: sensor.speedway
|
||||||
|
- entity: sensor.meijer
|
||||||
|
- entity: sensor.east_side_shell
|
||||||
|
- entity: sensor.shell_ottawa_avenue
|
||||||
|
- entity: sensor.ridis
|
||||||
|
sort:
|
||||||
|
method: state
|
||||||
|
numeric: true
|
||||||
|
reverse: false
|
||||||
|
ignore_case: false
|
||||||
visible:
|
visible:
|
||||||
- user: c3909d27048140729f002aaef0391775
|
- user: c3909d27048140729f002aaef0391775
|
||||||
- user: f387a983651a4321a7411ff8cf36f949
|
- user: f387a983651a4321a7411ff8cf36f949
|
||||||
|
Reference in New Issue
Block a user