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