-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathindex.js
More file actions
65 lines (62 loc) · 2.24 KB
/
index.js
File metadata and controls
65 lines (62 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import Link from '@docusaurus/Link'
import clsx from 'clsx'
import Heading from '@theme/Heading'
import styles from './styles.module.css'
import WWHA from '@site/static/img/wwha-badge.png'
const FeatureList = [
{
title: 'Local.',
description: (
<>
The HomeWizard API is available on your local network. This means that you can use it without an internet connection. You can even turn off the connection with the <Link to='/docs/v1/system'>cloud</Link>.
</>
)
},
{
title: 'Easy to use.',
description: (
<>
The API is easy to use. You can use it with any programming language that supports HTTP requests. Use our official <Link to='https://github.com/homewizard/python-homewizard-energy'>Python library</Link> or{' '}
<Link to='https://github.com/homewizard/swift-homewizard-energy'>Swift package</Link> to get some examples.
</>
)
},
{
title: 'Integratable.',
description: (
<>
The API allows to integrate with other smart home solutions, like <Link to='https://www.home-assistant.io/integrations/homewizard/'>Home Assistant</Link>.
<br />
<br />
<Link to='https://www.home-assistant.io/integrations/homewizard/'>
<img src={WWHA} height='75' width='300' alt='HomeWizard works locally with Home Assistant (badge)' />
</Link>
</>
)
}
]
function Feature({ title, description }) {
return (
<div className={clsx('col col--4')}>
<div className='text--center padding-horiz--md'>
<Heading as='h3' className='feature-title'>
{title}
</Heading>
<p>{description}</p>
</div>
</div>
)
}
export default function HomepageFeatures() {
return (
<section className={styles.features}>
<div className='container'>
<div className='row'>
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
)
}