Files
Home-AssistantConfig/tools/validate_dashboards.ps1
2026-02-09 13:45:46 -05:00

14 lines
349 B
PowerShell

param()
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
$repoRoot = Split-Path -Parent $PSScriptRoot
$py = Get-Command py -ErrorAction SilentlyContinue
if (-not $py) {
throw "Python launcher 'py' not found. Install Python 3 or run tools/validate_dashboards.py with your python."
}
py -3 "$repoRoot\tools\validate_dashboards.py"