Sensor Card


The Sensor card gives you a quick overview of your sensors state with an optional graph to visualize change over time.

Screenshot of the sensor card Screenshot of the sensor card.

Configuration Variables

typestringRequired
sensor
entitystringRequired

Entity id of sensor domain

iconstring(Optional)

The card icon

namestring(Optional)

The card name

graphstring(Optional)

Type of graph none or line

unitstring(Optional)

The unit of measurement

detailinteger(Optional, default: 1)

Detail of the graph 1 or 2, 1 equals one point/hour, 2 equals six points/hour

hours_to_showinteger(Optional, default: 24)

Hours to show in graph

themestring(Optional)

Set to any theme within themes.yaml

Example

type: sensor
entity: sensor.illumination
name: Illumination