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

type

(string)(Required)sensor

entity

(string)(Required)Entity id of sensor domain

icon

(string)(Optional)The card icon

name

(string)(Optional)The card name

graph

(string)(Optional)Type of graph none or line

unit

(string)(Optional)The unit of measurement

height

(integer)(Optional)Height of the graph

Default value: 100

line_width

(integer)(Optional)Width of the line stroke

Default value: 5

line_color

(string)(Optional)Color of the line stroke

accuracy

(integer)(Optional)Amount of data points on the graph

Default value: 10

hours_to_show

(integer)(Optional)Hours to show in graph

Default value: 24

Example

- type: sensor
  entity: sensor.illumination
  name: Illumination
  height: 75
  line_color: "#3498db"