Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

type sensor can't add icon? #759

Answered by sbrandsborg
boyphongsakorn asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Think you need to use TYPES.SENSOR_ICON to get an icon. As far as i know, the TYPES.SENSOR is only for showing a value in the middle of the tile

{ position: [1, 1], type: TYPES.SENSOR_ICON, title: 'Hot water', id: 'sensor.hot_water', states: { on: "On", off: "Off" }, icons: { on: 'mdi-hot-tub', off: 'mdi-hot-tub' }, }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by boyphongsakorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants