I love the new Lovelace UI, and I am now playing with the picture-elements card. I can get most of the types to work, except for the image and icon types. Whenever I try one of these following the format specified in the documentation, I get an error where the entire configurational file shows up in red with the text similar to “incorrect element type: icon”.
Is anyone else experiencing this, or do you have suggestions for how to move forward?
ICON ELEMENT
CONFIGURATION VARIABLES
type
(string)(Required)icon
icon
(string)(Required)Icon to display (e.g. mdi:home)
title
(string)(Optional)Icon tooltip.
entity
(string)(Optional)Entity to use for more-info/toggle
tap_action
(string)(Optional)more-info, toggle, navigate, call-service
Default value: more-info
navigation_path
(string)(Optional)Url path to navigate to (e.g. /lovelace/1)
service
(string)(Optional)Service to call (e.g. light.turn_on)
service_data
(object)(Optional)The service data to use.
style
(object)(Required)Position and style the element using CSS.
Default value: position: absolute, transform: translate(-50%, -50%)