floor3d-card icon indicating copy to clipboard operation
floor3d-card copied to clipboard

Allow transparency to be set for room colorcondition

Open justinhunt1223 opened this issue 2 years ago • 1 comments

This will allow transparency to be specified in the colorcondition. If no state is matched, the default transparency will be used. Using the color name of transparent throws unnecessary console errors.

Example configuration:

entities:
  - entity: <an entity>
    type3d: room
    object_id: <a room object (generally the floor) with a name containing "room". >
    room:
      elevation: 254
      transparency: 100 #default if no transparency is specified in colorcondition.
      attribute: state
    colorcondition:
      - color: yellow
        transparency: 80
        state: 'on'

justinhunt1223 avatar Nov 17 '22 19:11 justinhunt1223