forked from ARC-MX/sgcc_electricity_new
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
43 lines (43 loc) · 1017 Bytes
/
config.yaml
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
name: "SGCC Electricity"
version: "v1.6.4"
slug: "sgcc_electricity"
description: "获取国网电费数据的插件"
url: "https://github.com/ARC-MX/sgcc_electricity_new"
arch:
- aarch64
- amd64
host_network: true
startup: application
boot: auto
init: false
image: "registry.cn-hangzhou.aliyuncs.com/arcw/sgcc_electricity-{arch}"
map:
- config:rw
options:
PHONE_NUMBER: ""
PASSWORD: ""
IGNORE_USER_ID: "xxxx,xxxx"
ENABLE_DATABASE_STORAGE: false
DB_NAME: "homeassistant.db"
HASS_URL: "http://homeassistant.local:8123/"
HASS_TOKEN: ""
JOB_START_TIME: "07:00"
RETRY_WAIT_TIME_OFFSET_UNIT: 15
DATA_RETENTION_DAYS: 7
RECHARGE_NOTIFY: false
BALANCE: 5.0
PUSHPLUS_TOKEN: "xxxx,xxxx"
schema:
PHONE_NUMBER: str
PASSWORD: password
IGNORE_USER_ID: str
ENABLE_DATABASE_STORAGE: bool
DB_NAME: str
HASS_URL: url
HASS_TOKEN: str
JOB_START_TIME: str
RETRY_WAIT_TIME_OFFSET_UNIT: int(2,30)
DATA_RETENTION_DAYS: int
RECHARGE_NOTIFY: bool
BALANCE: float
PUSHPLUS_TOKEN: str