Skip to content

Home Information - Your home, your data, organized.

Python

Improved SVG icon for sprinkler valve entity type.

Anthony Cassandraeafc6c00378a
diff --git a/src/hi/apps/entity/templates/entity/svg/type.sprinkler_valve.svg b/src/hi/apps/entity/templates/entity/svg/type.sprinkler_valve.svg
index 6856d20b..7f597793 100644
--- a/src/hi/apps/entity/templates/entity/svg/type.sprinkler_valve.svg
+++ b/src/hi/apps/entity/templates/entity/svg/type.sprinkler_valve.svg
@@ -1,301 +1,33 @@
<rect class="hi-entity-bg" x="0" y="0" width="64" height="64" fill="none"/>
- <path class="hi-entity-sprinkler-valve-background"
- fill="#c0c0c0" stroke="black" stroke-width="0"
- d="M 29.63,6.72
- C 30.32,6.55 32.77,6.61 33.62,6.63
- 34.07,6.63 34.49,6.64 34.78,7.03
- 35.13,7.49 34.99,9.23 35.00,9.88
- 35.01,10.19 34.99,10.55 35.29,10.75
- 35.52,10.90 35.98,10.87 36.25,10.88
- 36.25,10.88 40.00,10.88 40.00,10.88
- 40.74,10.88 41.56,10.94 42.25,10.63
- 42.90,10.34 43.46,9.63 44.00,9.15
- 45.00,8.25 45.90,7.78 47.25,7.72
- 49.75,7.60 51.97,9.60 52.00,12.12
- 52.00,12.12 52.00,14.38 52.00,14.38
- 52.00,14.38 52.00,15.62 52.00,15.62
- 51.98,17.01 51.25,18.37 50.12,19.17
- 49.79,19.41 49.27,19.65 48.88,19.79
- 48.23,20.01 47.92,20.01 47.25,20.00
- 45.93,19.98 44.84,19.35 43.88,18.48
- 43.40,18.05 42.93,17.48 42.38,17.18
- 41.65,16.78 40.80,16.88 40.00,16.88
- 40.00,16.88 36.00,16.88 36.00,16.88
- 34.74,16.90 34.97,17.64 35.00,19.50
- 35.03,21.06 35.96,20.14 36.72,20.72
- 37.17,21.06 37.12,21.62 37.12,22.12
- 37.12,22.12 37.12,24.88 37.12,24.88
- 37.12,25.24 37.14,25.65 36.94,25.97
- 36.48,26.75 35.48,26.26 35.13,26.79
- 35.00,26.98 35.00,27.28 35.00,27.50
- 34.99,27.90 34.92,28.62 35.29,28.87
- 35.67,29.12 36.46,28.83 36.91,29.41
- 37.24,29.84 37.12,31.41 37.13,32.00
- 37.13,32.00 37.13,32.62 37.13,32.62
- 37.31,33.65 38.31,32.95 38.95,33.56
- 39.30,33.90 39.25,34.43 39.25,34.88
- 39.25,34.88 39.25,38.88 39.25,38.88
- 39.25,39.24 39.19,40.18 39.38,40.46
- 39.61,40.81 40.14,40.75 40.50,40.74
- 40.50,40.74 44.88,40.74 44.88,40.74
- 44.88,40.74 45.50,40.74 45.50,40.74
- 46.53,40.57 45.84,39.52 46.34,38.95
- 46.66,38.58 47.19,38.63 47.62,38.62
- 47.62,38.62 50.50,38.62 50.50,38.62
- 50.93,38.63 51.47,38.58 51.78,38.95
- 52.28,39.52 51.60,40.57 52.63,40.74
- 52.63,40.74 53.25,40.74 53.25,40.74
- 53.25,40.74 62.12,40.74 62.12,40.74
- 63.42,40.75 63.75,40.91 63.75,42.25
- 63.75,42.25 63.75,52.00 63.75,52.00
- 63.75,52.73 63.96,54.59 63.36,55.03
- 63.01,55.28 62.53,55.25 62.12,55.26
- 62.12,55.26 53.25,55.26 53.25,55.26
- 53.25,55.26 52.63,55.26 52.63,55.26
- 51.60,55.43 52.28,56.48 51.78,57.05
- 51.47,57.42 50.93,57.37 50.50,57.38
- 50.50,57.38 47.62,57.38 47.62,57.38
- 47.28,57.37 46.83,57.40 46.53,57.21
- 45.84,56.78 46.35,55.88 45.93,55.45
- 45.68,55.21 45.19,55.25 44.88,55.26
- 44.88,55.26 19.12,55.26 19.12,55.26
- 19.12,55.26 18.50,55.26 18.50,55.26
- 17.47,55.43 18.16,56.48 17.66,57.05
- 17.34,57.42 16.81,57.37 16.38,57.38
- 16.38,57.38 12.63,57.31 12.63,57.31
- 12.07,57.13 12.07,56.72 11.72,56.50
- 11.46,56.35 11.04,56.38 10.75,56.37
- 10.75,56.37 2.00,56.37 2.00,56.37
- 0.58,56.37 0.25,56.19 0.25,54.75
- 0.25,54.75 0.25,44.12 0.25,44.12
- 0.25,43.38 0.04,41.41 0.64,40.97
- 0.99,40.72 1.47,40.75 1.88,40.74
- 1.88,40.74 10.75,40.74 10.75,40.74
- 10.75,40.74 11.37,40.74 11.37,40.74
- 12.40,40.57 11.72,39.52 12.22,38.95
- 12.53,38.58 13.07,38.63 13.50,38.62
- 13.50,38.62 16.38,38.62 16.38,38.62
- 16.81,38.63 17.34,38.58 17.66,38.95
- 18.16,39.52 17.47,40.57 18.50,40.74
- 18.50,40.74 19.00,40.74 19.00,40.74
- 19.00,40.74 22.88,40.74 22.88,40.74
- 23.24,40.75 24.18,40.81 24.46,40.62
- 24.81,40.39 24.75,39.86 24.75,39.50
- 24.75,39.50 24.75,34.88 24.75,34.88
- 24.75,34.19 24.70,33.56 25.50,33.32
- 25.92,33.20 26.40,33.33 26.68,33.05
- 27.00,32.73 26.87,31.12 26.88,30.62
- 26.88,29.94 26.83,29.31 27.63,29.07
- 28.04,28.95 28.52,29.08 28.80,28.80
- 29.06,28.54 29.01,27.85 29.00,27.50
- 28.97,25.99 28.09,26.82 27.30,26.24
- 26.83,25.89 26.88,25.27 26.88,24.75
- 26.88,24.75 26.88,22.00 26.88,22.00
- 26.88,21.68 26.86,21.30 27.02,21.01
- 27.47,20.21 28.38,20.72 28.80,20.30
- 29.04,20.06 29.00,19.57 29.00,19.25
- 29.00,18.74 29.15,17.29 28.71,17.00
- 28.48,16.85 28.02,16.88 27.75,16.88
- 27.75,16.88 22.25,16.88 22.25,16.88
- 19.84,16.88 19.85,18.04 18.12,19.22
- 16.50,20.34 14.18,20.26 12.63,19.04
- 12.09,18.61 11.72,18.11 11.41,17.50
- 11.04,16.76 10.89,16.07 10.88,15.25
- 10.85,12.82 10.54,10.06 12.88,8.51
- 13.25,8.26 13.70,8.06 14.12,7.92
- 14.73,7.72 15.12,7.74 15.75,7.75
- 16.75,7.76 17.73,8.15 18.50,8.79
- 19.25,9.41 19.71,10.12 20.62,10.58
- 21.62,11.07 24.52,10.88 25.75,10.87
- 25.75,10.87 28.00,10.87 28.00,10.87
- 28.27,10.87 28.60,10.88 28.80,10.68
- 29.04,10.43 29.00,9.94 29.00,9.62
- 29.00,9.08 28.92,7.55 29.15,7.14
- 29.29,6.88 29.39,6.86 29.63,6.72 Z" />
- <path class="hi-entity-sprinkler-valve-handle"
- fill="red" stroke="black" stroke-width="0"
- d="M 15.00,9.43
- C 17.12,9.15 17.74,10.60 19.25,11.69
- 20.19,12.37 21.35,12.61 22.50,12.62
- 22.50,12.62 40.25,12.62 40.25,12.62
- 41.54,12.62 42.83,12.37 43.88,11.56
- 44.96,10.72 45.57,9.49 47.25,9.39
- 47.59,9.37 47.93,9.40 48.25,9.49
- 50.73,10.17 50.38,12.76 50.38,14.75
- 50.37,15.37 50.33,16.18 50.05,16.75
- 49.39,18.12 47.76,18.64 46.38,18.15
- 45.25,17.76 44.58,16.68 43.75,16.08
- 42.72,15.33 41.62,15.13 40.38,15.12
- 40.38,15.12 22.50,15.12 22.50,15.12
- 21.27,15.13 20.13,15.38 19.12,16.13
- 17.87,17.08 17.06,18.53 15.25,18.34
- 14.07,18.21 12.98,17.45 12.69,16.25
- 12.59,15.82 12.62,14.52 12.62,14.00
- 12.62,12.35 12.32,10.76 14.00,9.78
- 14.34,9.58 14.63,9.52 15.00,9.43 Z" />
- <path class="hi-entity-sprinkler-valve-lines"
- fill="#202040" stroke="black" stroke-width="0"
- d="M 28.75,10.62
- C 28.75,10.62 28.75,7.88 28.75,7.88
- 28.75,7.49 28.73,7.12 28.99,6.79
- 29.29,6.40 29.67,6.38 30.12,6.38
- 30.12,6.38 33.62,6.38 33.62,6.38
- 34.04,6.38 34.48,6.34 34.83,6.61
- 35.29,6.97 35.25,7.48 35.25,8.00
- 35.25,8.00 35.25,10.62 35.25,10.62
- 35.25,10.62 39.50,10.62 39.50,10.62
- 40.32,10.62 41.23,10.71 42.00,10.38
- 42.96,9.98 43.48,9.17 44.25,8.54
- 45.07,7.86 46.55,7.31 47.62,7.41
- 48.22,7.47 48.82,7.58 49.38,7.81
- 52.51,9.08 52.41,12.05 52.37,14.88
- 52.37,15.63 52.23,16.68 51.94,17.38
- 51.19,19.22 49.24,20.44 47.25,20.31
- 46.07,20.23 45.18,19.95 44.25,19.19
- 43.42,18.52 42.91,17.72 41.88,17.31
- 41.21,17.05 40.23,17.12 39.50,17.12
- 39.50,17.12 35.25,17.12 35.25,17.12
- 35.25,17.12 35.25,20.25 35.25,20.25
- 35.80,20.25 36.66,20.15 37.07,20.55
- 37.51,21.00 37.38,22.26 37.38,22.88
- 37.38,23.45 37.44,25.60 37.28,26.00
- 37.19,26.22 37.06,26.38 36.86,26.52
- 36.43,26.81 35.75,26.75 35.25,26.75
- 35.25,26.75 35.25,28.75 35.25,28.75
- 35.77,28.75 36.52,28.68 36.96,29.00
- 37.42,29.35 37.37,29.86 37.38,30.38
- 37.38,30.38 37.38,33.00 37.38,33.00
- 37.98,33.00 38.84,32.90 39.26,33.42
- 39.60,33.85 39.50,34.95 39.50,35.50
- 39.50,35.50 39.50,40.50 39.50,40.50
- 39.50,40.50 45.75,40.50 45.75,40.50
- 45.75,39.92 45.70,39.11 46.16,38.68
- 46.53,38.33 47.03,38.38 47.50,38.38
- 47.50,38.38 50.75,38.38 50.75,38.38
- 51.19,38.38 51.62,38.36 51.96,38.68
- 52.42,39.11 52.37,39.92 52.38,40.50
- 52.38,40.50 61.00,40.50 61.00,40.50
- 61.76,40.50 63.43,40.27 63.85,41.01
- 64.03,41.32 64.00,41.78 64.00,42.12
- 64.00,42.12 64.00,52.25 64.00,52.25
- 64.00,53.05 64.27,54.92 63.49,55.35
- 63.18,55.53 62.72,55.50 62.38,55.50
- 62.38,55.50 52.38,55.50 52.38,55.50
- 52.37,56.08 52.42,56.89 51.96,57.32
- 51.65,57.62 51.28,57.62 50.88,57.62
- 50.88,57.62 47.25,57.62 47.25,57.62
- 46.85,57.62 46.48,57.62 46.16,57.32
- 45.70,56.89 45.75,56.08 45.75,55.50
- 45.75,55.50 18.25,55.50 18.25,55.50
- 18.25,56.04 18.29,56.79 17.93,57.22
- 17.41,57.85 15.20,57.62 14.38,57.62
- 13.34,57.62 11.97,57.95 11.75,56.62
- 11.75,56.62 1.75,56.62 1.75,56.62
- 0.38,56.62 0.00,56.40 0.00,55.00
- 0.00,55.00 0.00,44.00 0.00,44.00
- 0.00,43.23 -0.21,41.18 0.40,40.72
- 0.74,40.46 1.23,40.50 1.62,40.50
- 1.62,40.50 11.62,40.50 11.62,40.50
- 11.63,39.92 11.58,39.11 12.04,38.68
- 12.35,38.38 12.72,38.38 13.12,38.38
- 13.12,38.38 16.75,38.38 16.75,38.38
- 17.15,38.38 17.52,38.38 17.84,38.68
- 18.30,39.11 18.25,39.92 18.25,40.50
- 18.25,40.50 24.50,40.50 24.50,40.50
- 24.50,40.50 24.50,35.50 24.50,35.50
- 24.50,34.95 24.40,33.85 24.74,33.42
- 25.16,32.90 26.02,33.00 26.63,33.00
- 26.63,33.00 26.63,30.12 26.63,30.12
- 26.63,29.68 26.65,29.30 27.04,29.00
- 27.48,28.68 28.23,28.75 28.75,28.75
- 28.75,28.75 28.75,26.75 28.75,26.75
- 28.25,26.75 27.57,26.81 27.14,26.52
- 26.94,26.38 26.81,26.22 26.72,26.00
- 26.56,25.60 26.62,23.45 26.62,22.88
- 26.62,22.26 26.49,21.00 26.93,20.55
- 27.34,20.15 28.20,20.25 28.75,20.25
- 28.75,20.25 28.75,17.13 28.75,17.13
- 28.75,17.13 22.25,17.13 22.25,17.13
- 20.27,17.15 20.04,18.18 18.62,19.24
- 17.71,19.93 16.88,20.23 15.75,20.31
- 12.94,20.50 10.66,18.27 10.63,15.50
- 10.59,12.56 10.18,9.21 13.50,7.81
- 14.05,7.58 14.66,7.47 15.25,7.41
- 16.38,7.30 17.74,7.79 18.62,8.48
- 19.98,9.54 20.34,10.60 22.25,10.62
- 22.25,10.62 28.75,10.62 28.75,10.62 Z
- M 33.00,8.62
- C 33.00,8.62 31.00,8.62 31.00,8.62
- 31.00,8.62 31.00,10.62 31.00,10.62
- 31.00,10.62 33.00,10.62 33.00,10.62
- 33.00,10.62 33.00,8.62 33.00,8.62 Z
- M 15.38,9.67
- C 15.03,9.73 14.69,9.80 14.38,9.94
- 12.45,10.84 12.87,13.26 12.88,15.00
- 12.88,15.39 12.86,15.74 12.97,16.12
- 13.40,17.61 14.92,18.35 16.38,17.90
- 17.36,17.60 18.10,16.54 18.88,15.92
- 19.87,15.12 21.00,14.88 22.25,14.88
- 22.25,14.88 40.75,14.88 40.75,14.88
- 42.06,14.88 43.08,15.16 44.12,15.98
- 45.27,16.87 45.98,18.16 47.62,18.03
- 50.36,17.80 50.15,15.01 50.12,13.00
- 50.11,11.35 49.48,9.86 47.62,9.69
- 46.05,9.55 45.11,11.00 44.00,11.86
- 43.08,12.57 41.90,12.86 40.75,12.87
- 40.75,12.87 22.38,12.87 22.38,12.87
- 21.09,12.87 19.91,12.61 18.88,11.81
- 17.63,10.85 17.19,9.68 15.38,9.67 Z
- M 33.00,17.12
- C 33.00,17.12 31.00,17.12 31.00,17.12
- 31.00,17.12 31.00,20.25 31.00,20.25
- 31.00,20.25 33.00,20.25 33.00,20.25
- 33.00,20.25 33.00,17.12 33.00,17.12 Z
- M 35.12,22.50
- C 35.12,22.50 28.88,22.50 28.88,22.50
- 28.88,22.50 28.88,24.50 28.88,24.50
- 28.88,24.50 35.12,24.50 35.12,24.50
- 35.12,24.50 35.12,22.50 35.12,22.50 Z
- M 33.00,26.75
- C 33.00,26.75 31.00,26.75 31.00,26.75
- 31.00,26.75 31.00,28.75 31.00,28.75
- 31.00,28.75 33.00,28.75 33.00,28.75
- 33.00,28.75 33.00,26.75 33.00,26.75 Z
- M 35.12,31.00
- C 35.12,31.00 28.88,31.00 28.88,31.00
- 28.88,31.00 28.88,33.00 28.88,33.00
- 28.88,33.00 35.12,33.00 35.12,33.00
- 35.12,33.00 35.12,31.00 35.12,31.00 Z
- M 37.25,35.25
- C 37.25,35.25 26.75,35.25 26.75,35.25
- 26.75,35.25 26.75,40.75 26.75,40.75
- 26.75,41.44 26.78,42.09 26.12,42.52
- 25.60,42.85 24.38,42.75 23.75,42.75
- 23.75,42.75 18.25,42.75 18.25,42.75
- 18.25,42.75 18.25,53.25 18.25,53.25
- 18.25,53.25 45.75,53.25 45.75,53.25
- 45.75,53.25 45.75,42.75 45.75,42.75
- 45.75,42.75 40.38,42.75 40.38,42.75
- 39.79,42.75 38.48,42.83 38.00,42.59
- 37.28,42.22 37.25,41.58 37.25,40.88
- 37.25,40.88 37.25,35.25 37.25,35.25 Z
- M 16.00,40.62
- C 16.00,40.62 13.88,40.62 13.88,40.62
- 13.88,40.62 13.88,55.38 13.88,55.38
- 13.88,55.38 16.00,55.38 16.00,55.38
- 16.00,55.38 16.00,40.62 16.00,40.62 Z
- M 50.12,40.62
- C 50.12,40.62 48.00,40.62 48.00,40.62
- 48.00,40.62 48.00,55.38 48.00,55.38
- 48.00,55.38 50.12,55.38 50.12,55.38
- 50.12,55.38 50.12,40.62 50.12,40.62 Z
- M 11.62,42.75
- C 11.62,42.75 2.25,42.75 2.25,42.75
- 2.25,42.75 2.25,54.38 2.25,54.38
- 2.25,54.38 11.62,54.38 11.62,54.38
- 11.62,54.38 11.62,42.75 11.62,42.75 Z
- M 61.75,42.75
- C 61.75,42.75 52.38,42.75 52.38,42.75
- 52.38,42.75 52.38,53.25 52.38,53.25
- 52.38,53.25 61.75,53.25 61.75,53.25
- 61.75,53.25 61.75,42.75 61.75,42.75 Z" />
+
+<!-- Valve body (round plastic housing) -->
+<ellipse cx="32" cy="38" rx="18" ry="12" fill="#2e7d32" stroke="#1b5e20" stroke-width="1.5"/>
+
+<!-- Valve body top surface -->
+<ellipse cx="32" cy="34" rx="18" ry="10" fill="#4caf50" stroke="#2e7d32" stroke-width="1.5"/>
+
+<!-- Solenoid on top -->
+<rect x="26" y="14" width="12" height="18" rx="2" fill="#333" stroke="#222" stroke-width="1.5"/>
+
+<!-- Solenoid cap -->
+<rect x="28" y="10" width="8" height="6" rx="2" fill="#555" stroke="#333" stroke-width="1"/>
+
+<!-- Solenoid wires -->
+<path d="M30,10 C28,6 24,4 20,4" fill="none" stroke="#c0392b" stroke-width="1.5" stroke-linecap="round"/>
+<path d="M34,10 C36,6 40,4 44,4" fill="none" stroke="#333" stroke-width="1.5" stroke-linecap="round"/>
+
+<!-- Flow arrow on body -->
+<path d="M22,34 L30,34" stroke="#fff" stroke-width="1" stroke-linecap="round" opacity="0.6"/>
+<path d="M28,32 L30,34 L28,36" stroke="#fff" stroke-width="1" fill="none" stroke-linecap="round" opacity="0.6"/>
+
+<!-- Pipe connection left -->
+<rect x="2" y="32" width="14" height="8" rx="3" fill="#888" stroke="#555" stroke-width="1"/>
+
+<!-- Pipe connection right -->
+<rect x="48" y="32" width="14" height="8" rx="3" fill="#888" stroke="#555" stroke-width="1"/>
+
+<!-- Bleed screw on top -->
+<circle cx="40" cy="28" r="2" fill="#888" stroke="#555" stroke-width="0.5"/>
+
+<!-- Valve box hint (ground level) -->
+<line x1="4" y1="50" x2="60" y2="50" stroke="#8d6e63" stroke-width="1.5" stroke-dasharray="4,3"/>