Mercurial > code > home > repos > pi_mqtt
comparison src/main.ts @ 0:3989f073ed9e
start. hardcoded motion light in garage
author | drewp@bigasterisk.com |
---|---|
date | Thu, 24 Aug 2023 16:28:05 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3989f073ed9e |
---|---|
1 import { LitElement, TemplateResult, css, html } from "lit"; | |
2 import { customElement, queryAsync, state } from "lit/decorators.js"; | |
3 | |
4 @customElement("pm-page") | |
5 export class PmPage extends LitElement { | |
6 static styles = [ | |
7 css` | |
8 :host { | |
9 display: flex; | |
10 flex-direction: column; | |
11 height: 100vh; | |
12 } | |
13 `]; | |
14 | |
15 render() { | |
16 return html` | |
17 pm-page element | |
18 `; | |
19 } | |
20 } |