diff --git a/.eleventy.js b/.eleventy.js new file mode 100644 index 0000000..2f5256c --- /dev/null +++ b/.eleventy.js @@ -0,0 +1,36 @@ +import { env } from 'process'; + +import { minify } from 'html-minifier-terser'; + +export default function (eleventyConfig) { + // Copy static assets + eleventyConfig.addPassthroughCopy('public'); + + // In dev mode, don't minify + if (env.NODE_ENV === 'production') { + eleventyConfig.addTransform('htmlmin', function (content, outputPath) { + if (outputPath?.endsWith('.html')) { + const minified = minify(content, { + useShortDoctype: true, + removeComments: true, + collapseWhitespace: true, + minifyCSS: true, + minifyJS: { + safari10: false, + ecma: undefined, + output: { comments: false }, + }, + }); + return minified; + } + return content; + }); + } + + return { + dir: { + input: 'src-11ty', + output: 'dist', + }, + }; +} diff --git a/home-assistant-connect-zwa-2/index.html b/home-assistant-connect-zwa-2/index.html deleted file mode 100644 index 8bb4347..0000000 --- a/home-assistant-connect-zwa-2/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - -
- - - -800 series Z-Wave Long Range adapter
++ The ultimate way to connect Z-Wave devices to Home Assistant. +
++ Features the latest Z-Wave 800 series chip with Long Range support, + SmartStart, and enhanced security for your smart home. +
++ The original firmware that allows to connect the ZWA-2 directly to + Home Assistant hub via USB cable. +
++ Experimental. Place the ZWA-2 + in the most optimal position and connect it to Home Assistant via + Wi-Fi. +
++ Experimental. Place the ZWA-2 + in the most optimal position and connect it to Home Assistant via + Power-over-Ethernet. +
+User documentation, troubleshooting, and resources
++ Learn more about the Connect ZWA-2 features, specifications, and + where to buy +
+View the open-source Z-Wave firmware code
+Connect ZWA-2 directly to Home Assistant via USB
+ + +Local voice control for your smart home
++ Experience the future of voice control with complete local processing. + The Voice Preview Edition brings fast, private voice commands to your + smart home without sending data to the cloud. +
+Flash the latest Voice PE firmware
++ Complete guide to setting up voice control, wake words, and + commands +
++ Complete documentation, troubleshooting guides, and technical + specifications +
++ Learn about Voice PE features, hardware specifications, and where + to buy +
++ View the open-source Voice PE firmware code and contribute to + development +
+Zigbee 3.0 USB adapter
++ The Home Assistant Connect ZBT-1 (formerly SkyConnect) is a powerful + Zigbee 3.0 USB adapter that connects your Zigbee devices to Home + Assistant. Easy setup, reliable performance, and seamless integration. +
+Update your ZBT-1 with the latest Zigbee or Thread firmware
++ Complete documentation, troubleshooting guides, and technical + specifications +
++ Learn more about Connect ZBT-1 product features, specifications, + and where to buy +
+View the open-source firmware code
+