diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index b71fff0..610f1e3 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -6172,12 +6172,12 @@ variables: rgbw: "[]" rgbww: "[]" white: "[]" - #yamllint disable rule:truthy + # yamllint disable rule:truthy rule:line-length states: "on": ["on", "open", "opening", "true", "True", true, True, "playing", "heat", "cold", "dry", "armed_home", "armed_away", "armed_vacation", "armed_custom_bypass", "triggered", "pending", "arming", 1] "off": ["off", "closed", "closing", "false", "False", false, False, "standby", "paused", "idle", "disarmed", "disarming", 0] unknown: ["unknown", "unavailable", None, none, ""] - #yamllint enable rule:truthy + # yamllint enable rule:truthy rule:line-length ############################################################# ##### CLOSE - Variables ##### @@ -7079,11 +7079,11 @@ action: hold_select: !input 'right_button_hold_select' relays: relay1: - icon: !input 'relay01_icon' # E3A5 + icon: !input 'relay01_icon' icon_color_rgb: !input 'relay01_icon_color' fallback: !input 'relay_1_local_fallback' relay2: - icon: !input 'relay02_icon' # E3A8 + icon: !input 'relay02_icon' icon_color_rgb: !input 'relay02_icon_color' fallback: !input 'relay_2_local_fallback' @@ -7232,7 +7232,10 @@ action: {{ hardware.relays.relay1.icon_color_rgb if is_number(hardware.relays.relay1.icon_color_rgb) - else ((hardware.relays.relay1.icon_color_rgb[0] //(2**3)) *(2**11))+((hardware.relays.relay1.icon_color_rgb[1] //(2**2)) *(2**5))+(hardware.relays.relay1.icon_color_rgb[2] //(2**3)) + else + ((hardware.relays.relay1.icon_color_rgb[0] //(2**3)) *(2**11)) + + ((hardware.relays.relay1.icon_color_rgb[1] //(2**2)) *(2**5)) + + ((hardware.relays.relay1.icon_color_rgb[2] //(2**3))) }} relay1_fallback: '{{ hardware.relays.relay1.fallback }}' relay2_local_control: '{{ hardware.buttons.right.entity == relay02_entity }}' @@ -7251,7 +7254,10 @@ action: {{ hardware.relays.relay2.icon_color_rgb if is_number(hardware.relays.relay2.icon_color_rgb) - else ((hardware.relays.relay2.icon_color_rgb[0] //(2**3)) *(2**11))+((hardware.relays.relay2.icon_color_rgb[1] //(2**2)) *(2**5))+(hardware.relays.relay2.icon_color_rgb[2] //(2**3)) + else + ((hardware.relays.relay2.icon_color_rgb[0] //(2**3)) *(2**11)) + + ((hardware.relays.relay2.icon_color_rgb[1] //(2**2)) *(2**5)) + + ((hardware.relays.relay2.icon_color_rgb[2] //(2**3))) }} relay2_fallback: '{{ hardware.relays.relay2.fallback }}' embedded_climate: '{{ climate == thermostat_embedded }}'