Skip to content

Commit 084a295

Browse files
authored
Merge pull request #3 from c0ffeeca7/strings-quick-style-check
Apply quick style check
2 parents 835d7d0 + 06fc61e commit 084a295

File tree

2 files changed

+88
-56
lines changed

2 files changed

+88
-56
lines changed

src/utils/details.ts

Lines changed: 84 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,44 @@ import type { DetailsConfig } from '../components/details';
22

33
export const vpeDetails: DetailsConfig = {
44
hero: {
5-
title: 'Home Assistant Voice PE',
6-
subtitle: 'Local Voice Control for Your Smart Home',
5+
title: 'Home Assistant Voice Preview Edition',
6+
subtitle: 'Local voice control for your smart home',
77
description:
88
'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.',
99
},
1010
actions: [
1111
{
1212
variant: 'primary',
13-
title: 'Install Firmware',
13+
title: 'Install firmware',
1414
description:
1515
'Flash the latest Voice PE firmware directly to your device using our web installer',
1616
href: 'https://esphome.github.io/home-assistant-voice-pe/',
17-
label: 'Install Firmware',
17+
label: 'Install firmware',
1818
icon: '/svgs/install.svg',
1919
},
2020
{
21-
title: 'Voice Control Setup',
21+
title: 'Voice control documentation',
2222
description:
2323
'Complete guide to setting up voice control, wake words, and commands',
2424
href: 'https://www.home-assistant.io/voice_control/',
25-
label: 'Setup Guide',
25+
label: 'Setup guide',
26+
variant: 'secondary',
27+
},
28+
{
29+
title: 'Source code',
30+
description:
31+
'View the open-source Voice PE firmware code and contribute to development',
32+
href: 'https://github.com/esphome/home-assistant-voice-pe',
33+
label: 'GitHub repository',
2634
variant: 'secondary',
2735
icon: '/svgs/doc.svg',
2836
},
2937
{
30-
title: 'Product Info',
38+
title: 'Product info',
3139
description:
32-
'Learn about Voice PE features, hardware specifications, and compatibility',
40+
'Learn about Voice PE features, hardware specifications, and where to buy',
3341
href: 'https://www.home-assistant.io/voice-pe/',
34-
label: 'Product Details',
42+
label: 'Product details',
3543
variant: 'secondary',
3644
icon: '/svgs/product.svg',
3745
},
@@ -50,7 +58,7 @@ export const vpeDetails: DetailsConfig = {
5058
export const zwa2Details: DetailsConfig = {
5159
hero: {
5260
title: 'Home Assistant Connect ZWA-2',
53-
subtitle: '800 Series Z-Wave Long Range Stick',
61+
subtitle: '800 series Z-Wave Long Range adapter',
5462
description:
5563
'The ultimate way to connect Z-Wave devices to Home Assistant.',
5664
secondaryDescription:
@@ -59,28 +67,36 @@ export const zwa2Details: DetailsConfig = {
5967
actions: [
6068
{
6169
variant: 'primary',
62-
title: 'Install/Update Firmware',
70+
title: 'Install/update firmware',
6371
description:
64-
'Flash the latest firmware directly to your ZWA-2 stick using our web-based toolbox',
72+
'Flash the latest firmware directly to your Connect ZWA-2 using our web-based toolbox',
6573
href: 'https://home-assistant.github.io/zwa2-toolbox/',
66-
label: 'Open Toolbox',
74+
label: 'Open toolbox',
6775
icon: '/svgs/install.svg',
6876
},
6977
{
7078
title: 'Documentation',
7179
description:
72-
'Complete setup guides, troubleshooting, and technical documentation',
80+
'User documentation, troubleshooting, and resources',
7381
href: 'https://support.nabucasa.com/hc/en-us/categories/28669861145885',
74-
label: 'Get Support',
82+
label: 'Get support',
83+
variant: 'secondary',
84+
},
85+
{
86+
title: 'Source code',
87+
description:
88+
'View the open-source toolbox code, contribute, or report issues',
89+
href: 'https://github.com/home-assistant/zwa2-toolbox',
90+
label: 'GitHub repository',
7591
variant: 'secondary',
7692
icon: '/svgs/doc.svg',
7793
},
7894
{
79-
title: 'Product Info',
95+
title: 'Product info',
8096
description:
81-
'Learn more about the ZWA-2 specifications, compatibility, and features',
97+
'Learn more about the Connect ZWA-2 features, specifications, and where to buy',
8298
href: 'https://www.home-assistant.io/connect/zwa-2/',
83-
label: 'Product Page',
99+
label: 'Product page',
84100
variant: 'secondary',
85101
icon: '/svgs/product.svg',
86102
},
@@ -98,35 +114,43 @@ export const zwa2Details: DetailsConfig = {
98114
export const zbt1Details: DetailsConfig = {
99115
hero: {
100116
title: 'Home Assistant Connect ZBT-1',
101-
subtitle: 'Zigbee 3.0 USB Coordinator',
117+
subtitle: 'Zigbee 3.0 USB adapter',
102118
description:
103-
'The Home Assistant Connect ZBT-1 (formerly SkyConnect) is a powerful Zigbee 3.0 USB coordinator that connects your Zigbee devices to Home Assistant. Easy setup, reliable performance, and seamless integration.',
119+
'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.',
104120
},
105121
actions: [
106122
{
107123
variant: 'primary',
108-
title: 'Firmware Update',
124+
title: 'Firmware update',
109125
description:
110-
'Update your ZBT-1 coordinator firmware to the latest version directly from your browser',
126+
'Update your Connect ZBT-1 firmware to the latest version directly from your browser',
111127
href: 'https://home-assistant-skyconnect.netlify.app/firmware-update/',
112-
label: 'Update Firmware',
128+
label: 'Update firmware',
113129
icon: '/svgs/install.svg',
114130
},
115131
{
116-
title: 'Getting Started',
132+
title: 'Getting started',
117133
description:
118-
'Step-by-step guide to set up your ZBT-1 and connect Zigbee devices',
134+
'Step-by-step guide to set up your Connect ZBT-1 and connect Zigbee devices',
119135
href: 'https://home-assistant-skyconnect.netlify.app/',
120-
label: 'Setup Guide',
136+
label: 'Setup guide',
137+
variant: 'secondary',
138+
},
139+
{
140+
title: 'Documentation',
141+
description:
142+
'User documentation, troubleshooting, and resources',
143+
href: 'https://home-assistant-skyconnect.netlify.app/documentation/',
144+
label: 'View docs',
121145
variant: 'secondary',
122146
icon: '/svgs/start.svg',
123147
},
124148
{
125-
title: 'Product Info',
149+
title: 'Product info',
126150
description:
127-
'Learn more about ZBT-1 specifications, compatibility, and features',
151+
'Learn more about Connect ZBT-1 product features, specifications, and where to buy',
128152
href: 'https://www.home-assistant.io/connectzbt1',
129-
label: 'Product Page',
153+
label: 'Product page',
130154
variant: 'secondary',
131155
icon: '/svgs/product.svg',
132156
},
@@ -145,18 +169,18 @@ export const zbt1Details: DetailsConfig = {
145169
export const esphomeWebDetails: DetailsConfig = {
146170
hero: {
147171
title: 'ESPHome Web',
148-
subtitle: 'Install & Manage ESPHome Firmware',
172+
subtitle: 'Install and manage ESPHome firmware',
149173
description:
150-
'Flash ESPHome firmware directly from your browser to ESP32, ESP8266, and Raspberry Pi Pico devices. No installation required - just connect your device and get started with smart home automation.',
174+
'Flash ESPHome firmware directly from your browser to ESP32, ESP8266, and Raspberry Pi Pico devices. No installation required. Just connect your device and get started with smart home automation.',
151175
},
152176
actions: [
153177
{
154178
variant: 'primary',
155-
title: 'Prepare Device',
179+
title: 'Prepare device',
156180
description:
157181
'Connect and prepare your ESP32, ESP8266 device for ESPHome installation',
158182
href: 'https://web.esphome.io/',
159-
label: 'Connect Device',
183+
label: 'Connect device',
160184
icon: '/svgs/install.svg',
161185
},
162186
{
@@ -166,14 +190,22 @@ export const esphomeWebDetails: DetailsConfig = {
166190
href: 'https://web.esphome.io/?pico',
167191
label: 'Flash Pico',
168192
variant: 'secondary',
193+
},
194+
{
195+
title: 'View logs',
196+
description:
197+
'Monitor device logs in real-time to debug and verify your ESPHome installation',
198+
href: 'https://web.esphome.io/',
199+
label: 'Open logs',
200+
variant: 'secondary',
169201
icon: '/svgs/raspberry.svg',
170202
},
171203
{
172-
title: 'ESPHome Documentation',
204+
title: 'ESPHome documentation',
173205
description:
174206
'Complete guide to ESPHome components, configuration, and advanced features',
175207
href: 'https://esphome.io/',
176-
label: 'Learn More',
208+
label: 'Learn more',
177209
variant: 'secondary',
178210
icon: '/svgs/doc.svg',
179211
},
@@ -182,27 +214,27 @@ export const esphomeWebDetails: DetailsConfig = {
182214

183215
export const mediaPlayerDetails: DetailsConfig = {
184216
hero: {
185-
title: 'ESPHome Media Players',
217+
title: 'ESPHome media players',
186218
subtitle: 'Smart, connected audio powered by ESPHome',
187219
description:
188220
'Create an internet-connected media player that integrates with Home Assistant. Install ready-made firmware and explore supported devices.',
189221
},
190222
actions: [
191223
{
192224
variant: 'primary',
193-
title: 'Install (Ready‑Made Projects)',
225+
title: 'Install (ready‑made projects)',
194226
description:
195227
'Use the browser installer to flash a supported media player device',
196228
href: 'https://esphome.io/projects/index.html?type=media',
197-
label: 'Open Installer',
229+
label: 'Open installer',
198230
icon: '/svgs/install.svg',
199231
},
200232
{
201233
title: 'Source code',
202234
description:
203235
'View known, tested devices and configurations for ESPHome media players',
204236
href: 'https://github.com/esphome/media-players',
205-
label: 'Open Repository',
237+
label: 'Open repository',
206238
variant: 'secondary',
207239
icon: '/svgs/github.svg',
208240
},
@@ -211,27 +243,27 @@ export const mediaPlayerDetails: DetailsConfig = {
211243

212244
export const bluetoothProxyDetails: DetailsConfig = {
213245
hero: {
214-
title: 'ESPHome Bluetooth Proxy',
246+
title: 'ESPHome Bluetooth proxy',
215247
subtitle: 'Extend Bluetooth reach for Home Assistant',
216248
description:
217249
'Turn ESP32 devices into Bluetooth proxies that forward BLE traffic to Home Assistant, improving coverage and reliability.',
218250
},
219251
actions: [
220252
{
221253
variant: 'primary',
222-
title: 'Install (Ready‑Made Projects)',
254+
title: 'Install (ready‑made projects)',
223255
description:
224256
'Use the browser installer to flash a supported Bluetooth proxy device',
225257
href: 'https://esphome.io/projects/index.html?type=bluetooth',
226-
label: 'Open Installer',
258+
label: 'Open installer',
227259
icon: '/svgs/install.svg',
228260
},
229261
{
230262
title: 'Source code',
231263
description:
232264
'View known, tested devices and configurations for Bluetooth proxies',
233265
href: 'https://github.com/esphome/bluetooth-proxies',
234-
label: 'Open Repository',
266+
label: 'Open repository',
235267
variant: 'secondary',
236268
icon: '/svgs/github.svg',
237269
},
@@ -240,26 +272,26 @@ export const bluetoothProxyDetails: DetailsConfig = {
240272

241273
export const emptyESPHomeDetails: DetailsConfig = {
242274
hero: {
243-
title: 'Empty ESPHome Device',
275+
title: 'Empty ESPHome device',
244276
subtitle: 'Start from a clean slate',
245277
description:
246278
'Install a minimal ESPHome firmware with no special features built-in. Perfect starting point to build your own device.',
247279
},
248280
actions: [
249281
{
250282
variant: 'primary',
251-
title: 'Install (Ready‑Made Projects)',
283+
title: 'Install (ready‑made projects)',
252284
description: 'Use the browser installer to flash an empty ESPHome device',
253285
href: 'https://esphome.io/projects/index.html?type=empty',
254-
label: 'Open Installer',
286+
label: 'Open installer',
255287
icon: '/svgs/install.svg',
256288
},
257289
{
258-
title: 'ESPHome Docs',
290+
title: 'ESPHome docs',
259291
description:
260292
'Explore components and configuration options to build your device',
261293
href: 'https://esphome.io/',
262-
label: 'Open Documentation',
294+
label: 'Open documentation',
263295
variant: 'secondary',
264296
icon: '/svgs/github.svg',
265297
},
@@ -279,22 +311,22 @@ export const improvDetails: DetailsConfig = {
279311
title: 'Improv Wi‑Fi',
280312
description: 'Learn about the Improv protocol and supported transports',
281313
href: 'https://www.improv-wifi.com/',
282-
label: 'Open Website',
314+
label: 'Open website',
283315
icon: '/svgs/wifi.svg',
284316
},
285317
{
286-
title: 'BLE Provisioning',
318+
title: 'BLE provisioning',
287319
description: 'Provision devices to Wi‑Fi over Bluetooth Low Energy',
288320
href: 'https://www.improv-wifi.com/ble/',
289321
label: 'Open BLE',
290322
variant: 'secondary',
291323
icon: '/svgs/ble.svg',
292324
},
293325
{
294-
title: 'Serial Provisioning',
326+
title: 'Serial provisioning',
295327
description: 'Provision devices to Wi‑Fi over Serial / Web Serial',
296328
href: 'https://www.improv-wifi.com/serial/',
297-
label: 'Open Serial',
329+
label: 'Open serial',
298330
variant: 'secondary',
299331
icon: '/svgs/serial.svg',
300332
},

src/utils/tools.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const tools: ToolDefinition[] = [
2323
},
2424
{
2525
title: 'Home Assistant Connect ZBT-1',
26-
description: 'Update firmware for your Connect ZBT-1 coordinator',
26+
description: 'Update firmware for your Connect ZBT-1 adapter',
2727
image: '/images/zbt1.jpg',
2828
url: '/zbt1',
2929
},
@@ -35,7 +35,7 @@ export const tools: ToolDefinition[] = [
3535
url: '/esphome',
3636
},
3737
{
38-
title: 'Bluetooth Proxy',
38+
title: 'Bluetooth proxy',
3939
description:
4040
'Create a device to allow Home Assistant to control Bluetooth devices.',
4141
image: '/images/bluetooth-proxy.png',
@@ -48,7 +48,7 @@ export const tools: ToolDefinition[] = [
4848
url: '/empty-esphome',
4949
},
5050
{
51-
title: 'Media Player',
51+
title: 'Media player',
5252
description: 'Create an internet connected smart media player.',
5353
image: '/images/media-player.png',
5454
url: '/media-player',
@@ -60,7 +60,7 @@ export const tools: ToolDefinition[] = [
6060
url: '/improv',
6161
},
6262
{
63-
title: 'WLED Installer',
63+
title: 'WLED installer',
6464
description: 'Install WLED firmware on ESP32/ESP8266 for LED control',
6565
image: '/images/wled.png',
6666
url: 'https://install.wled.me/',

0 commit comments

Comments
 (0)