Add Home Assistant development environment to flake
- Add home-assistant and mosquitto to dev shell - Create minimal dev-config/ for HA development instance - Symlink custom integration for easy testing - Add HA dev files to .gitignore - No HA codebase committed, just references via Nix Usage: nix develop hass --config ./dev-config Features: - Isolated from production HA instance - MQTT broker for testing - Debug logging enabled - In-memory database for fast iteration
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Development automations for testing Systant integration
|
||||
[]
|
||||
@@ -0,0 +1,47 @@
|
||||
# Home Assistant Development Configuration for Systant Integration
|
||||
|
||||
homeassistant:
|
||||
name: Systant Development
|
||||
latitude: 0
|
||||
longitude: 0
|
||||
elevation: 0
|
||||
unit_system: metric
|
||||
time_zone: UTC
|
||||
|
||||
# Enable configuration UI
|
||||
config:
|
||||
|
||||
# Enable frontend
|
||||
frontend:
|
||||
themes: !include_dir_merge_named themes
|
||||
|
||||
# Enable API
|
||||
api:
|
||||
|
||||
# Enable system health
|
||||
system_health:
|
||||
|
||||
# Enable mobile app support
|
||||
mobile_app:
|
||||
|
||||
# MQTT Configuration (connect to local broker)
|
||||
mqtt:
|
||||
broker: localhost
|
||||
port: 1883
|
||||
discovery: true
|
||||
discovery_prefix: homeassistant
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
default: info
|
||||
logs:
|
||||
custom_components.systant: debug
|
||||
homeassistant.components.mqtt: debug
|
||||
|
||||
# Enable recorder with in-memory database for development
|
||||
recorder:
|
||||
db_url: "sqlite:///:memory:"
|
||||
purge_keep_days: 1
|
||||
|
||||
# Enable default integrations
|
||||
default_config:
|
||||
@@ -0,0 +1,2 @@
|
||||
# Development scenes for testing Systant integration
|
||||
[]
|
||||
@@ -0,0 +1,2 @@
|
||||
# Development scripts for testing Systant integration
|
||||
{}
|
||||
Reference in New Issue
Block a user