Skip to main content
Version: 4.2 (beta)

Image State

Specifies the image's behavior responding to specific datapoint states values.

Attributes​

Datapoint​

Value​

The value of the datapoint that identifies the state.

Attribute Values​
ValueDescription
<string>The value.

Image​

Image​

Specifies the image source to show.

The value can be:

  • A relative path to an image file, such as lights/lamp.png
  • An icon prefixed with icon:

Relative image paths are resolved against one of the following folders:

  • Common images folder, for images shared among projects (www/img)
  • Project images folder, for project-specific images (www/projects/<project>/img) If an image with the same relative path is found in both folders, the project image is used.
Attribute Values​
ValueDescriptionExample
<image>Relative path to the image file.lights/lamp.png
<icon>Icon prefixed with icon:.icon:mdi#account-multiple
noneNo image is displayed.