Skip to content

Commit

Permalink
86 more YAMLlint related fixes BeardedTinker#21
Browse files Browse the repository at this point in the history
  • Loading branch information
BeardedTinker committed Sep 26, 2020
1 parent 4f3a728 commit 023acfb
Show file tree
Hide file tree
Showing 88 changed files with 249 additions and 165 deletions.
2 changes: 1 addition & 1 deletion integrations/binary_sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# https://www.home-assistant.io/components/binary_sensor/
#####

binary_sensor: !include_dir_list ../entities/binary_sensors
binary_sensor: !include_dir_list ../entities/binary_sensors
2 changes: 1 addition & 1 deletion integrations/breaking_changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Help track breaking changes and warn on them
#####

breaking_changes:
breaking_changes:
2 changes: 1 addition & 1 deletion integrations/browser_mod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# https://github.com/thomasloven/hass-browser_mod
#####

browser_mod:
browser_mod:
2 changes: 1 addition & 1 deletion integrations/calendarific.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
#calendarific:
# api_key: YOUR_API_KEY
# country: GB
# state: GB-WLS
# state: GB-WLS
6 changes: 4 additions & 2 deletions integrations/camera.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#####
# The camera component allows you to use IP cameras with Home Assistant.
# This loads up all my camera configurations
#
# https://www.home-assistant.io/components/camera/
#
camera: !include_dir_list ../entities/cameras
######

camera: !include_dir_list ../entities/cameras
3 changes: 2 additions & 1 deletion integrations/cast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
# After udpate to 0.109 this stopped working for me - strange
# Will be removed - in 0.116 depriciated
###

cast:
media_player:
- host: !secret chromecast_living_ip
- host: !secret chromecast_loft_ip
- host: !secret google_home_mini_ip
- host: !secret google_nest_hub_ip
- host: !secret google_home_mini_2_ip
- host: !secret google_lenovo_clock_ip
- host: !secret google_lenovo_clock_ip
6 changes: 4 additions & 2 deletions integrations/circadian_lighting.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#####
# Circadian Lighting slowly synchronizes your color changing lights with the
# regular naturally occuring color temperature of the sky throughout the day.
#
# This gives your environment a more natural feel, with cooler hues during
# the midday and warmer tints near twilight and dawn.
#
# https://github.com/claytonjn/hass-circadian_lighting
#
#####

circadian_lighting:
interval: 60
transition: 60
transition: 60
6 changes: 4 additions & 2 deletions integrations/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#####
# The config component enables a set of additional capabilities to manage and
# configure certain parts of Home Assistant straight from the frontend.
#
# https://www.home-assistant.io/components/config/
#
config:
#####

config:
3 changes: 2 additions & 1 deletion integrations/conversation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Conversation - try to make HA communicate to us
# https://www.home-assistant.io/integrations/conversation/
#####
conversation:

conversation:
3 changes: 2 additions & 1 deletion integrations/default_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# This integration is a meta-component and configures a default set of integrations for Home Assistant to load
# https://www.home-assistant.io/integrations/default_config/
#####
default_config:

default_config:
6 changes: 4 additions & 2 deletions integrations/device_trackers.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#####
# Home Assistant can get information from various devices. These can be used,
# for example, to track the location of your mobile phone.
#
# This configuration loads up my device trackers
#
# https://www.home-assistant.io/components/device_tracker/
#
device_tracker: !include_dir_list ../entities/device_trackers
#####

device_tracker: !include_dir_list ../entities/device_trackers
3 changes: 2 additions & 1 deletion integrations/discovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Discovery - automaticly configure zeroconf/mDNS and uPnP devices .
# https://www.home-assistant.io/integrations/discovery/
#####
discovery:

discovery:
3 changes: 2 additions & 1 deletion integrations/downloader.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
# Downloaded - enable downloading and declare folder
# https://www.home-assistant.io/integrations/downloader/
#####

downloader:
download_dir: downloads
download_dir: downloads
2 changes: 1 addition & 1 deletion integrations/fastdotcom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

fastdotcom:
scan_interval:
minutes: 30
minutes: 30
2 changes: 1 addition & 1 deletion integrations/ffmpeg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# https://www.home-assistant.io/integrations/ffmpeg/
#####

ffmpeg:
ffmpeg:
4 changes: 3 additions & 1 deletion integrations/frontend.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#####
# Configures the official Home Assistant frontend.
#
# https://www.home-assistant.io/components/frontend/
#
#####

frontend:
# Version of the JavaScript to serve to clients.
#javascript_version: auto
Expand Down
7 changes: 1 addition & 6 deletions integrations/garbage_collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# HACS integration
# https://github.com/bruxy70/Garbage-Collection
#####

garbage_collection:
sensors:
- name: "Mixed waste" # Each week on Wednesday and Saturday.
Expand All @@ -19,13 +20,7 @@ garbage_collection:
frequency: "even-weeks"
verbose_state: true
collection_days: "tue"
# weekday_order_number:
# - 1
# - 3
- name: "Paper waste" # Every even weeks on Tuesday
frequency: "odd-weeks"
verbose_state: true
collection_days: "tue"
# weekday_order_number:
# - 2
# - 4
7 changes: 6 additions & 1 deletion integrations/geo_location.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
geo_location: !include_dir_list ../entities/geo_location
#####
# Geolocation integration
# https://www.home-assistant.io/integrations/geo_location/
#####

geo_location: !include_dir_list ../entities/geo_location
2 changes: 1 addition & 1 deletion integrations/google.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
google:
client_id: !secret google_calendar_id
client_secret: !secret google_calendar
track_new_calendar: true
track_new_calendar: true
2 changes: 1 addition & 1 deletion integrations/google_assistant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ google_assistant:
- group
entity_config:
group.all_automations:
expose: false
expose: false
6 changes: 4 additions & 2 deletions integrations/group.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#####
# Groups allow the user to combine multiple entities into one.
# This loads up my custom created groups
#
# https://www.home-assistant.io/components/group/
#
group: !include_dir_merge_named ../entities/groups
#####

group: !include_dir_merge_named ../entities/groups
4 changes: 3 additions & 1 deletion integrations/history.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#####
# The history component will track everything that is going on within
# Home Assistant and allows the user to browse through it.
#
# https://www.home-assistant.io/components/history/
#
#####

history:
#use_include_order: True
# include:
Expand Down
4 changes: 2 additions & 2 deletions integrations/homeassistant.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sets up Home Assistant.
# Sets up Home Assistant.
#
# Basically, everything that doesn't have to be in the
# main configuration.yaml.
Expand All @@ -15,4 +15,4 @@
# customize_glob: !include_dir_merge_named ../customizations/globs

# allowlist_external_dirs:
# - /tmp
# - /tmp
3 changes: 2 additions & 1 deletion integrations/image_processing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Image Processing - created and used by Facebox
# https://www.home-assistant.io/integrations/facebox/
#####
image_processing: !include_dir_list ../entities/image_processing

image_processing: !include_dir_list ../entities/image_processing
3 changes: 2 additions & 1 deletion integrations/influxdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#
# https://www.home-assistant.io/integrations/influxdb/
####

influxdb:

# This is where host and port pare defined.
Expand All @@ -28,4 +29,4 @@ influxdb:
# I WILL specify (whitelist) each thing I'd like to put
# into InfluxDB, to keep the database clean. TODO
# include:
# entities: !include_dir_merge_list ../influxdb
# entities: !include_dir_merge_list ../influxdb
6 changes: 4 additions & 2 deletions integrations/input_boolean.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#####
# The input_boolean component allows the user to define boolean values that
# can be controlled via the frontend and can be used within conditions of
# automation. This can for example be used to disable or enable certain
# automations.
#
# https://www.home-assistant.io/components/input_boolean/
#
input_boolean: !include_dir_merge_named ../entities/input_booleans
#####

input_boolean: !include_dir_merge_named ../entities/input_booleans
6 changes: 4 additions & 2 deletions integrations/input_datetime.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#####
# The input_boolean component allows the user to define boolean values that
# can be controlled via the frontend and can be used within conditions of
# automation. This can for example be used to disable or enable certain
# automations.
#
# https://www.home-assistant.io/integrations/input_datetime/
#
input_datetime: !include_dir_merge_named ../entities/input_datetime
#####

input_datetime: !include_dir_merge_named ../entities/input_datetime
6 changes: 4 additions & 2 deletions integrations/input_numbers.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#####
# The input_boolean component allows the user to define boolean values that
# can be controlled via the frontend and can be used within conditions of
# automation. This can for example be used to disable or enable certain
# automations.
#
# https://www.home-assistant.io/integrations/input_number/
#
input_number: !include_dir_merge_named ../entities/input_number
#####

input_number: !include_dir_merge_named ../entities/input_number
6 changes: 4 additions & 2 deletions integrations/input_select.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#####
# The input_boolean component allows the user to define boolean values that
# can be controlled via the frontend and can be used within conditions of
# automation. This can for example be used to disable or enable certain
# automations.
#
# https://www.home-assistant.io/integrations/input_select/
#
input_select: !include_dir_merge_named ../entities/input_selects
#####

input_select: !include_dir_merge_named ../entities/input_selects
6 changes: 4 additions & 2 deletions integrations/input_texts.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#####
# The input_boolean component allows the user to define boolean values that
# can be controlled via the frontend and can be used within conditions of
# automation. This can for example be used to disable or enable certain
# automations.
#
# https://www.home-assistant.io/integrations/input_text/
#
input_text: !include_dir_merge_named ../entities/input_texts
#####

input_text: !include_dir_merge_named ../entities/input_texts
6 changes: 4 additions & 2 deletions integrations/lights.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#####
# The light component allows you to track and control various light bulbs.
# This loads up my light configurations.
#
# https://www.home-assistant.io/components/light/
#
light: !include_dir_list ../entities/lights
#####

light: !include_dir_list ../entities/lights
4 changes: 3 additions & 1 deletion integrations/logbook.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#####
# Logbbok - list of included/excluded entities
# TODO: Clean this list a lot more
# https://www.home-assistant.io/integrations/logbook/
#####

logbook:
include:
domains:
Expand Down Expand Up @@ -35,4 +37,4 @@ logbook:
entities:
- sensor.last_boot
- sensor.date
- sensor.darksky
- sensor.darksky
6 changes: 4 additions & 2 deletions integrations/logger.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#####
# Logger - only log warning and up
# https://www.home-assistant.io/integrations/logger/
#####

logger:
default: info
logs:
homeassistant.components.cast: debug
homeassistant.components.cast.media_player: debug
# homeassistant.components.cast: debug
# homeassistant.components.cast.media_player: debug
2 changes: 1 addition & 1 deletion integrations/luftdaten.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ luftdaten:
- P1
- P2
- temperature
- humidity
- humidity
6 changes: 4 additions & 2 deletions integrations/map.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#####
# This offers a map on the frontend to display the location of tracked devices.
#
# https://www.home-assistant.io/components/map/
#
map:
#####

map:
2 changes: 1 addition & 1 deletion integrations/media_extractor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# https://www.home-assistant.io/integrations/media_extractor/
#####

media_extractor:
media_extractor:
Loading

0 comments on commit 023acfb

Please sign in to comment.