Skip to content

Home Information - Your home, your data, organized.

Python

Added a few more location styles and entity icons.

Anthony Cassandrae98da686bcf4
diff --git a/src/hi/apps/entity/enums.py b/src/hi/apps/entity/enums.py
index 3e56ced4..a97699d1 100644
--- a/src/hi/apps/entity/enums.py
+++ b/src/hi/apps/entity/enums.py
@@ -16,6 +16,7 @@ class EntityType(LabeledEnum):
AV_RECEIVER = ( 'A/V Receiver', '' ) # Controls Speakers/TV
BAROMETER = ( 'Barometer', '' )
CAMERA = ( 'Camera', '' )
+ CEILING_FAN = ( 'Ceiling Fan', '' )
CLOTHES_DRYER = ( 'Clothes Dryer', '' )
CLOTHES_WASHER = ( 'Clothes Washer', '' )
COMPUTER = ( 'Computer', '' )
@@ -30,6 +31,7 @@ class EntityType(LabeledEnum):
ELECTRICITY_METER = ( 'Electricity Meter', '' )
ELECTRIC_PANEL = ( 'Electric Panel', '' )
ELECTRIC_WIRE = ( 'Electric Wire', '' )
+ EXHAUST_FAN = ( 'Exhaust Fan', '' )
FIREPLACE = ( 'Fireplace', '' )
FURNITURE = ( 'Furniture', '' )
GREENHOUSE = ( 'Greenhouse', '' )
@@ -49,6 +51,7 @@ class EntityType(LabeledEnum):
OPEN_CLOSE_SENSOR = ( 'Open/Close Sensor', '' )
OTHER = ( 'Other', '' ) # Will use generic visual element
OVEN = ( 'Oven', '' )
+ PIPE = ( 'Pipe', '' )
PLANT = ( 'Plant', '' )
POOL_FILTER = ( 'Pool Filter', '' )
PRESENCE_SENSOR = ( 'Presence Sensor', '' )
diff --git a/src/hi/apps/entity/templates/entity/svg/type.ceiling_fan.svg b/src/hi/apps/entity/templates/entity/svg/type.ceiling_fan.svg
new file mode 100644
index 00000000..5c4f7684
--- /dev/null
+++ b/src/hi/apps/entity/templates/entity/svg/type.ceiling_fan.svg
@@ -0,0 +1,113 @@
+<rect class="hi-entity-bg" x="0" y="0" width="64" height="64" fill="none"/>
+ <path class="hi-entity-ceiling-fan-arms"
+ fill="#d0d0d0" stroke="#404060" stroke-width="1"
+ d="M 31.66,27.83
+ C 32.45,27.55 33.02,28.01 32.79,28.59
+ 32.53,29.27 30.61,29.00 31.66,27.83 Z
+ M 26.29,31.76
+ C 27.76,31.15 27.52,32.76 26.94,33.04
+ 26.46,33.26 25.73,32.55 26.29,31.76 Z
+ M 37.09,31.76
+ C 38.31,31.29 38.56,32.69 37.79,32.96
+ 37.17,33.17 36.65,32.44 37.09,31.76 Z
+ M 28.39,38.00
+ C 29.41,37.84 29.85,38.90 29.11,39.27
+ 28.50,39.58 27.61,38.80 28.39,38.00 Z
+ M 35.36,37.99
+ C 36.47,37.93 36.23,39.15 35.66,39.34
+ 35.18,39.50 34.62,39.10 34.69,38.65
+ 34.74,38.29 35.08,38.14 35.36,37.99 Z" />
+ <path class="hi-entity-ceiling-fan-center"
+ fill="#d0d0d0" stroke="#404060" stroke-width="1"
+ d="M 30.94,28.88
+ C 32.26,28.70 33.70,28.75 34.86,29.48
+ 38.55,31.82 38.19,37.11 34.37,38.90
+ 33.43,39.35 32.76,39.30 31.75,39.28
+ 28.21,39.24 25.94,35.50 27.10,32.25
+ 27.72,30.49 29.14,29.31 30.94,28.88 Z" />
+ <path class="hi-entity-ceiling-fan-blades"
+ fill="#291607" stroke="#404060" stroke-width="1"
+ d="M 30.29,1.80
+ C 31.03,1.55 33.71,1.44 34.26,2.03
+ 34.73,2.55 34.70,3.44 34.70,4.09
+ 34.70,4.09 34.70,21.93 34.70,21.93
+ 34.70,21.93 34.70,26.35 34.70,26.35
+ 34.69,26.74 34.71,27.27 34.42,27.56
+ 34.11,27.88 33.48,27.83 33.06,27.83
+ 32.46,27.83 30.12,27.98 29.79,27.56
+ 29.60,27.32 29.63,26.81 29.63,26.52
+ 29.63,26.52 29.63,8.18 29.63,8.18
+ 29.63,8.18 29.63,3.44 29.63,3.44
+ 29.63,2.60 29.60,2.34 30.29,1.80 Z
+ M 2.62,22.04
+ C 3.58,21.97 4.51,22.40 5.40,22.70
+ 5.40,22.70 9.82,24.12 9.82,24.12
+ 9.82,24.12 20.62,27.66 20.62,27.66
+ 20.62,27.66 26.33,29.55 26.33,29.55
+ 26.58,29.70 26.72,29.84 26.78,30.14
+ 26.87,30.61 26.07,32.83 25.86,33.39
+ 25.70,33.82 25.54,34.21 25.03,34.31
+ 24.60,34.39 23.69,34.03 23.24,33.88
+ 23.24,33.88 19.31,32.60 19.31,32.60
+ 19.31,32.60 7.37,28.70 7.37,28.70
+ 7.37,28.70 3.44,27.44 3.44,27.44
+ 2.97,27.29 1.84,26.95 1.48,26.71
+ 1.16,26.49 0.96,26.25 0.87,25.86
+ 0.71,25.16 1.38,22.98 1.87,22.47
+ 2.14,22.18 2.27,22.17 2.62,22.04 Z
+ M 61.05,22.02
+ C 61.47,22.00 61.65,21.97 62.03,22.22
+ 62.91,22.80 63.97,25.81 62.82,26.68
+ 62.40,27.00 61.57,27.18 61.05,27.34
+ 61.05,27.34 57.62,28.48 57.62,28.48
+ 57.62,28.48 45.18,32.52 45.18,32.52
+ 45.18,32.52 41.08,33.83 41.08,33.83
+ 40.62,33.98 39.58,34.39 39.14,34.31
+ 38.56,34.20 38.41,33.55 38.25,33.06
+ 37.91,32.06 36.87,30.07 38.15,29.43
+ 38.15,29.43 41.58,28.31 41.58,28.31
+ 41.58,28.31 47.63,26.35 47.63,26.35
+ 47.63,26.35 55.82,23.68 55.82,23.68
+ 55.82,23.68 61.05,22.02 61.05,22.02 Z
+ M 26.36,37.97
+ C 26.56,37.96 26.52,37.89 26.84,37.97
+ 27.25,38.04 29.25,39.49 29.62,39.83
+ 30.00,40.18 30.31,40.53 30.12,41.08
+ 30.01,41.39 29.36,42.24 29.14,42.56
+ 29.14,42.56 27.01,45.50 27.01,45.50
+ 27.01,45.50 19.27,56.14 19.27,56.14
+ 19.27,56.14 16.77,59.58 16.77,59.58
+ 16.41,60.08 15.95,60.86 15.37,61.10
+ 14.44,61.48 13.64,60.87 12.93,60.35
+ 11.95,59.64 11.21,58.89 11.83,57.62
+ 11.83,57.62 14.78,53.52 14.78,53.52
+ 14.78,53.52 21.56,44.19 21.56,44.19
+ 21.56,44.19 24.53,40.10 24.53,40.10
+ 25.09,39.35 25.56,38.51 26.36,37.97 Z
+ M 37.16,37.96
+ C 38.18,37.69 38.40,38.18 38.98,38.96
+ 38.98,38.96 41.22,42.07 41.22,42.07
+ 41.22,42.07 49.90,54.02 49.90,54.02
+ 49.90,54.02 52.55,57.78 52.55,57.78
+ 52.68,58.08 52.73,58.44 52.68,58.76
+ 52.55,59.70 50.66,61.13 49.76,61.31
+ 49.37,61.38 48.97,61.30 48.64,61.08
+ 48.23,60.80 47.68,60.00 47.37,59.58
+ 47.37,59.58 45.24,56.63 45.24,56.63
+ 45.24,56.63 37.50,45.99 37.50,45.99
+ 37.50,45.99 34.88,42.39 34.88,42.39
+ 34.58,41.98 33.98,41.28 33.96,40.76
+ 33.95,40.24 34.34,39.95 34.71,39.66
+ 35.41,39.11 36.39,38.38 37.16,37.96 Z
+ M 37.81,38.79
+ C 36.76,39.05 35.77,39.98 34.86,40.59
+ 35.31,41.73 37.62,44.65 38.47,45.83
+ 38.47,45.83 46.67,57.13 46.67,57.13
+ 46.67,57.13 48.47,59.58 48.47,59.58
+ 48.71,59.88 49.02,60.32 49.44,60.37
+ 49.91,60.44 50.54,59.91 50.90,59.65
+ 51.22,59.42 51.66,59.14 51.77,58.75
+ 51.93,58.20 51.39,57.54 51.09,57.13
+ 51.09,57.13 48.47,53.52 48.47,53.52
+ 48.47,53.52 42.41,45.18 42.41,45.18
+ 42.41,45.18 37.81,38.79 37.81,38.79 Z" />
diff --git a/src/hi/apps/entity/templates/entity/svg/type.exhaust_fan.svg b/src/hi/apps/entity/templates/entity/svg/type.exhaust_fan.svg
new file mode 100644
index 00000000..e8ef85ab
--- /dev/null
+++ b/src/hi/apps/entity/templates/entity/svg/type.exhaust_fan.svg
@@ -0,0 +1,184 @@
+<rect class="hi-entity-bg" x="0" y="0" width="64" height="64" fill="none"/>
+ <path class="hi-entity-exhaust-fan-background"
+ fill="#fcfcfe" stroke="black" stroke-width="0"
+ d="M 29.99,0.82
+ C 29.99,0.82 32.85,0.82 32.85,0.82
+ 32.85,0.82 33.75,0.89 33.75,0.89
+ 35.69,1.02 37.57,1.28 39.47,1.76
+ 51.05,4.65 60.20,13.71 62.78,25.42
+ 63.14,27.03 63.36,28.61 63.47,30.25
+ 63.47,30.25 63.55,31.15 63.55,31.15
+ 63.55,31.15 63.55,33.30 63.55,33.30
+ 63.55,33.30 63.47,34.37 63.47,34.37
+ 63.28,37.22 62.75,40.00 61.79,42.70
+ 58.57,51.74 51.56,58.75 42.52,61.97
+ 38.53,63.39 34.73,63.87 30.52,63.82
+ 30.52,63.82 29.63,63.74 29.63,63.74
+ 27.10,63.57 24.72,63.14 22.29,62.43
+ 19.32,61.56 16.36,60.13 13.78,58.42
+ 11.29,56.75 8.72,54.44 6.84,52.10
+ -0.59,42.81 -2.36,30.20 2.62,19.33
+ 6.21,11.52 12.76,5.54 20.86,2.66
+ 22.56,2.05 24.89,1.45 26.67,1.19
+ 26.67,1.19 28.91,0.91 28.91,0.91
+ 28.91,0.91 29.99,0.82 29.99,0.82 Z" />
+ <path class="hi-entity-exhaust-fan-lines"
+ fill="#020204" stroke="black" stroke-width="0"
+ d="M 29.72,2.17
+ C 29.72,2.17 33.48,2.17 33.48,2.17
+ 33.48,2.17 34.55,2.23 34.55,2.23
+ 37.78,2.47 40.97,3.30 43.95,4.58
+ 47.11,5.94 50.47,8.13 52.90,10.56
+ 55.86,13.52 58.02,16.55 59.67,20.41
+ 64.10,30.80 62.21,43.16 54.84,51.74
+ 52.50,54.47 49.84,56.63 46.72,58.41
+ 43.77,60.10 40.07,61.39 36.70,61.88
+ 35.68,62.02 34.60,62.21 33.57,62.21
+ 33.57,62.21 30.17,62.21 30.17,62.21
+ 30.17,62.21 29.27,62.13 29.27,62.13
+ 26.74,61.94 23.95,61.31 21.57,60.42
+ 17.86,59.04 14.58,57.07 11.64,54.41
+ 2.21,45.89 -0.64,32.15 4.21,20.50
+ 7.48,12.63 14.08,6.53 22.11,3.73
+ 24.24,2.99 26.50,2.53 28.73,2.26
+ 28.73,2.26 29.72,2.17 29.72,2.17 Z
+ M 29.99,3.95
+ C 29.99,3.95 28.20,4.14 28.20,4.14
+ 26.35,4.38 24.22,4.90 22.47,5.52
+ 14.92,8.21 9.00,13.86 5.86,21.21
+ 4.24,25.00 3.62,29.02 3.67,33.12
+ 3.67,33.12 3.75,34.01 3.75,34.01
+ 3.75,34.01 3.98,36.43 3.98,36.43
+ 4.84,42.25 7.62,47.80 11.73,52.01
+ 14.76,55.12 18.79,57.61 22.91,58.99
+ 25.06,59.70 27.28,60.18 29.54,60.34
+ 29.54,60.34 30.43,60.42 30.43,60.42
+ 30.43,60.42 33.39,60.42 33.39,60.42
+ 34.24,60.42 35.58,60.24 36.43,60.10
+ 40.03,59.49 42.32,58.67 45.56,57.00
+ 48.42,55.52 51.48,52.94 53.53,50.48
+ 56.09,47.42 58.03,43.95 59.13,40.10
+ 62.27,29.09 58.60,17.07 49.50,9.97
+ 46.42,7.57 43.23,5.97 39.47,4.91
+ 37.81,4.44 35.01,3.94 33.30,3.95
+ 33.30,3.95 31.78,3.95 31.78,3.95
+ 31.78,3.95 29.99,3.95 29.99,3.95 Z
+ M 35.63,5.68
+ C 38.09,5.36 41.56,6.38 43.59,7.76
+ 44.47,8.36 45.69,9.55 45.42,10.74
+ 45.18,11.81 43.56,13.28 42.79,14.05
+ 41.32,15.52 40.09,17.16 38.94,18.89
+ 38.94,18.89 36.42,23.09 36.42,23.09
+ 36.29,23.33 35.85,24.10 35.89,24.34
+ 35.92,24.51 36.04,24.60 36.17,24.70
+ 36.35,24.83 36.74,25.07 36.97,25.08
+ 37.27,25.09 38.36,24.48 38.67,24.31
+ 38.67,24.31 40.37,23.42 40.37,23.42
+ 40.37,23.42 43.86,21.59 43.86,21.59
+ 44.87,21.09 45.84,20.48 46.90,20.09
+ 48.04,19.68 49.37,19.48 50.57,19.43
+ 51.26,19.40 52.24,19.53 52.90,19.72
+ 54.21,20.09 55.63,20.83 56.56,21.84
+ 57.99,23.41 58.89,26.80 58.90,28.91
+ 58.90,28.91 58.90,29.90 58.90,29.90
+ 58.88,31.06 58.46,32.77 57.20,33.14
+ 56.75,33.27 56.39,33.19 55.94,33.14
+ 54.55,32.97 54.17,32.76 52.90,32.42
+ 51.10,31.93 49.21,31.72 47.35,31.59
+ 47.35,31.59 46.46,31.51 46.46,31.51
+ 46.46,31.51 45.20,31.51 45.20,31.51
+ 45.20,31.51 44.04,31.42 44.04,31.42
+ 44.04,31.42 43.68,31.42 43.68,31.42
+ 43.68,31.42 42.52,31.51 42.52,31.51
+ 42.12,31.51 40.86,31.39 40.64,31.71
+ 40.53,31.88 40.55,32.21 40.55,32.40
+ 40.52,32.58 40.48,32.76 40.55,32.92
+ 40.69,33.19 41.43,33.61 41.71,33.78
+ 41.71,33.78 44.40,35.48 44.40,35.48
+ 46.01,36.49 49.21,38.40 50.48,39.58
+ 52.02,41.00 53.41,43.42 53.44,45.56
+ 53.45,46.70 53.49,47.40 53.12,48.51
+ 52.45,50.56 49.90,52.96 48.07,54.03
+ 46.95,54.68 44.82,55.63 43.71,54.49
+ 42.91,53.67 42.51,51.34 42.16,50.22
+ 41.38,47.72 40.31,45.34 39.04,43.05
+ 39.04,43.05 37.56,40.55 37.56,40.55
+ 37.42,40.33 37.03,39.65 36.85,39.54
+ 36.61,39.38 36.38,39.53 36.16,39.65
+ 35.32,40.12 35.46,40.14 35.45,41.26
+ 35.45,41.26 35.36,42.61 35.36,42.61
+ 35.36,42.61 35.36,43.50 35.36,43.50
+ 35.36,43.50 35.26,44.84 35.26,44.84
+ 35.26,44.84 35.26,45.92 35.26,45.92
+ 35.26,45.92 35.18,46.99 35.18,46.99
+ 35.18,46.99 35.09,49.77 35.09,49.77
+ 35.06,51.87 33.99,54.76 32.57,56.30
+ 31.67,57.28 30.20,58.19 28.91,58.55
+ 28.14,58.76 27.55,58.73 26.76,58.72
+ 24.74,58.69 21.43,57.54 19.87,56.26
+ 19.14,55.66 18.20,54.56 18.50,53.53
+ 18.80,52.47 20.68,50.76 21.48,49.95
+ 22.91,48.50 24.09,46.80 25.21,45.11
+ 25.21,45.11 27.54,41.17 27.54,41.17
+ 27.76,40.77 28.27,40.12 27.82,39.72
+ 26.95,38.95 26.47,39.39 25.60,39.86
+ 25.60,39.86 21.48,42.03 21.48,42.03
+ 21.48,42.03 16.92,44.30 16.92,44.30
+ 14.45,45.15 11.65,45.21 9.31,43.97
+ 8.77,43.68 7.95,43.12 7.52,42.69
+ 5.98,41.16 5.02,37.69 5.01,35.54
+ 5.01,35.54 5.01,34.64 5.01,34.64
+ 5.01,33.32 5.44,31.27 7.07,31.16
+ 8.25,31.08 10.12,31.72 11.28,32.01
+ 13.01,32.44 14.78,32.65 16.56,32.77
+ 16.56,32.77 17.45,32.85 17.45,32.85
+ 17.45,32.85 18.80,32.85 18.80,32.85
+ 18.80,32.85 19.69,32.94 19.69,32.94
+ 19.69,32.94 20.23,32.94 20.23,32.94
+ 20.23,32.94 21.57,32.85 21.57,32.85
+ 21.57,32.85 22.47,32.85 22.47,32.85
+ 22.69,32.85 23.05,32.88 23.22,32.71
+ 23.37,32.56 23.44,31.72 23.38,31.52
+ 23.33,31.35 23.22,31.26 23.09,31.15
+ 23.09,31.15 20.77,29.68 20.77,29.68
+ 20.77,29.68 16.47,26.95 16.47,26.95
+ 14.55,25.73 13.44,25.11 12.09,23.18
+ 11.69,22.62 11.17,21.77 10.93,21.12
+ 10.31,19.50 10.26,16.89 11.00,15.31
+ 11.65,13.93 13.07,12.43 14.23,11.46
+ 15.40,10.51 17.08,9.46 18.62,9.34
+ 20.22,9.21 20.66,10.47 21.09,11.73
+ 21.09,11.73 22.03,15.04 22.03,15.04
+ 22.77,17.20 23.80,19.40 24.92,21.39
+ 24.92,21.39 26.35,23.81 26.35,23.81
+ 26.49,24.03 26.88,24.71 27.06,24.82
+ 27.30,24.98 27.53,24.82 27.75,24.70
+ 28.59,24.24 28.45,24.23 28.46,23.00
+ 28.46,23.00 28.55,21.66 28.55,21.66
+ 28.55,21.66 28.55,20.86 28.55,20.86
+ 28.55,20.86 28.64,19.51 28.64,19.51
+ 28.64,19.51 28.73,16.47 28.73,16.47
+ 28.73,16.47 28.82,15.57 28.82,15.57
+ 28.82,15.57 28.82,14.50 28.82,14.50
+ 28.85,12.52 29.95,9.62 31.26,8.15
+ 31.80,7.54 32.84,6.77 33.57,6.38
+ 34.17,6.07 34.96,5.80 35.63,5.68 Z
+ M 31.24,25.09
+ C 28.57,25.50 26.42,26.86 25.37,29.45
+ 23.88,33.14 25.66,37.45 29.45,38.84
+ 30.12,39.09 30.97,39.29 31.69,39.29
+ 32.84,39.31 33.94,39.13 35.00,38.64
+ 35.83,38.25 36.51,37.71 37.15,37.06
+ 39.57,34.58 39.69,30.31 37.48,27.66
+ 35.93,25.80 33.64,24.86 31.24,25.09 Z
+ M 31.51,26.10
+ C 32.08,26.02 32.12,26.06 32.67,26.10
+ 34.60,26.35 36.36,27.45 37.30,29.18
+ 37.91,30.30 38.04,31.15 38.04,32.40
+ 38.04,34.50 36.76,36.56 34.91,37.55
+ 34.11,37.98 33.30,38.18 32.40,38.29
+ 31.91,38.34 31.63,38.30 31.15,38.23
+ 28.94,37.92 27.11,36.55 26.27,34.46
+ 25.87,33.49 25.86,32.80 25.87,31.78
+ 25.90,29.40 27.70,27.20 29.90,26.41
+ 30.49,26.20 30.90,26.17 31.51,26.10 Z" />
diff --git a/src/hi/apps/entity/templates/entity/svg/type.hvac_air_handler.svg b/src/hi/apps/entity/templates/entity/svg/type.hvac_air_handler.svg
index f30769d8..8838a0e3 100644
--- a/src/hi/apps/entity/templates/entity/svg/type.hvac_air_handler.svg
+++ b/src/hi/apps/entity/templates/entity/svg/type.hvac_air_handler.svg
@@ -1,21 +1,11 @@
<rect class="hi-entity-bg" x="0" y="0" width="64" height="44" fill="none"/>
<path class="hi-entity-hvac-air-handler-background"
- fill="#d6ffff" stroke="black" stroke-width="0"
- d="M 63.04,36.53
- C 63.04,36.53 39.15,36.53 39.15,36.53
- 37.88,36.54 37.69,37.15 36.80,37.92
- 36.15,38.48 35.00,39.30 34.24,39.75
- 31.38,41.47 27.23,42.97 23.79,43.00
- 22.36,43.02 20.93,43.05 19.52,42.88
- 16.15,42.47 12.70,41.17 9.92,39.35
- 8.19,38.21 6.34,36.52 5.08,34.94
- -0.49,27.95 -1.05,18.23 3.78,10.75
- 5.26,8.47 7.13,6.55 9.39,4.92
- 12.65,2.56 17.29,0.94 21.44,0.90
- 21.44,0.90 23.04,0.80 23.04,0.80
- 23.04,0.80 30.08,0.80 30.08,0.80
- 30.08,0.80 63.04,0.80 63.04,0.80
- 63.04,0.80 63.04,36.53 63.04,36.53 Z" />
+ fill="#d6ffff" stroke="#020204" stroke-width="1"
+ d="M 0.31,0.31
+ C 0.31,0.31 63.50,0.31 63.50,0.31
+ 63.50,0.31 63.88,43.75 63.88,43.75
+ 63.88,43.75 0.19,43.81 0.19,43.81
+ 0.19,43.81 0.31,0.31 0.31,0.31 Z" />
<path class="hi-entity-hvac-air-handler-lines"
fill="#0e3939" stroke="#0e3939" stroke-width="0"
d="M 52.59,3.68
diff --git a/src/hi/apps/location/templates/location/panes/svg_fill_patterns_color.html b/src/hi/apps/location/templates/location/panes/svg_fill_patterns_color.html
index 9117165c..420620fc 100644
--- a/src/hi/apps/location/templates/location/panes/svg_fill_patterns_color.html
+++ b/src/hi/apps/location/templates/location/panes/svg_fill_patterns_color.html
@@ -14,6 +14,10 @@
<rect x="0" y="0" width="8" height="8" fill="#e8e8e8" />
<line x1="0" y1="0" x2="8" y2="8" stroke="#808080" stroke-width="0.5" />
</pattern>
+<pattern id="dead-space-pattern" width="16" height="16" patternUnits="userSpaceOnUse">
+ <rect x="0" y="0" width="16" height="16" fill="#f0f0c0" />
+ <line x1="16" y1="0" x2="0" y2="16" stroke="#b0b080" stroke-width="1" />
+</pattern>
<pattern id="wood-pattern" width="10" height="40" patternUnits="userSpaceOnUse">
<rect width="10" height="40" fill="#f2e7d9" />
<line x1="0" y1="5" x2="10" y2="5" stroke="#8b4513" stroke-width="0.5" />
diff --git a/src/hi/apps/location/templates/location/panes/svg_fill_patterns_greyscale.html b/src/hi/apps/location/templates/location/panes/svg_fill_patterns_greyscale.html
index 8b63b56f..c86c5624 100644
--- a/src/hi/apps/location/templates/location/panes/svg_fill_patterns_greyscale.html
+++ b/src/hi/apps/location/templates/location/panes/svg_fill_patterns_greyscale.html
@@ -14,6 +14,10 @@
<rect x="0" y="0" width="8" height="8" fill="#f0f0f0" />
<line x1="0" y1="0" x2="8" y2="8" stroke="#b0b0b0" stroke-width="0.5" />
</pattern>
+<pattern id="dead-space-pattern" width="16" height="16" patternUnits="userSpaceOnUse">
+ <rect x="0" y="0" width="16" height="16" fill="#f0f0f0" />
+ <line x1="16" y1="0" x2="0" y2="16" stroke="#b0b0b0" stroke-width="1" />
+</pattern>
<pattern id="wood-pattern" width="10" height="40" patternUnits="userSpaceOnUse">
<rect width="10" height="40" fill="#f5f5f5" />
<line x1="0" y1="5" x2="10" y2="5" stroke="#a0a0a0" stroke-width="0.5" />
diff --git a/src/hi/hi_styles.py b/src/hi/hi_styles.py
index 99a9647e..7d2463ff 100644
--- a/src/hi/hi_styles.py
+++ b/src/hi/hi_styles.py
@@ -169,6 +169,14 @@ class EntityStyle:
fill_color = '#a0f0a0',
fill_opacity = 1,
)
+ Pipe = SvgStatusStyle(
+ status_value = '',
+ stroke_color = '#808080',
+ stroke_width = 3,
+ stroke_dasharray = [ 6, 2, 6, 2, 3, 2 ],
+ fill_color = None,
+ fill_opacity = 0.0,
+ )
SewerLine = SvgStatusStyle(
status_value = '',
stroke_color = '#008000',
@@ -217,6 +225,7 @@ class EntityStyle:
EntityType.AV_RECEIVER,
EntityType.BAROMETER,
EntityType.CAMERA,
+ EntityType.CEILING_FAN,
EntityType.CLOTHES_DRYER,
EntityType.CLOTHES_WASHER,
EntityType.COMPUTER,
@@ -228,6 +237,7 @@ class EntityStyle:
EntityType.ELECTRICAL_OUTLET,
EntityType.ELECTRICITY_METER,
EntityType.ELECTRIC_PANEL,
+ EntityType.EXHAUST_FAN,
EntityType.FIREPLACE,
EntityType.HEALTHCHECK,
EntityType.HUMIDIFIER,
@@ -310,6 +320,7 @@ class EntityStyle:
EntityTypeOpenPaths = {
EntityType.CONTROL_WIRE,
EntityType.ELECTRIC_WIRE,
+ EntityType.PIPE,
EntityType.SEWER_LINE,
EntityType.SPRINKLER_WIRE,
EntityType.TELECOM_WIRE,
@@ -323,6 +334,7 @@ class EntityStyle:
EntityType.ELECTRIC_WIRE: ElectricWire,
EntityType.FURNITURE: Furniture,
EntityType.GREENHOUSE: Greenhouse,
+ EntityType.PIPE: Pipe,
EntityType.SEWER_LINE: SewerLine,
EntityType.SPRINKLER_WIRE: ControlWire,
EntityType.TELECOM_WIRE: TelecomWire,
diff --git a/src/hi/static/css/svg-location-color.css b/src/hi/static/css/svg-location-color.css
index 1dfcc93d..5a3ffa3f 100644
--- a/src/hi/static/css/svg-location-color.css
+++ b/src/hi/static/css/svg-location-color.css
@@ -58,6 +58,11 @@ svg.hi-location-view path.pavement {
stroke: black;
stroke-width: 1;
}
+svg.hi-location-view path.dead-space {
+ fill: url(#dead-space-pattern);
+ stroke: black;
+ stroke-width: 1;
+}
svg.hi-location-view path.pavers {
fill: url(#pavers-pattern);
stroke: black;
@@ -126,6 +131,11 @@ svg.hi-location-view path.interior-walls {
stroke: black;
stroke-width: 1;
}
+svg.hi-location-view path.secondary-walls {
+ fill: #a0a0a0;
+ stroke: #a0a0a0;
+ stroke-width: 1;
+}
svg.hi-location-view path.windows {
fill: #78e3df;
stroke: black;
diff --git a/src/hi/static/css/svg-location-greyscale.css b/src/hi/static/css/svg-location-greyscale.css
index 87c81bd1..5223f5b0 100644
--- a/src/hi/static/css/svg-location-greyscale.css
+++ b/src/hi/static/css/svg-location-greyscale.css
@@ -58,6 +58,11 @@ svg.hi-location-view path.pavement {
stroke: black;
stroke-width: 1;
}
+svg.hi-location-view path.dead-space {
+ fill: url(#dead-space-pattern);
+ stroke: black;
+ stroke-width: 1;
+}
svg.hi-location-view path.pavers {
fill: url(#pavers-pattern);
stroke: black;
@@ -126,6 +131,11 @@ svg.hi-location-view path.interior-walls {
stroke: black;
stroke-width: 1;
}
+svg.hi-location-view path.secondary-walls {
+ fill: #a0a0a0;
+ stroke: #a0a0a0;
+ stroke-width: 1;
+}
svg.hi-location-view path.windows {
fill: #e0e0e0;
stroke: black;