You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
Add custom url in config, refactoring and code optimization (#12)
* Use config correctly
* Format imports
* Remove unused code
* Use super class for duplicate code and code cleanup
* Reduce request amount and code cleanup
* Add .gitignore
* Add field that custom url can be defined and Revert config change
* Update README.md
* Removed unnecessary "warnings"
* Minor adjustments and version bump
* Delete .gitignore
* Added clarification about urls
Copy file name to clipboardExpand all lines: README.md
+44-24Lines changed: 44 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,34 +3,12 @@
3
3
A component which allows you to track and update your custom cards and components.\
4
4
**To get the best use for this component, use it together with the [tracker-card](https://github.com/custom-cards/tracker-card)**
5
5
6
-
## ⚠️ This will **ONLY** work if your components and/or cards/elements is from
7
-
8
-
-https://github.com/custom-cards
9
-
-https://github.com/custom-components
10
-
-https://github.com/ciotlosm/custom-lovelace
11
-
12
-
***
13
-
14
-
## ⚠️ See here **if** you have used an earlier version of this
15
-
16
-
Before you install this version make sure that you remove these files (if you have them):
17
-
18
-
-`/custom_components/custom_components.py`
19
-
-`/custom_components/custom_cards.py`
20
-
-`/custom_components/sensor/custom_components.py`
21
-
-`/custom_components/sensor/custom_cards.py`
22
-
23
-
And remove `custom_components` and `custom_cards` from your `configuration.yaml`
24
-
25
-
***
26
-
27
6
## Installation
28
7
29
8
### Step 1
30
9
31
10
Install this component by copying `/custom_components/custom_updater.py` from this repo to `<config directory>/custom_components/custom_updater.py` on your Home Assistant instanse.
32
11
33
-
34
12
### Step 2
35
13
36
14
Add this to your `configuration.yaml`
@@ -43,11 +21,53 @@ custom_updater:
43
21
44
22
| key | default | required | description
45
23
| --- | --- | --- | ---
46
-
| **track** | both | no | A list of what you want this component to track, possible values are `cards`/`components`
47
-
| **hide_sensor** | False | no | Option to set the sensors to be `hidden`, possible values are `True` / `False`
24
+
| **track** | both | no | A list of what you want this component to track, possible values are `cards`/`components`.
25
+
| **hide_sensor** | False | no | Option to set the sensors to be `hidden`, possible values are `True` / `False`.
26
+
| **card_urls** | Empty | no | A list of additional urls to json with card info.
27
+
| **component_urls** | Empty | no | A list of additional urls to json with component info.
28
+
29
+
The component uses these json files to check for updates by default:
0 commit comments