hope it will be ‘re-evaluated’ . that’s why I added some valid arguments for that, while acknowledging we need to go forward.
device_class wasn’t invented in vain though, firmly believe the design team will see that.
will keep my customize_domain’s for the moment though:
automation:
custom_ui_state_card: state-card-custom-ui
templates:
icon_color: >
if (state === 'on') return 'rgb(251, 210, 41)';
return 'rgb(54, 95, 140)';
binary_sensor:
custom_ui_state_card: state-card-custom-ui
templates:
icon_color: >
if (state === 'on') return 'rgb(251, 210, 41)';
return 'rgb(54, 95, 140)';
input_boolean:
custom_ui_state_card: state-card-custom-ui
templates:
icon_color: >
if (state === 'on') return 'rgb(251, 210, 41)';
return 'rgb(54, 95, 140)';
switch:
custom_ui_state_card: state-card-custom-ui
templates:
icon_color: >
if (state === 'on') return 'rgb(251, 210, 41)';
return 'rgb(54, 95, 140)';