From efccbd7a809b2976db294ba4ef95c2af7dc91961 Mon Sep 17 00:00:00 2001
From: Jan Grewe <jan@faked.org>
Date: Fri, 9 Dec 2022 17:28:59 +0100
Subject: [PATCH] checkpoint

---
 .gitignore                 |  1 +
 .gitlab-ci.yml             |  2 +-
 packages/esp32.yaml        |  2 +-
 packages/fan_settings.yaml | 52 +++++++++++++++++++-------------------
 packages/mlx90614.yaml     |  2 +-
 5 files changed, 30 insertions(+), 29 deletions(-)

diff --git a/.gitignore b/.gitignore
index d8d70fd..4e4bfb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 # You can modify this file to suit your needs.
 /.esphome/
 **/secrets.yaml
+/testbox.yaml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e789f23..1053d71 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ validate_configs:
   before_script:
     - cat "${SECRETS_YAML}" > "packages/secrets.yaml"
   script:
-    - for yml in *.yaml; do esphome config ${yml}; done
+    - for yml in *.yaml; do esphome config ${yml} >/dev/null; done
   tags:
     - docker
 
diff --git a/packages/esp32.yaml b/packages/esp32.yaml
index c6a8de1..c6c105d 100644
--- a/packages/esp32.yaml
+++ b/packages/esp32.yaml
@@ -4,7 +4,7 @@ esp32:
 i2c:
   sda: 21
   scl: 22
-  frequency: 10khz
+  frequency: 1khz
 
 wifi:
   power_save_mode: none
diff --git a/packages/fan_settings.yaml b/packages/fan_settings.yaml
index 052e11f..5cdda7a 100644
--- a/packages/fan_settings.yaml
+++ b/packages/fan_settings.yaml
@@ -25,13 +25,13 @@ sensor:
     internal: true
 
 select:
-  - platform: template
-    id: fan_mode
-    name: "Fan: Mode"
-    options: ["Power", "Speed"]
-    initial_option: "Power"
-    optimistic: true
-    restore_value: true
+  # - platform: template
+  #   id: fan_mode
+  #   name: "Fan: Mode"
+  #   options: ["Power", "Speed"]
+  #   initial_option: "Power"
+  #   optimistic: true
+  #   restore_value: true
   - platform: template
     id: temperature_max
     name: "Fan: Temperature On"
@@ -75,22 +75,22 @@ select:
     optimistic: true
     restore_value: true
 
-number:
-  - platform: template
-    id: fan_speed_default
-    name: "Fan: Speed Default"
-    min_value: 0
-    max_value: 100
-    step: 1
-    mode: slider
-    optimistic: true
-    restore_value: true
-  - platform: template
-    id: fan_speed_max
-    name: "Fan: Speed Fast"
-    min_value: 0
-    max_value: 100
-    step: 1
-    mode: slider
-    optimistic: true
-    restore_value: true
+# number:
+#   - platform: template
+#     id: fan_speed_default
+#     name: "Fan: Speed Default"
+#     min_value: 0
+#     max_value: 100
+#     step: 1
+#     mode: slider
+#     optimistic: true
+#     restore_value: true
+#   - platform: template
+#     id: fan_speed_max
+#     name: "Fan: Speed Fast"
+#     min_value: 0
+#     max_value: 100
+#     step: 1
+#     mode: slider
+#     optimistic: true
+#     restore_value: true
diff --git a/packages/mlx90614.yaml b/packages/mlx90614.yaml
index 4aab403..8feccb9 100644
--- a/packages/mlx90614.yaml
+++ b/packages/mlx90614.yaml
@@ -4,7 +4,7 @@ esphome:
   libraries:
     - Wire
     - SPI
-    - https://github.com/adafruit/Adafruit_BusIO @ 1.13.2
+    - https://github.com/adafruit/Adafruit_BusIO @ 1.14.1
     - https://github.com/adafruit/Adafruit-MLX90614-Library @ 2.1.3
 
 sensor:
-- 
GitLab