ci: fix yamllint issues
This commit is contained in:
parent
46cae63c1c
commit
fd89469dfa
28
.yamllint
Normal file
28
.yamllint
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
ignore: |
|
||||||
|
*.sops.*
|
||||||
|
flux/clusters/**/flux-system/gotk-*.yaml
|
||||||
|
terraform/
|
||||||
|
ansible/
|
||||||
|
|
||||||
|
rules:
|
||||||
|
truthy:
|
||||||
|
allowed-values: ["True", "False"]
|
||||||
|
comments:
|
||||||
|
min-spaces-from-content: 1
|
||||||
|
ignore: |
|
||||||
|
user-data.yaml
|
||||||
|
line-length: disable
|
||||||
|
braces:
|
||||||
|
min-spaces-inside: 0
|
||||||
|
max-spaces-inside: 1
|
||||||
|
brackets:
|
||||||
|
min-spaces-inside: 0
|
||||||
|
max-spaces-inside: 0
|
||||||
|
indentation: enable
|
||||||
|
document-start:
|
||||||
|
ignore: |
|
||||||
|
secret.yaml
|
||||||
|
user-data.yaml
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
- id: bf5457c9-3494-49e7-b504-cab0587be871
|
- id: bf5457c9-3494-49e7-b504-cab0587be871
|
||||||
alias: Starte Staubsauger
|
alias: Starte Staubsauger
|
||||||
triggers:
|
triggers:
|
||||||
|
@ -66,4 +66,4 @@ automation: !include automations.yaml
|
|||||||
script: !include scripts.yaml
|
script: !include scripts.yaml
|
||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
|
|
||||||
template: !include_dir_merge_list templates/
|
template: !include_dir_list templates/
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
"light.bath_light":
|
"light.bath_light":
|
||||||
friendly_name: Alle Lampen
|
friendly_name: Alle Lampen
|
||||||
"*.bath_lamp_sideboard":
|
"*.bath_lamp_sideboard":
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
"light.bedroom_light":
|
"light.bedroom_light":
|
||||||
friendly_name: Alle Lampen
|
friendly_name: Alle Lampen
|
||||||
"*.bedroom_lamp_nightstand_left":
|
"*.bedroom_lamp_nightstand_left":
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
---
|
||||||
"light.all":
|
"light.all":
|
||||||
friendly_name: Alle Lampen
|
friendly_name: Alle Lampen
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
"light.hall_light":
|
"light.hall_light":
|
||||||
friendly_name: Alle Lampen
|
friendly_name: Alle Lampen
|
||||||
"*.hall_lamp_sideboard":
|
"*.hall_lamp_sideboard":
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
"*.kitchen_lamp_cupboard":
|
"*.kitchen_lamp_cupboard":
|
||||||
friendly_name: Küchenzeile
|
friendly_name: Küchenzeile
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
"light.livingroom_light":
|
"light.livingroom_light":
|
||||||
friendly_name: Alle Lampen
|
friendly_name: Alle Lampen
|
||||||
"*.livingroom_lamp_bookshelf":
|
"*.livingroom_lamp_bookshelf":
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
"light.office_light":
|
"light.office_light":
|
||||||
friendly_name: Alle Lampen
|
friendly_name: Alle Lampen
|
||||||
"*.office_lamp_bookshelf":
|
"*.office_lamp_bookshelf":
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
|
---
|
||||||
title: Home
|
title: Home
|
||||||
path: home
|
path: home
|
||||||
icon: mdi:home
|
icon: mdi:home
|
||||||
cards:
|
cards:
|
||||||
- type: custom:weather-card
|
- type: custom:weather-card
|
||||||
entity: weather.forecast_home
|
entity: weather.forecast_home
|
||||||
current: true
|
current: True
|
||||||
details: false
|
details: False
|
||||||
forecast: true
|
forecast: True
|
||||||
hourly_forecast: false
|
hourly_forecast: False
|
||||||
number_of_forecasts: 5
|
number_of_forecasts: 5
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
@ -21,7 +22,7 @@ cards:
|
|||||||
- entity: sensor.livingroom_sensor_temperature_temperature
|
- entity: sensor.livingroom_sensor_temperature_temperature
|
||||||
name: Luft
|
name: Luft
|
||||||
icon: mdi:air-filter
|
icon: mdi:air-filter
|
||||||
show_state: false
|
show_state: False
|
||||||
type: custom:multiple-entity-row
|
type: custom:multiple-entity-row
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.livingroom_sensor_temperature_temperature
|
- entity: sensor.livingroom_sensor_temperature_temperature
|
||||||
@ -33,7 +34,7 @@ cards:
|
|||||||
label: Küche
|
label: Küche
|
||||||
- entity: binary_sensor.ki_fridge_door_sensor_contact_state
|
- entity: binary_sensor.ki_fridge_door_sensor_contact_state
|
||||||
name: Kühlschrank
|
name: Kühlschrank
|
||||||
show_state: false
|
show_state: False
|
||||||
type: custom:multiple-entity-row
|
type: custom:multiple-entity-row
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.kitchen_sensor_temperature_fridge_temperature
|
- entity: sensor.kitchen_sensor_temperature_fridge_temperature
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
|
---
|
||||||
title: Licht
|
title: Licht
|
||||||
path: light
|
path: light
|
||||||
icon: mdi:lightbulb-outline
|
icon: mdi:lightbulb-outline
|
||||||
cards:
|
cards:
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Wohnzimmer
|
title: Wohnzimmer
|
||||||
show_header_toggle: false
|
show_header_toggle: False
|
||||||
entities:
|
entities:
|
||||||
- entity: light.livingroom_light
|
- entity: light.livingroom_light
|
||||||
- type: custom:fold-entity-row
|
- type: custom:fold-entity-row
|
||||||
@ -16,26 +17,26 @@ cards:
|
|||||||
- entity: light.livingroom_lamp_bookshelf
|
- entity: light.livingroom_lamp_bookshelf
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.livingroom_lamp_bookshelf
|
entity: light.livingroom_lamp_bookshelf
|
||||||
full_row: true
|
full_row: True
|
||||||
# livingroom_lamp_floor
|
# livingroom_lamp_floor
|
||||||
- entity: light.livingroom_lamp_floor
|
- entity: light.livingroom_lamp_floor
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.livingroom_lamp_floor
|
entity: light.livingroom_lamp_floor
|
||||||
full_row: true
|
full_row: True
|
||||||
# livingroom_lamp_ambience
|
# livingroom_lamp_ambience
|
||||||
- entity: light.livingroom_lamp_ambience
|
- entity: light.livingroom_lamp_ambience
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.livingroom_lamp_ambience
|
entity: light.livingroom_lamp_ambience
|
||||||
full_row: true
|
full_row: True
|
||||||
# kitchen_lamp_cupboard
|
# kitchen_lamp_cupboard
|
||||||
- entity: light.kitchen_lamp_cupboard
|
- entity: light.kitchen_lamp_cupboard
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.kitchen_lamp_cupboard
|
entity: light.kitchen_lamp_cupboard
|
||||||
full_row: true
|
full_row: True
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Büro
|
title: Büro
|
||||||
show_header_toggle: false
|
show_header_toggle: False
|
||||||
entities:
|
entities:
|
||||||
- entity: light.office_light
|
- entity: light.office_light
|
||||||
- type: custom:fold-entity-row
|
- type: custom:fold-entity-row
|
||||||
@ -47,16 +48,16 @@ cards:
|
|||||||
- entity: light.office_lamp_bookshelf
|
- entity: light.office_lamp_bookshelf
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.office_lamp_bookshelf
|
entity: light.office_lamp_bookshelf
|
||||||
full_row: true
|
full_row: True
|
||||||
# office_lamp_floor
|
# office_lamp_floor
|
||||||
- entity: light.office_lamp_floor
|
- entity: light.office_lamp_floor
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.office_lamp_floor
|
entity: light.office_lamp_floor
|
||||||
full_row: true
|
full_row: True
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Schlafzimmer
|
title: Schlafzimmer
|
||||||
show_header_toggle: false
|
show_header_toggle: False
|
||||||
entities:
|
entities:
|
||||||
- entity: light.bedroom_light
|
- entity: light.bedroom_light
|
||||||
- type: custom:fold-entity-row
|
- type: custom:fold-entity-row
|
||||||
@ -68,16 +69,16 @@ cards:
|
|||||||
- entity: light.bedroom_lamp_nightstand_right
|
- entity: light.bedroom_lamp_nightstand_right
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.bedroom_lamp_nightstand_right
|
entity: light.bedroom_lamp_nightstand_right
|
||||||
full_row: true
|
full_row: True
|
||||||
# bedroom_lamp_nightstand_left
|
# bedroom_lamp_nightstand_left
|
||||||
- entity: light.bedroom_lamp_nightstand_left
|
- entity: light.bedroom_lamp_nightstand_left
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.bedroom_lamp_nightstand_left
|
entity: light.bedroom_lamp_nightstand_left
|
||||||
full_row: true
|
full_row: True
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Flur
|
title: Flur
|
||||||
show_header_toggle: false
|
show_header_toggle: False
|
||||||
entities:
|
entities:
|
||||||
- entity: light.hall_light
|
- entity: light.hall_light
|
||||||
- type: custom:fold-entity-row
|
- type: custom:fold-entity-row
|
||||||
@ -89,11 +90,11 @@ cards:
|
|||||||
- entity: light.hall_lamp_sideboard
|
- entity: light.hall_lamp_sideboard
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.hall_lamp_sideboard
|
entity: light.hall_lamp_sideboard
|
||||||
full_row: true
|
full_row: True
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Bad
|
title: Bad
|
||||||
show_header_toggle: false
|
show_header_toggle: False
|
||||||
entities:
|
entities:
|
||||||
- entity: light.bath_light
|
- entity: light.bath_light
|
||||||
- type: custom:fold-entity-row
|
- type: custom:fold-entity-row
|
||||||
@ -105,4 +106,4 @@ cards:
|
|||||||
- entity: light.bath_lamp_sideboard
|
- entity: light.bath_lamp_sideboard
|
||||||
- type: custom:slider-entity-row
|
- type: custom:slider-entity-row
|
||||||
entity: light.bath_lamp_sideboard
|
entity: light.bath_lamp_sideboard
|
||||||
full_row: true
|
full_row: True
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
title: Staubsauger
|
title: Staubsauger
|
||||||
path: vacuum
|
path: vacuum
|
||||||
icon: mdi:robot-vacuum
|
icon: mdi:robot-vacuum
|
||||||
@ -15,18 +16,18 @@ cards:
|
|||||||
floor_color: "#03a9f4"
|
floor_color: "#03a9f4"
|
||||||
wall_color: "#263238"
|
wall_color: "#263238"
|
||||||
no_go_area_color: "#d84315"
|
no_go_area_color: "#d84315"
|
||||||
show_dock: false
|
show_dock: False
|
||||||
show_battery_level: false
|
show_battery_level: False
|
||||||
show_start_button: false
|
show_start_button: False
|
||||||
show_pause_button: false
|
show_pause_button: False
|
||||||
show_stop_button: false
|
show_stop_button: False
|
||||||
show_home_button: false
|
show_home_button: False
|
||||||
show_locate_button: false
|
show_locate_button: False
|
||||||
show_status: false
|
show_status: False
|
||||||
vacuum_color: "#FFFFFF"
|
vacuum_color: "#FFFFFF"
|
||||||
- type: custom:vacuum-card
|
- type: custom:vacuum-card
|
||||||
entity: vacuum.valetudo_rockrobo
|
entity: vacuum.valetudo_rockrobo
|
||||||
compact_view: false
|
compact_view: False
|
||||||
image: /local/icons/robot.svg
|
image: /local/icons/robot.svg
|
||||||
stats:
|
stats:
|
||||||
cleaning:
|
cleaning:
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
title: Wartung
|
title: Wartung
|
||||||
path: maintenance
|
path: maintenance
|
||||||
icon: mdi:tools
|
icon: mdi:tools
|
||||||
@ -13,8 +14,8 @@ cards:
|
|||||||
sort:
|
sort:
|
||||||
method: attribute
|
method: attribute
|
||||||
attribute: "battery"
|
attribute: "battery"
|
||||||
reverse: false
|
reverse: False
|
||||||
show_empty: false
|
show_empty: False
|
||||||
|
|
||||||
- type: custom:auto-entities
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
@ -27,18 +28,18 @@ cards:
|
|||||||
update:state: available
|
update:state: available
|
||||||
options:
|
options:
|
||||||
icon: mdi:update
|
icon: mdi:update
|
||||||
state_color: false
|
state_color: False
|
||||||
- entity_id: "update.*"
|
- entity_id: "update.*"
|
||||||
attributes:
|
attributes:
|
||||||
update:state: updating
|
update:state: updating
|
||||||
options:
|
options:
|
||||||
icon: mdi:progress-wrench
|
icon: mdi:progress-wrench
|
||||||
state_color: false
|
state_color: False
|
||||||
sort:
|
sort:
|
||||||
method: attribute
|
method: attribute
|
||||||
attribute: "battery"
|
attribute: "battery"
|
||||||
reverse: false
|
reverse: False
|
||||||
show_empty: false
|
show_empty: False
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Zigbee2MQTT
|
title: Zigbee2MQTT
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
zigbee2mqtt:
|
zigbee2mqtt:
|
||||||
# Input select for Zigbee2MQTT debug level
|
# Input select for Zigbee2MQTT debug level
|
||||||
input_select:
|
input_select:
|
||||||
@ -37,7 +38,7 @@ zigbee2mqtt:
|
|||||||
input_boolean:
|
input_boolean:
|
||||||
zigbee2mqtt_force_remove:
|
zigbee2mqtt_force_remove:
|
||||||
name: Zigbee2MQTT Force Remove
|
name: Zigbee2MQTT Force Remove
|
||||||
initial: false
|
initial: False
|
||||||
icon: mdi:alert-remove
|
icon: mdi:alert-remove
|
||||||
|
|
||||||
# Scripts for renaming & removing devices
|
# Scripts for renaming & removing devices
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
- sensor:
|
---
|
||||||
|
sensor:
|
||||||
- name: bath_sensor_air_quality_rating
|
- name: bath_sensor_air_quality_rating
|
||||||
unit_of_measurement: ppb
|
unit_of_measurement: ppb
|
||||||
state: "{{ states('sensor.bath_sensor_air_quality_voc') | float(0) }}"
|
state: "{{ states('sensor.bath_sensor_air_quality_voc') | float(0) }}"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
- binary_sensor:
|
---
|
||||||
|
binary_sensor:
|
||||||
- name: ki_fridge_door_sensor_contact_state
|
- name: ki_fridge_door_sensor_contact_state
|
||||||
state: "{{ states('binary_sensor.ki_fridge_door_sensor_contact') }}"
|
state: "{{ states('binary_sensor.ki_fridge_door_sensor_contact') }}"
|
||||||
device_class: door
|
device_class: door
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
- sensor:
|
---
|
||||||
|
sensor:
|
||||||
- name: office_sensor_air_quality_rating
|
- name: office_sensor_air_quality_rating
|
||||||
unit_of_measurement: ppb
|
unit_of_measurement: ppb
|
||||||
state: "{{ states('sensor.office_sensor_air_quality_voc') | float(0) }}"
|
state: "{{ states('sensor.office_sensor_air_quality_voc') | float(0) }}"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
- sensor:
|
---
|
||||||
|
sensor:
|
||||||
- name: valetudo_rockrobo_main_filter_duration
|
- name: valetudo_rockrobo_main_filter_duration
|
||||||
state: >-
|
state: >-
|
||||||
{% set minutes = states("sensor.valetudo_rockrobo_main_filter") | int(0) %}
|
{% set minutes = states("sensor.valetudo_rockrobo_main_filter") | int(0) %}
|
||||||
@ -12,6 +13,7 @@
|
|||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{ minutes }}min
|
{{ minutes }}min
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
- name: valetudo_rockrobo_right_brush_duration
|
- name: valetudo_rockrobo_right_brush_duration
|
||||||
state: >-
|
state: >-
|
||||||
{% set minutes = states("sensor.valetudo_rockrobo_right_brush") | int(0) %}
|
{% set minutes = states("sensor.valetudo_rockrobo_right_brush") | int(0) %}
|
||||||
@ -25,6 +27,7 @@
|
|||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{ minutes }}min
|
{{ minutes }}min
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
- name: valetudo_rockrobo_main_brush_duration
|
- name: valetudo_rockrobo_main_brush_duration
|
||||||
state: >-
|
state: >-
|
||||||
{% set minutes = states("sensor.valetudo_rockrobo_main_brush") | int(0) %}
|
{% set minutes = states("sensor.valetudo_rockrobo_main_brush") | int(0) %}
|
||||||
@ -38,6 +41,7 @@
|
|||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{ minutes }}min
|
{{ minutes }}min
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
- name: valetudo_rockrobo_sensor_duration
|
- name: valetudo_rockrobo_sensor_duration
|
||||||
state: >-
|
state: >-
|
||||||
{% set minutes = states("sensor.valetudo_rockrobo_sensor_cleaning") | int(0) %}
|
{% set minutes = states("sensor.valetudo_rockrobo_sensor_cleaning") | int(0) %}
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
---
|
||||||
title: Apartment
|
title: Apartment
|
||||||
views: !include_dir_list lovelace/views/
|
views: !include_dir_list lovelace/views/
|
||||||
|
Loading…
Reference in New Issue
Block a user