- 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
47 lines
835 B
YAML
47 lines
835 B
YAML
# 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: |