Update-deployment (#2281)

* Update deployment

* fix workflow

* Fix order

* restruct v1

* Fix style v2

* Cleanup style v3

* fix style v4

* Last style fix

* Address comments

* Update builder to 2021.11.3

* Fix let's encrypt

* fix lint

* Use ghcr.io

* fix

* Update versions

* fix readme
This commit is contained in:
Pascal Vizeli
2021-11-24 11:43:54 +01:00
committed by GitHub
parent 167da2a0a6
commit 1038602099
4 changed files with 50 additions and 58 deletions

View File

@@ -1,12 +0,0 @@
{
"build_from": {
"aarch64": "homeassistant/aarch64-base:3.13",
"amd64": "homeassistant/amd64-base:3.13",
"armhf": "homeassistant/armhf-base:3.13",
"armv7": "homeassistant/armv7-base:3.13",
"i386": "homeassistant/i386-base:3.13"
},
"args": {
"TELLDUS_COMMIT": "2598bbed16ffd701f2a07c99582f057a3decbaf3"
}
}

11
tellstick/build.yaml Normal file
View File

@@ -0,0 +1,11 @@
build_from:
aarch64: ghcr.io/home-assistant/aarch64-base:3.13
amd64: ghcr.io/home-assistant/amd64-base:3.13
armhf: ghcr.io/home-assistant/armhf-base:3.13
armv7: ghcr.io/home-assistant/armv7-base:3.13
i386: ghcr.io/home-assistant/i386-base:3.13
codenotary:
signer: notary@home-assistant.io
base_image: notary@home-assistant.io
args:
TELLDUS_COMMIT: 2598bbed16ffd701f2a07c99582f057a3decbaf3

View File

@@ -1,46 +0,0 @@
{
"name": "TellStick",
"version": "2.1.0",
"slug": "tellstick",
"description": "TellStick and TellStick Duo service",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/tellstick",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "system",
"stdin": true,
"usb": true,
"options": {
"devices": [
{
"id": 1,
"name": "Example device",
"protocol": "everflourish",
"model": "selflearning-switch",
"house": "A",
"unit": "1"
},
{
"id": 2,
"name": "Example device two",
"protocol": "everflourish",
"model": "selflearning-switch",
"house": "A",
"unit": "2"
}
]
},
"schema": {
"devices": [
{
"id": "int(1,)",
"name": "str",
"protocol": "match(arctech|brateck|comen|everflourish|fineoffset|fuhaote|hasta|ikea|kangtai|mandolyn|oregon|risingsun|sartano|silvanchip|upm|waveman|x10|yidong)",
"model": "match(codeswitch|bell|selflearning-switch|selflearning-dimmer|selflearning|ecosavers|kp100|temperaturehumidity|temperature)?",
"house": "str?",
"code": "str?",
"unit": "str?",
"fade": "str?"
}
]
},
"image": "homeassistant/{arch}-addon-tellstick"
}

39
tellstick/config.yaml Normal file
View File

@@ -0,0 +1,39 @@
version: 2.1.0
slug: tellstick
name: TellStick
description: TellStick and TellStick Duo service
url: https://github.com/home-assistant/hassio-addons/tree/master/tellstick
arch:
- armhf
- armv7
- aarch64
- amd64
- i386
image: homeassistant/{arch}-addon-tellstick
options:
devices:
- house: A
id: 1
model: selflearning-switch
name: Example device
protocol: everflourish
unit: "1"
- house: A
id: 2
model: selflearning-switch
name: Example device two
protocol: everflourish
unit: "2"
schema:
devices:
- code: str?
fade: str?
house: str?
id: int(1,)
model: match(codeswitch|bell|selflearning-switch|selflearning-dimmer|selflearning|ecosavers|kp100|temperaturehumidity|temperature)?
name: str
protocol: match(arctech|brateck|comen|everflourish|fineoffset|fuhaote|hasta|ikea|kangtai|mandolyn|oregon|risingsun|sartano|silvanchip|upm|waveman|x10|yidong)
unit: str?
startup: system
stdin: true
usb: true