From 748aff12e846962f422b2ec7d2826b9008dda3e2 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Thu, 29 Feb 2024 21:20:53 +0100 Subject: [PATCH] Lint --- docs/api.md | 4 ++-- nspanel_blueprint.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api.md b/docs/api.md index b601156..e2b2ddb 100644 --- a/docs/api.md +++ b/docs/api.md @@ -8,7 +8,7 @@ This document provides details on custom services designed for integration with - [Component Color Service (`component_color`)](#component-color-service-component_color): Changes the foreground color of a specified component on the display. - [Component Text Service (`component_text`)](#component-text-service-component_text): Updates the text of a specified component on the display. - [Component Value Service (`component_val`)](#component-value-service-component_val): Updates the value of a specified component on the display. - - [Components Visibility Service (`components_visibility`)](#component-visibility-service-components_visibility): Hides or shows a specified component on the display. + - [Components Visibility Service (`components_visibility`)](#components-visibility-service-components_visibility): Hides or shows a specified component on the display. - [Entity Details Show Service (`entity_details_show`)](#entity-details-show-service-entity_details_show): Displays detailed information for a specific entity. - [Hardware Button State Indication Service (`hw_button_state`)](#hardware-button-state-indication-service-hw_button_state): Updates the visual state (on/off) of the left and right hardware button indicators on the panel. @@ -54,7 +54,7 @@ If you send anything different, the conversion to the RGB565 used by Nextion wil | [`component_color`](#component-color-service-component_color) | [Component Color Service](#component-color-service-component_color) | Changes the foreground color of a specified component on the display. | | [`component_text`](#component-text-service-component_text) | [Component Text Service](#component-text-service-component_text) | Updates the text of a specified component on the display. | | [`component_val`](#component-value-service-component_val) | [Component Value Service](#component-value-service-component_val) | Updates the value of a specified component on the display. | -| [`components_visibility`](#component-visibility-service-components_visibility) | [Components Visibility Service](#component-visibility-service-components_visibility) | Hides or shows a specified component on the display. | +| [`components_visibility`](#components-visibility-service-components_visibility) | [Components Visibility Service](#components-visibility-service-components_visibility) | Hides or shows a specified component on the display. | | [`entity_details_show`](#entity-details-show-service-entity_details_show) | [Entity Details Show Service](#entity-details-show-service-entity_details_show) | Displays detailed information for a specific entity. | | [`hw_button_state`](#hardware-button-state-indication-service-hw_button_state) | [Hardware Button State Indication Service](#hardware-button-state-indication-service-hw_button_state) | Updates the visual state (on/off) of the left and right hardware button indicators on the panel. | | [`icon`](#icon-service-icon) | [Icon Service](#icon-service-icon) | Updates a chip or custom button's icon, color, and visibility. | diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 1961db9..4ea2495 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -8680,7 +8680,7 @@ action: continue_on_error: true - service: '{{ nspanel.service.component.visibility }}' data: - ids: [ "temp_button", "temp_value_2", "temp_touch" ] + ids: ["temp_button", "temp_value_2", "temp_touch"] visible: true continue_on_error: true @@ -8689,7 +8689,7 @@ action: then: - service: '{{ nspanel.service.component.visibility }}' data: - ids: [ "color_button", "color_touch" ] + ids: ["color_button", "color_touch"] visible: true continue_on_error: true @@ -8846,7 +8846,7 @@ action: continue_on_error: true - service: '{{ nspanel.service.component.visibility }}' data: - ids: [ "fan.bt_oscillate" ] + ids: ["fan.bt_oscillate"] visible: true continue_on_error: true - condition: '{{ fan.steps > 0 and fan.supported_features | bitwise_and(1) > 0 }}' # Set speed