314ma

on_off_colors

Feb 15th, 2021
560
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sensor.door_front:
  2.   templates: &on_off_color
  3.     hs_color: >
  4.      if (state === 'Open') return [0,100,50];
  5.       return [120,100,19];
  6. sensor.door_back:
  7.   templates:
  8.     <<: *on_off_color
  9.  
RAW Paste Data