├── 01.gif ├── README.md ├── dist ├── colorfulclouds-weather-card.js └── icons │ ├── animated │ ├── CLEAR_DAY.svg │ ├── CLEAR_NIGHT.svg │ ├── CLOUDY.svg │ ├── DUST.svg │ ├── FOG.svg │ ├── HEAVY_HAZE.svg │ ├── HEAVY_RAIN.svg │ ├── HEAVY_SNOW.svg │ ├── LIGHT_HAZE.svg │ ├── LIGHT_RAIN.svg │ ├── LIGHT_SNOW.svg │ ├── MODERATE_HAZE.svg │ ├── MODERATE_RAIN.svg │ ├── MODERATE_SNOW.svg │ ├── PARTLY_CLOUDY_DAY.svg │ ├── PARTLY_CLOUDY_NIGHT.svg │ ├── SAND.svg │ ├── STORM_RAIN.svg │ ├── STORM_SNOW.svg │ └── WIND.svg │ └── animated1 │ ├── CLEAR_DAY.svg │ ├── CLEAR_NIGHT.svg │ ├── CLOUDY.svg │ ├── DUST.svg │ ├── FOG.svg │ ├── HEAVY_HAZE.svg │ ├── HEAVY_RAIN.svg │ ├── HEAVY_SNOW.svg │ ├── LIGHT_HAZE.svg │ ├── LIGHT_RAIN.svg │ ├── LIGHT_SNOW.svg │ ├── MODERATE_HAZE.svg │ ├── MODERATE_RAIN.svg │ ├── MODERATE_SNOW.svg │ ├── PARTLY_CLOUDY_DAY.svg │ ├── PARTLY_CLOUDY_NIGHT.svg │ ├── SAND.svg │ ├── STORM_RAIN.svg │ ├── STORM_SNOW.svg │ └── WIND.svg └── hacs.json /01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fineemb/lovelace-colorfulclouds-weather-card/bf8fed8b73c99627af959e24a94af79cced53e33/01.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 9 | 10 | # Lovelace Colorfulclouds Weather Card 11 | 12 | [![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/custom-components/hacs) 13 | 14 | 这是一个适用于[天气预报集成](https://github.com/fineemb/Colorfulclouds-weather)的Lovelace卡片 15 | 16 | + 支持15天天气预报的展示 17 | + 支持小时详细预报 18 | + 支持降雨量和云量以及温度的可视化效果 19 | 20 | ## 更新 21 | 22 | + v1.0 23 | + 首次发布 24 | 25 | + v1.1 26 | + 修复一些路径问题 27 | + UI细微调整 28 | 29 | + v1.2 30 | 31 | + 合并小时预报 32 | + 修正气压单位问题 33 | + 增加前端UI配置卡片 34 | + 更新小时预报UI 35 | + 可自定义第三方的图标集 36 | + v1.3 37 | + 优化时间预报UI细节 38 | + 增加一套灰色图标 39 | + v1.3.1 40 | + 某些情况下消灭滚动条 41 | + v1.3.2 42 | + 修复“今天”不显示的问题 43 | + v1.3.3 44 | + 更改适配插件 45 | + v2.0.0 46 | + 搭配[天气预报集成](https://github.com/fineemb/Colorfulclouds-weather)同步更新 47 | 48 | ## 预览 49 | ![](01.gif) 50 | 51 | ## 图标 52 | 53 | ### 默认 54 | ![](/dist/icons/animated/CLEAR_DAY.svg) 55 | ![](/dist/icons/animated/CLEAR_NIGHT.svg) 56 | 57 | ![](/dist/icons/animated/DUST.svg) 58 | ![](/dist/icons/animated/FOG.svg) 59 | ![](/dist/icons/animated/WIND.svg) 60 | 61 | ![](/dist/icons/animated/LIGHT_HAZE.svg) 62 | ![](/dist/icons/animated/MODERATE_HAZE.svg) 63 | ![](/dist/icons/animated/HEAVY_HAZE.svg) 64 | 65 | ![](/dist/icons/animated/LIGHT_SNOW.svg) 66 | ![](/dist/icons/animated/MODERATE_SNOW.svg) 67 | ![](/dist/icons/animated/HEAVY_SNOW.svg) 68 | ![](/dist/icons/animated/STORM_SNOW.svg) 69 | 70 | 71 | ![](/dist/icons/animated/LIGHT_RAIN.svg) 72 | ![](/dist/icons/animated/MODERATE_RAIN.svg) 73 | ![](/dist/icons/animated/HEAVY_RAIN.svg) 74 | ![](/dist/icons/animated/STORM_RAIN.svg) 75 | 76 | ![](/dist/icons/animated/CLOUDY.svg) 77 | ![](/dist/icons/animated/PARTLY_CLOUDY_DAY.svg) 78 | ![](/dist/icons/animated/PARTLY_CLOUDY_NIGHT.svg) 79 | ![](/dist/icons/animated/SAND.svg) 80 | 81 | ### 灰色 82 | 83 | ![](/dist/icons/animated1/CLEAR_DAY.svg) 84 | ![](/dist/icons/animated1/CLEAR_NIGHT.svg) 85 | 86 | ![](/dist/icons/animated1/DUST.svg) 87 | ![](/dist/icons/animated1/FOG.svg) 88 | ![](/dist/icons/animated1/WIND.svg) 89 | 90 | ![](/dist/icons/animated1/LIGHT_HAZE.svg) 91 | ![](/dist/icons/animated1/MODERATE_HAZE.svg) 92 | ![](/dist/icons/animated1/HEAVY_HAZE.svg) 93 | 94 | ![](/dist/icons/animated1/LIGHT_SNOW.svg) 95 | ![](/dist/icons/animated1/MODERATE_SNOW.svg) 96 | ![](/dist/icons/animated1/HEAVY_SNOW.svg) 97 | ![](/dist/icons/animated1/STORM_SNOW.svg) 98 | 99 | 100 | ![](/dist/icons/animated1/LIGHT_RAIN.svg) 101 | ![](/dist/icons/animated1/MODERATE_RAIN.svg) 102 | ![](/dist/icons/animated1/HEAVY_RAIN.svg) 103 | ![](/dist/icons/animated1/STORM_RAIN.svg) 104 | 105 | ![](/dist/icons/animated1/CLOUDY.svg) 106 | ![](/dist/icons/animated1/PARTLY_CLOUDY_DAY.svg) 107 | ![](/dist/icons/animated1/PARTLY_CLOUDY_NIGHT.svg) 108 | ![](/dist/icons/animated1/SAND.svg) 109 | 110 | 111 | ## HACS 安装 112 | 113 | 搜索Colorfulclouds weather card, 或者手动添加地址安装 114 | 115 | ## 配置 116 | 117 | 使用HACS安装后,可以在前端`编辑仪表盘-右下角+按钮` 添加和配置卡片 118 | 小时预报中的三个条状信息: 119 | + 第一条是温度,会根据这个时间段内的温差来显示不同的颜色 120 | + 第二条是云量,越蓝云层越多,反之越白 121 | + 第三条是降雨,颜色越深雨越大 122 | -------------------------------------------------------------------------------- /dist/icons/animated/CLEAR_NIGHT.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | -------------------------------------------------------------------------------- /dist/icons/animated/CLOUDY.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | -------------------------------------------------------------------------------- /dist/icons/animated/HEAVY_RAIN.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | -------------------------------------------------------------------------------- /dist/icons/animated/HEAVY_SNOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | -------------------------------------------------------------------------------- /dist/icons/animated/LIGHT_RAIN.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /dist/icons/animated/LIGHT_SNOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | -------------------------------------------------------------------------------- /dist/icons/animated/MODERATE_RAIN.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /dist/icons/animated/MODERATE_SNOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /dist/icons/animated/PARTLY_CLOUDY_DAY.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /dist/icons/animated/PARTLY_CLOUDY_NIGHT.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | -------------------------------------------------------------------------------- /dist/icons/animated/STORM_RAIN.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /dist/icons/animated/STORM_SNOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | -------------------------------------------------------------------------------- /dist/icons/animated1/CLEAR_DAY.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | -------------------------------------------------------------------------------- /dist/icons/animated1/CLEAR_NIGHT.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | -------------------------------------------------------------------------------- /dist/icons/animated1/CLOUDY.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | -------------------------------------------------------------------------------- /dist/icons/animated1/FOG.svg: -------------------------------------------------------------------------------- 1 | 2 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | -------------------------------------------------------------------------------- /dist/icons/animated1/HEAVY_HAZE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 139 | 140 | 141 | 142 | 143 | 146 | 147 | 148 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | -------------------------------------------------------------------------------- /dist/icons/animated1/HEAVY_RAIN.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /dist/icons/animated1/HEAVY_SNOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 49 | 51 | 55 | 57 | 61 | 62 | 64 | 66 | 69 | 70 | 71 | 233 | 234 | 237 | 240 | 243 | 248 | 249 | 253 | 256 | 267 | 278 | 289 | 300 | 301 | 302 | 306 | 309 | 320 | 331 | 342 | 353 | 354 | 355 | 356 | 357 | 358 | -------------------------------------------------------------------------------- /dist/icons/animated1/LIGHT_HAZE.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 49 | 51 | 55 | 57 | 61 | 62 | 64 | 66 | 69 | 70 | 71 | 164 | 165 | 168 | 171 | 174 | 179 | 180 | 183 | 188 | 189 | 190 | 191 | 192 | -------------------------------------------------------------------------------- /dist/icons/animated1/LIGHT_RAIN.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 30 | 50 | 52 | 56 | 58 | 62 | 63 | 65 | 67 | 70 | 71 | 72 | 166 | 167 | 170 | 173 | 176 | 181 | 182 | 183 | 186 | 198 | 199 | 200 | 201 | -------------------------------------------------------------------------------- /dist/icons/animated1/LIGHT_SNOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | s 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | -------------------------------------------------------------------------------- /dist/icons/animated1/MODERATE_HAZE.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 104 | 105 | 106 | 107 | 108 | 111 | 112 | 113 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /dist/icons/animated1/MODERATE_RAIN.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 49 | 51 | 55 | 57 | 61 | 62 | 64 | 66 | 69 | 70 | 71 | 165 | 166 | 169 | 172 | 175 | 180 | 181 | 182 | 185 | 198 | 211 | 212 | 213 | 214 | -------------------------------------------------------------------------------- /dist/icons/animated1/MODERATE_SNOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | 20 | 22 | image/svg+xml 23 | 25 | 26 | 27 | 28 | 29 | 49 | 51 | 55 | 57 | 61 | 62 | 64 | 66 | 69 | 70 | 71 | 233 | 234 | 237 | 240 | 243 | 248 | 249 | 252 | 255 | 266 | 277 | 288 | 299 | 300 | 301 | 302 | 303 | 304 | -------------------------------------------------------------------------------- /dist/icons/animated1/PARTLY_CLOUDY_DAY.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | -------------------------------------------------------------------------------- /dist/icons/animated1/PARTLY_CLOUDY_NIGHT.svg: -------------------------------------------------------------------------------- 1 | 2 | 20 | 22 | 23 | 25 | image/svg+xml 26 | 28 | 29 | 30 | 31 | 32 | 52 | 54 | 58 | 60 | 64 | 65 | 67 | 69 | 72 | 73 | 74 | 269 | 273 | 275 | 279 | 280 | 282 | 284 | 287 | 288 | 289 | 290 | 293 | 296 | 301 | 303 | 306 | 312 | 313 | 316 | 323 | 324 | 327 | 334 | 335 | 336 | 337 | 341 | 346 | 347 | 348 | 349 | 350 | -------------------------------------------------------------------------------- /dist/icons/animated1/STORM_RAIN.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /dist/icons/animated1/STORM_SNOW.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | -------------------------------------------------------------------------------- /hacs.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Colorfulclouds Weather Card", 3 | "render_readme": true, 4 | "filename":"colorfulclouds-weather-card.js", 5 | "country": ["CN"] 6 | } 7 | --------------------------------------------------------------------------------