It is!
Oh.
I thought I tried and it didnāt work and as far as I can see it is not in the docs so I assumed it hadnāt been added to the card.
I must have configured it wronglyā¦ Iāll try again.
Thanks!
EDIT: I canāt get this to work. I am pretty sure I have the syntax correct as I use it a lot on button-card
What am I missing?
- type: custom:mini-graph-card
icon: mdi:white-balance-sunny
name: BRIGHTNESS
entities:
- entity: sensor.brightness
decimals: 0
points_per_hour: 2
indicator: off
align_icon: left
align_header: left
align_state: left
font_size: 70
more_info: false
animate: true
hour24: true
tap_action:
action: fire-dom-event
browser_mod:
command: popup
title: Brightness Sensor Values
card:
type: entities
entities:
- sensor.elevation
- entity: sensor.openweathermap_cloud_coverage
name: OpenWeatherMap Cloud Coverage
- sensor.period_of_day
color_thresholds:
- value: 0
color: black
- value: 5
color: grey
- value: 10
color: yellow
show:
fill: true
extrema: false
labels: hover
graph: bar
icon_adaptive_color: true
Thanks.
Iām trying to create a card with a tertiary y axis: (y_axis: tertiary) does not seem to work. I have a Philips Hue outdoor motion sensor which detects Motion, Temperature and Light. I want all them in there but I canāt get the motion sensor with teh agregate max to work. each should have their own y axis. How can I do this.
graph|690x429
type: 'custom:mini-graph-card'
hour24: true
name: 'Temperatuur, Beweging & Licht'
entities:
- entity: sensor.sensor_tuinhuisje_temperature
name: Temperatuur
- entity: sensor.sensor_tuinhuisje_light_level
name: Licht
y_axis: secondary
- entity: binary_sensor.sensor_tuinhuisje_motion
name: Beweging
color: red
points_per_hour: 8
aggregate_func: max
update_interval: 5
line_width: 2
smoothing: false
state_map:
- value: 'off'
label: Geen
- value: 'on'
label: Gedetecteert
From the Github page:
This issue has been resolved in version 0.11.0-dev.4
Well, that would explain it.
Thanks and sorryā¦
Youāre very welcome.
You could install the dev version or just wait a bit. If it is dev-4, it shouldnāt take too long to get to the stable version.
Good day, i ha a question:
i copy the code in my card but see the error becouse?
Can you share this background image.
Link to image did not work for me.
Background image can be set by card-mod:
Probably the person above is talking about a background for a view.
Is this working fine for all? Tried to install via HACS and manually, but both ways end in an error.
EDIT: Figured this out already, n00b problem
Is it possible to add two sensor value in single mini-graph-card?
Like SS below.
yes. See this example from my config:
type: 'custom:mini-graph-card'
entities:
- entity: sensor.energy_daily
show_graph: true
show_state: true
color: red
- entity: sensor.energy_hourly
color: var(--accent-color)
show_state: true
hours_to_show: 24
group_by: hour
show:
graph: line
hour24: true
decimals: 2
lower_bound: 0
You need to use entities list and the property show_state set to true in both entities
Good graphic is possbile to have the code please?thanks
A littlebit off-topic but how did you get that font?
Simply add the following link as a resource.
resources:
- url: https://fonts.googleapis.com/css?family=Raleway
type: stylesheet
I really love this, my only question can I only show the value for today so starts at 00:00 instead of specifying the hours to show?
You cannot. Use apexcharts-card for this.