Implement HA addon config

This commit is contained in:
Edward Brown 2023-08-29 18:27:17 +01:00
parent 9736083149
commit ed87be7a6e
7 changed files with 11 additions and 8 deletions

View file

@ -0,0 +1 @@
# Home Assistant Control Objects

View file

@ -2,6 +2,7 @@ ARG BUILD_FROM
FROM $BUILD_FROM
ARG BUILD_VERSION
RUN apk add --no-cache py3-pip
RUN pip install haco==${BUILD_VERSION}
COPY run.sh /

View file

@ -1 +0,0 @@
../../README.md

0
ha/addon/README.md Symbolic link
View file

View file

@ -4,14 +4,14 @@ arch:
- armhf
- armv7
- i386
description: Python-based controls for Tasmota devices.
description: Home Assistant Control Objects
init: false
map:
- config:rw
name: haco
options:
#panel_icon: mdi:nature-people
schema:
options: { }
panel_icon: mdi:network-pos
schema: { }
services:
- mqtt:need
slug: haco

View file

@ -1,2 +0,0 @@
---
configuration:

3
repository.yaml Normal file
View file

@ -0,0 +1,3 @@
name: haco
url: 'https://github.com/fmtr/haco'
maintainer: Frontmatter <null@frontmatter.ai>

View file

@ -23,7 +23,8 @@ setup(
name: [f'version'],
},
install_requires=[
'aiomqtt'
'aiomqtt',
'pyyaml'
],
extras_require={
'tasmota': [