mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-07 01:14:42 +00:00
Refactor desk outlet
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
hello_world:
|
||||
module: hello
|
||||
class: HelloWorld
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
hello_world:
|
||||
module: hello
|
||||
class: HelloWorld
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
import hassapi as hass
|
||||
#
|
||||
# Hello World App
|
||||
#
|
||||
# Args:
|
||||
#
|
||||
|
||||
class HelloWorld(hass.Hass):
|
||||
|
||||
def initialize(self):
|
||||
self.log("Hello from AppDaemon")
|
||||
self.log("You are now ready to run Apps!")
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Main arguments, all optional
|
||||
#
|
||||
title: Hello Panel
|
||||
widget_dimensions: [120, 120]
|
||||
widget_margins: [5, 5]
|
||||
columns: 8
|
||||
|
||||
label:
|
||||
widget_type: label
|
||||
text: Hello World
|
||||
|
||||
layout:
|
||||
- label(2x2)
|
||||
Reference in New Issue
Block a user