mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 06:44:04 +02:00
* Update .devcontainer * Drop support for ≤2023.6 * Add .vscode/settings.json * Use async_process_ha_core_config * Fix for HA ≤2023.10 * pop normalized_name * Add comments * use . instead of source * set pytest args * set country * use py3.13 for dev branch of core * set country in test_adaptive_lighting_time_zones_with_default_settings * Add comment
17 lines
340 B
Bash
Executable file
17 lines
340 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -ex
|
|
cd "$(dirname "$0")/.."
|
|
|
|
# Clone only if the folder doesn't exist
|
|
if [[ ! -d "core" ]]; then
|
|
git clone --depth 1 --branch dev https://github.com/home-assistant/core.git
|
|
fi
|
|
|
|
pip install \
|
|
colorlog \
|
|
pip \
|
|
ruff
|
|
|
|
./scripts/setup-dependencies
|
|
./scripts/setup-symlinks
|
|
uv run pre-commit install-hooks
|