uk_bin_collection 0.101.0__py3-none-any.whl → 0.102.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: uk_bin_collection
3
- Version: 0.101.0
3
+ Version: 0.102.0
4
4
  Summary: Python Lib to collect UK Bin Data
5
5
  Author: Robert Bradley
6
6
  Author-email: robbrad182@gmail.com
@@ -98,6 +98,24 @@ This integration can be installed directly via HACS. To install:
98
98
  1. Restart your Home Assistant.
99
99
  1. In the Home Assistant UI go to `Settings` > `Devices & Services` click `+ Add Integration` and search for `UK Bin Collection Data`.
100
100
 
101
+ ### Overriding the Bin Icon and Bin Colour
102
+ We realise it is difficult to set a colour from the councils text for the Bin Type and to keep the integration generic we dont capture colour from a council(not all councils supply this as a field), only bin type and next collection date.
103
+
104
+ When you configure the componenent on the first screen you can set a JSON string to map the bin type to the colour and icon
105
+
106
+ Here is an example to set the colour and icon for the type `Empty Standard General Waste`. This type is the type returned from the council for the bin. You can do this for multiple bins.
107
+
108
+ If you miss this on the first setup you can reconfigure it.
109
+
110
+ ```
111
+ {
112
+ "Empty Standard General Waste":
113
+ {
114
+ "icon": "mdi:trash-can",
115
+ "color": "blue"
116
+ }
117
+ }
118
+
101
119
  ---
102
120
 
103
121
  ## Standalone Usage
@@ -218,8 +218,8 @@ uk_bin_collection/uk_bin_collection/councils/YorkCouncil.py,sha256=I2kBYMlsD4bId
218
218
  uk_bin_collection/uk_bin_collection/councils/council_class_template/councilclasstemplate.py,sha256=4s9ODGPAwPqwXc8SrTX5Wlfmizs3_58iXUtHc4Ir86o,1162
219
219
  uk_bin_collection/uk_bin_collection/create_new_council.py,sha256=m-IhmWmeWQlFsTZC4OxuFvtw5ZtB8EAJHxJTH4O59lQ,1536
220
220
  uk_bin_collection/uk_bin_collection/get_bin_data.py,sha256=YvmHfZqanwrJ8ToGch34x-L-7yPe31nB_x77_Mgl_vo,4545
221
- uk_bin_collection-0.101.0.dist-info/LICENSE,sha256=vABBUOzcrgfaTKpzeo-si9YVEun6juDkndqA8RKdKGs,1071
222
- uk_bin_collection-0.101.0.dist-info/METADATA,sha256=fcu_gjSU7JVGJ-O_7ZXo9HUj1YVcS4JeKJQ-zZnhNDA,16844
223
- uk_bin_collection-0.101.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
224
- uk_bin_collection-0.101.0.dist-info/entry_points.txt,sha256=36WCSGMWSc916S3Hi1ZkazzDKHaJ6CD-4fCEFm5MIao,90
225
- uk_bin_collection-0.101.0.dist-info/RECORD,,
221
+ uk_bin_collection-0.102.0.dist-info/LICENSE,sha256=vABBUOzcrgfaTKpzeo-si9YVEun6juDkndqA8RKdKGs,1071
222
+ uk_bin_collection-0.102.0.dist-info/METADATA,sha256=rCPerqpfjSgcRhFMn1oXiRd7hNoVZ6DLkAKd_KV4zn4,17630
223
+ uk_bin_collection-0.102.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
224
+ uk_bin_collection-0.102.0.dist-info/entry_points.txt,sha256=36WCSGMWSc916S3Hi1ZkazzDKHaJ6CD-4fCEFm5MIao,90
225
+ uk_bin_collection-0.102.0.dist-info/RECORD,,