Skip to content

Commit

Permalink
Move esphome device to a separate repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pedorich-n committed Dec 27, 2024
1 parent ddf20b6 commit 356708c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 130 deletions.
71 changes: 0 additions & 71 deletions firmware/.base.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions firmware/.led_sensor.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions firmware/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

</br>

> [!IMPORTANT]
> Enabling fallback AP and/or Captive Portal causes ESPHome stability issues.
> See: https://community.home-assistant.io/t/cant-stop-esphome-restarting-with-weak-wifi/453821/21
## Device configuration

See example use at https://github.com/pedorich-n/esphome-devices/tree/main/devices/sharp-hv-r75
1 change: 1 addition & 0 deletions firmware/humidifier_s2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ mqtt:
password: !secret mqtt_password
discovery: true
topic_prefix: humidifier
discovery_unique_id_generator: mac

logger:
level: INFO
Expand Down
19 changes: 4 additions & 15 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@
export INSIDE_NIX_DEVELOP=true
export ESPHOME_NOGITIGNORE=true
${lib.getExe pkgs.python3} --version
${lib.getExe pkgs.platformio-core} --version
echo "ESPHome $(${lib.getExe pkgs.esphome} version)"
eval "$(register-python-argcomplete esphome)"
python --version
platformio --version
echo "ESPHome $(esphome version)"
'';
};
};
Expand All @@ -49,16 +47,6 @@
flakeCheck = true;

settings.formatter = {
just = {
command = pkgs.just;
options = [
"--fmt"
"--unstable"
"--justfile"
];
includes = [ "justfile" ];
};

black.options = [ "--line-length=120" ];
};

Expand All @@ -78,6 +66,7 @@

# YAML, etc
prettier.enable = true;
just.enable = true;
};
};
};
Expand Down
27 changes: 0 additions & 27 deletions justfile

This file was deleted.

0 comments on commit 356708c

Please sign in to comment.