Skip to content

Home Information - Your home, your data, organized.

Python

Updated documentation screenshots (#230)

Tony C835a33c8a97f
diff --git a/docs/Editing.md b/docs/Editing.md
index bbcc1b7a..089570bd 100644
--- a/docs/Editing.md
+++ b/docs/Editing.md
@@ -62,6 +62,7 @@ Not every item you may want to keep information about will make sense to have a
A "collection" can be used to put items into meaningful groups, like "Small Appliances" or "Power Tools". The bottom left of the screen will show all the defined collections, though we need to add some first by clicking the "ADD" button which brings up a dialog.
+<img src="img/editing/new-collection-button-1024x768.png" alt="Home Information Adding Collection" width="250">
<img src="img/editing/add-collection-modal-1024x768.png" alt="Home Information Adding Collection" width="300">
A few notes about this dialog:
@@ -71,7 +72,7 @@ A few notes about this dialog:
After adding, you will now see a button for the new collection at the bottom left. Clicking the button will change the main center view from the graphical view to the collection view. Here we could add existing items by clicking the checkboxes on the right panel. Note that any items you add can appear in the graphical view, the collection or both and you can easily toggle them on and off with a click of those checkboxes on the right.
-<img src="img/editing/new-collection-button-1024x768.png" alt="Home Information Adding Collection" width="350"> <img src="img/editing/collection-edit-view-empty-1024x768.png" alt="Home Information Empty Collection" width="350">
+<img src="img/editing/collection-edit-view-empty-1024x768.png" alt="Home Information Empty Collection" width="350">
However, since we have not added any small appliances yet, we can go and do this now by clicking the "ADD NEW ITEM" button. When viewing a collection, that button adds a new item and will also add it to the collection. When in the graphical view, it adds it to that view. Here is what the collection view look like after adding a bunch of small appliances. It shows both the list view (left) and grid view (right).
@@ -83,7 +84,7 @@ So far, we have seen just the one "view". As more and more items are added, a s
By default, you will see there is just one view created called "All". In editing mode you will also see the "ADD" button to create new views. Let's suppose we want to have a view that just focuses on the items in the Kitchen area. Click the "ADD" button, given it a name in the dialog and then you will see a new button and a new, but empty view.
-<img src="img/editing/add-location-view-modal-1024x768.png" alt="Home Information New Space View" width="350"> &nbsp; <img src="img/editing/new-location-view-button-1024x768.png" alt="Home Information New Space View" width="350">
+ <img src="img/editing/new-location-view-button-1024x768.png" alt="Home Information New Space View" width="350"> &nbsp; <img src="img/editing/add-location-view-modal-1024x768.png" alt="Home Information New Space View" width="350">
We can add any existing kitchen items from the list at right, with the refrigerator being the only applicable one (unless you want to show all the small appliances too.) Let's toggle the refrigerator and add a bunch of our other kitchen items: oven, cooktop, microwave, etc. We move and scale them as we did with the refrigerator to get something like this:
@@ -99,7 +100,7 @@ Near the top right, there is the "View: Kitchen" label and a "EDIT" button to it
<img src="img/editing/new-location-view-edit-zoomed-1024x768.png" alt="Home Information Space View Edit" width="350">
-After adjusting the view with the view editing area open, now when you click the "Kitchen" button on the top left, it will zoom in to that saved geometry.
+After adjusting the view with the view editing area open, click "UPDATE" and now when you click the "Kitchen" button on the top left, it will zoom in to that saved geometry.
### Multiple Spaces
@@ -119,7 +120,7 @@ Below is the Attic space's view after using a custom SVG background and adding t
When creating a new space, you get the option to add a custom background image. However, you can also change the background image at any time by choosing "EDIT" by the space name.
-<img src="img/editing/location-layout-edit-button-1024x768.png" alt="location-layout-edit-button-1024x768.png" width="200" />
+<img src="img/editing/location-layout-edit-button-1024x768.png" alt="location-layout-edit-button-1024x768.png" width="250" />
<img src="img/editing/location-layout-edit-1024x768.png" alt="location-layout-edit-1024x768.png" width="400" />
diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md
index 0b47c7cb..044e03b9 100644
--- a/docs/GettingStarted.md
+++ b/docs/GettingStarted.md
@@ -67,7 +67,7 @@ For accurate weather and time, be sure to set your timezone and geographic locat
You have full control of the layout of your items and the background image. These are all managed by choosing "EDIT" and entering "Editing Mode".
-<img src="img/getting-started/edit-button.png" alt="edit-button" width="100" />
+<img src="img/getting-started/edit-button.png" alt="edit-button" width="250" />
<img src="img/getting-started/edit-mode-1024x768.png" alt="edit-mode-1024x768" width="400" />
diff --git a/docs/img/editing/add-area-item-modal-1024x768.png b/docs/img/editing/add-area-item-modal-1024x768.png
index da172c01..d3bf5918 100644
Binary files a/docs/img/editing/add-area-item-modal-1024x768.png and b/docs/img/editing/add-area-item-modal-1024x768.png differ
diff --git a/docs/img/editing/add-collection-modal-1024x768.png b/docs/img/editing/add-collection-modal-1024x768.png
index e0909db6..df9afc5f 100644
Binary files a/docs/img/editing/add-collection-modal-1024x768.png and b/docs/img/editing/add-collection-modal-1024x768.png differ
diff --git a/docs/img/editing/add-item-modal-1024x768.png b/docs/img/editing/add-item-modal-1024x768.png
index 682a9f31..36512e07 100644
Binary files a/docs/img/editing/add-item-modal-1024x768.png and b/docs/img/editing/add-item-modal-1024x768.png differ
diff --git a/docs/img/editing/add-line-item-modal-1024x768.png b/docs/img/editing/add-line-item-modal-1024x768.png
index d3c3d927..79a7fb44 100644
Binary files a/docs/img/editing/add-line-item-modal-1024x768.png and b/docs/img/editing/add-line-item-modal-1024x768.png differ
diff --git a/docs/img/editing/add-location-modal-1024x768.png b/docs/img/editing/add-location-modal-1024x768.png
index 6be7c7c5..e3c96d11 100644
Binary files a/docs/img/editing/add-location-modal-1024x768.png and b/docs/img/editing/add-location-modal-1024x768.png differ
diff --git a/docs/img/editing/add-location-view-modal-1024x768.png b/docs/img/editing/add-location-view-modal-1024x768.png
index a59782ac..fd6760e9 100644
Binary files a/docs/img/editing/add-location-view-modal-1024x768.png and b/docs/img/editing/add-location-view-modal-1024x768.png differ
diff --git a/docs/img/editing/collection-edit-grid-view-1024x768.png b/docs/img/editing/collection-edit-grid-view-1024x768.png
index 2fb1b1ca..71aadb4c 100644
Binary files a/docs/img/editing/collection-edit-grid-view-1024x768.png and b/docs/img/editing/collection-edit-grid-view-1024x768.png differ
diff --git a/docs/img/editing/collection-edit-list-view-1024x768.png b/docs/img/editing/collection-edit-list-view-1024x768.png
index 88446faf..0406898c 100644
Binary files a/docs/img/editing/collection-edit-list-view-1024x768.png and b/docs/img/editing/collection-edit-list-view-1024x768.png differ
diff --git a/docs/img/editing/collection-edit-view-empty-1024x768.png b/docs/img/editing/collection-edit-view-empty-1024x768.png
index a22cd6db..11fa9970 100644
Binary files a/docs/img/editing/collection-edit-view-empty-1024x768.png and b/docs/img/editing/collection-edit-view-empty-1024x768.png differ
diff --git a/docs/img/editing/edit-reference-help-1024x768.png b/docs/img/editing/edit-reference-help-1024x768.png
index 6e48dc93..f544c207 100644
Binary files a/docs/img/editing/edit-reference-help-1024x768.png and b/docs/img/editing/edit-reference-help-1024x768.png differ
diff --git a/docs/img/editing/first-area-center-1024x768.png b/docs/img/editing/first-area-center-1024x768.png
index 492eac09..9ad48306 100644
Binary files a/docs/img/editing/first-area-center-1024x768.png and b/docs/img/editing/first-area-center-1024x768.png differ
diff --git a/docs/img/editing/first-area-edit-moved-1024x768.png b/docs/img/editing/first-area-edit-moved-1024x768.png
index ec8ede32..5b7f3d8f 100644
Binary files a/docs/img/editing/first-area-edit-moved-1024x768.png and b/docs/img/editing/first-area-edit-moved-1024x768.png differ
diff --git a/docs/img/editing/first-area-edit-shaped-1024x768.png b/docs/img/editing/first-area-edit-shaped-1024x768.png
index fd081003..fc04517f 100644
Binary files a/docs/img/editing/first-area-edit-shaped-1024x768.png and b/docs/img/editing/first-area-edit-shaped-1024x768.png differ
diff --git a/docs/img/editing/first-area-edit-start-1024x768.png b/docs/img/editing/first-area-edit-start-1024x768.png
index a648a966..44628880 100644
Binary files a/docs/img/editing/first-area-edit-start-1024x768.png and b/docs/img/editing/first-area-edit-start-1024x768.png differ
diff --git a/docs/img/editing/first-area-shaped-done-1024x768.png b/docs/img/editing/first-area-shaped-done-1024x768.png
index 1a776415..1073d7d1 100644
Binary files a/docs/img/editing/first-area-shaped-done-1024x768.png and b/docs/img/editing/first-area-shaped-done-1024x768.png differ
diff --git a/docs/img/editing/first-item-center-1024x768.png b/docs/img/editing/first-item-center-1024x768.png
index 474da8af..f6a849b2 100644
Binary files a/docs/img/editing/first-item-center-1024x768.png and b/docs/img/editing/first-item-center-1024x768.png differ
diff --git a/docs/img/editing/first-item-moved-scaled-1024x768.png b/docs/img/editing/first-item-moved-scaled-1024x768.png
index 6f9fa886..3e080978 100644
Binary files a/docs/img/editing/first-item-moved-scaled-1024x768.png and b/docs/img/editing/first-item-moved-scaled-1024x768.png differ
diff --git a/docs/img/editing/first-line-center-1024x768.png b/docs/img/editing/first-line-center-1024x768.png
index 0265a172..ddbd2482 100644
Binary files a/docs/img/editing/first-line-center-1024x768.png and b/docs/img/editing/first-line-center-1024x768.png differ
diff --git a/docs/img/editing/first-line-edit-done-1024x768.png b/docs/img/editing/first-line-edit-done-1024x768.png
index 953cdc13..51d88418 100644
Binary files a/docs/img/editing/first-line-edit-done-1024x768.png and b/docs/img/editing/first-line-edit-done-1024x768.png differ
diff --git a/docs/img/editing/first-line-edit-moved-1024x768.png b/docs/img/editing/first-line-edit-moved-1024x768.png
index aca3c020..1573ca51 100644
Binary files a/docs/img/editing/first-line-edit-moved-1024x768.png and b/docs/img/editing/first-line-edit-moved-1024x768.png differ
diff --git a/docs/img/editing/first-line-edit-start-1024x768.png b/docs/img/editing/first-line-edit-start-1024x768.png
index 16615c5f..fe2a31a9 100644
Binary files a/docs/img/editing/first-line-edit-start-1024x768.png and b/docs/img/editing/first-line-edit-start-1024x768.png differ
diff --git a/docs/img/editing/initial-edit-screen-1024x768.png b/docs/img/editing/initial-edit-screen-1024x768.png
index ad29b12f..ff04aaee 100644
Binary files a/docs/img/editing/initial-edit-screen-1024x768.png and b/docs/img/editing/initial-edit-screen-1024x768.png differ
diff --git a/docs/img/editing/location-layout-edit-1024x768.png b/docs/img/editing/location-layout-edit-1024x768.png
index bbce4b03..a6cf6686 100644
Binary files a/docs/img/editing/location-layout-edit-1024x768.png and b/docs/img/editing/location-layout-edit-1024x768.png differ
diff --git a/docs/img/editing/location-layout-edit-button-1024x768.png b/docs/img/editing/location-layout-edit-button-1024x768.png
index 81ccc6e6..2a31008a 100644
Binary files a/docs/img/editing/location-layout-edit-button-1024x768.png and b/docs/img/editing/location-layout-edit-button-1024x768.png differ
diff --git a/docs/img/editing/new-collection-button-1024x768.png b/docs/img/editing/new-collection-button-1024x768.png
index 522bde79..0dc9009c 100644
Binary files a/docs/img/editing/new-collection-button-1024x768.png and b/docs/img/editing/new-collection-button-1024x768.png differ
diff --git a/docs/img/editing/new-location-added-drop-down-1024x768.png b/docs/img/editing/new-location-added-drop-down-1024x768.png
index 5dafef59..dc684b62 100644
Binary files a/docs/img/editing/new-location-added-drop-down-1024x768.png and b/docs/img/editing/new-location-added-drop-down-1024x768.png differ
diff --git a/docs/img/editing/new-location-alt-svg-1024x768.png b/docs/img/editing/new-location-alt-svg-1024x768.png
index c0627607..38923f20 100644
Binary files a/docs/img/editing/new-location-alt-svg-1024x768.png and b/docs/img/editing/new-location-alt-svg-1024x768.png differ
diff --git a/docs/img/editing/new-location-drop-down-1024x768.png b/docs/img/editing/new-location-drop-down-1024x768.png
index cb63e21f..52d1e6fa 100644
Binary files a/docs/img/editing/new-location-drop-down-1024x768.png and b/docs/img/editing/new-location-drop-down-1024x768.png differ
diff --git a/docs/img/editing/new-location-view-button-1024x768.png b/docs/img/editing/new-location-view-button-1024x768.png
index 9beaddab..c5ae8ed1 100644
Binary files a/docs/img/editing/new-location-view-button-1024x768.png and b/docs/img/editing/new-location-view-button-1024x768.png differ
diff --git a/docs/img/editing/new-location-view-edit-zoomed-1024x768.png b/docs/img/editing/new-location-view-edit-zoomed-1024x768.png
index d0cd7f7f..f95129bc 100644
Binary files a/docs/img/editing/new-location-view-edit-zoomed-1024x768.png and b/docs/img/editing/new-location-view-edit-zoomed-1024x768.png differ
diff --git a/docs/img/editing/new-location-view-populated-1024x768.png b/docs/img/editing/new-location-view-populated-1024x768.png
index 202120be..44cf4cc4 100644
Binary files a/docs/img/editing/new-location-view-populated-1024x768.png and b/docs/img/editing/new-location-view-populated-1024x768.png differ
diff --git a/docs/img/editing/new-location-view-zoomed-1024x768.png b/docs/img/editing/new-location-view-zoomed-1024x768.png
index 0d433501..c815068d 100644
Binary files a/docs/img/editing/new-location-view-zoomed-1024x768.png and b/docs/img/editing/new-location-view-zoomed-1024x768.png differ
diff --git a/docs/img/getting-started/astronomical-details-1024x768.png b/docs/img/getting-started/astronomical-details-1024x768.png
index b78f4dcc..f6bb6aa6 100644
Binary files a/docs/img/getting-started/astronomical-details-1024x768.png and b/docs/img/getting-started/astronomical-details-1024x768.png differ
diff --git a/docs/img/getting-started/bottom-right-buttons-1024x768.png b/docs/img/getting-started/bottom-right-buttons-1024x768.png
index 58438e5b..0b18c6bb 100644
Binary files a/docs/img/getting-started/bottom-right-buttons-1024x768.png and b/docs/img/getting-started/bottom-right-buttons-1024x768.png differ
diff --git a/docs/img/getting-started/camera-area-active-1024x768.png b/docs/img/getting-started/camera-area-active-1024x768.png
index a7cf5bb5..ce504f00 100644
Binary files a/docs/img/getting-started/camera-area-active-1024x768.png and b/docs/img/getting-started/camera-area-active-1024x768.png differ
diff --git a/docs/img/getting-started/camera-area-idle-1024x768.png b/docs/img/getting-started/camera-area-idle-1024x768.png
index f53c786f..b58480cd 100644
Binary files a/docs/img/getting-started/camera-area-idle-1024x768.png and b/docs/img/getting-started/camera-area-idle-1024x768.png differ
diff --git a/docs/img/getting-started/camera-area-past-1024x768.png b/docs/img/getting-started/camera-area-past-1024x768.png
index 4e8ff6d0..008a25b6 100644
Binary files a/docs/img/getting-started/camera-area-past-1024x768.png and b/docs/img/getting-started/camera-area-past-1024x768.png differ
diff --git a/docs/img/getting-started/camera-area-recent-1024x768.png b/docs/img/getting-started/camera-area-recent-1024x768.png
index 5866b857..0a04be11 100644
Binary files a/docs/img/getting-started/camera-area-recent-1024x768.png and b/docs/img/getting-started/camera-area-recent-1024x768.png differ
diff --git a/docs/img/getting-started/collections-buttons.png b/docs/img/getting-started/collections-buttons.png
index 5e7e56c2..28a68392 100644
Binary files a/docs/img/getting-started/collections-buttons.png and b/docs/img/getting-started/collections-buttons.png differ
diff --git a/docs/img/getting-started/collections-grid-1024x768.png b/docs/img/getting-started/collections-grid-1024x768.png
index a11770b8..8e43b966 100644
Binary files a/docs/img/getting-started/collections-grid-1024x768.png and b/docs/img/getting-started/collections-grid-1024x768.png differ
diff --git a/docs/img/getting-started/collections-list-1024x768.png b/docs/img/getting-started/collections-list-1024x768.png
index 21582ddf..2e7943b3 100644
Binary files a/docs/img/getting-started/collections-list-1024x768.png and b/docs/img/getting-started/collections-list-1024x768.png differ
diff --git a/docs/img/getting-started/console-settings-page-1024x768.png b/docs/img/getting-started/console-settings-page-1024x768.png
index b3573d59..7d89bc1d 100644
Binary files a/docs/img/getting-started/console-settings-page-1024x768.png and b/docs/img/getting-started/console-settings-page-1024x768.png differ
diff --git a/docs/img/getting-started/edit-button.png b/docs/img/getting-started/edit-button.png
index 345671f1..a9fab0f5 100644
Binary files a/docs/img/getting-started/edit-button.png and b/docs/img/getting-started/edit-button.png differ
diff --git a/docs/img/getting-started/edit-mode-1024x768.png b/docs/img/getting-started/edit-mode-1024x768.png
index c2d065ac..ad801af1 100644
Binary files a/docs/img/getting-started/edit-mode-1024x768.png and b/docs/img/getting-started/edit-mode-1024x768.png differ
diff --git a/docs/img/getting-started/initial-view-1024x768.png b/docs/img/getting-started/initial-view-1024x768.png
index 42746c6b..61535afb 100644
Binary files a/docs/img/getting-started/initial-view-1024x768.png and b/docs/img/getting-started/initial-view-1024x768.png differ
diff --git a/docs/img/getting-started/integrations-enable-modal-1024x768.png b/docs/img/getting-started/integrations-enable-modal-1024x768.png
index 62b8e4a0..7b2b8bc0 100644
Binary files a/docs/img/getting-started/integrations-enable-modal-1024x768.png and b/docs/img/getting-started/integrations-enable-modal-1024x768.png differ
diff --git a/docs/img/getting-started/integrations-page-empty-1024x768.png b/docs/img/getting-started/integrations-page-empty-1024x768.png
index 80360d85..6e498bd6 100644
Binary files a/docs/img/getting-started/integrations-page-empty-1024x768.png and b/docs/img/getting-started/integrations-page-empty-1024x768.png differ
diff --git a/docs/img/getting-started/integrations-page-view-1024x768.png b/docs/img/getting-started/integrations-page-view-1024x768.png
index ad6bf26d..9d9d3bde 100644
Binary files a/docs/img/getting-started/integrations-page-view-1024x768.png and b/docs/img/getting-started/integrations-page-view-1024x768.png differ
diff --git a/docs/img/getting-started/integrations-sync-result-1024x768.png b/docs/img/getting-started/integrations-sync-result-1024x768.png
index ea4d7091..9eb7ac38 100644
Binary files a/docs/img/getting-started/integrations-sync-result-1024x768.png and b/docs/img/getting-started/integrations-sync-result-1024x768.png differ
diff --git a/docs/img/getting-started/item-edit-add-file-1024x768.png b/docs/img/getting-started/item-edit-add-file-1024x768.png
index 3fffb4e8..90f035a5 100644
Binary files a/docs/img/getting-started/item-edit-add-file-1024x768.png and b/docs/img/getting-started/item-edit-add-file-1024x768.png differ
diff --git a/docs/img/getting-started/item-edit-add-info-1024x768.png b/docs/img/getting-started/item-edit-add-info-1024x768.png
index ad0f99f4..61adfeaa 100644
Binary files a/docs/img/getting-started/item-edit-add-info-1024x768.png and b/docs/img/getting-started/item-edit-add-info-1024x768.png differ
diff --git a/docs/img/getting-started/item-edit-modal-empty-1024x768.png b/docs/img/getting-started/item-edit-modal-empty-1024x768.png
index aaa5f3cb..b5a0cb57 100644
Binary files a/docs/img/getting-started/item-edit-modal-empty-1024x768.png and b/docs/img/getting-started/item-edit-modal-empty-1024x768.png differ
diff --git a/docs/img/getting-started/location-edit-modal-1024x768.png b/docs/img/getting-started/location-edit-modal-1024x768.png
index 5e96249d..3c91416f 100644
Binary files a/docs/img/getting-started/location-edit-modal-1024x768.png and b/docs/img/getting-started/location-edit-modal-1024x768.png differ
diff --git a/docs/img/getting-started/location-info-button.png b/docs/img/getting-started/location-info-button.png
index 1ad2eb3a..b7d07d97 100644
Binary files a/docs/img/getting-started/location-info-button.png and b/docs/img/getting-started/location-info-button.png differ
diff --git a/docs/img/getting-started/security-modes.png b/docs/img/getting-started/security-modes.png
index c25b4b57..131ab0ed 100644
Binary files a/docs/img/getting-started/security-modes.png and b/docs/img/getting-started/security-modes.png differ
diff --git a/docs/img/getting-started/spaces-dropdown-1024x768.png b/docs/img/getting-started/spaces-dropdown-1024x768.png
index 9a64299a..d903cfcc 100644
Binary files a/docs/img/getting-started/spaces-dropdown-1024x768.png and b/docs/img/getting-started/spaces-dropdown-1024x768.png differ
diff --git a/docs/img/getting-started/start-page-1024x768.png b/docs/img/getting-started/start-page-1024x768.png
index fb335741..ac3dc8f6 100644
Binary files a/docs/img/getting-started/start-page-1024x768.png and b/docs/img/getting-started/start-page-1024x768.png differ
diff --git a/docs/img/getting-started/trigger-rules-1024x768.png b/docs/img/getting-started/trigger-rules-1024x768.png
index fbf4b32a..6d094174 100644
Binary files a/docs/img/getting-started/trigger-rules-1024x768.png and b/docs/img/getting-started/trigger-rules-1024x768.png differ
diff --git a/docs/img/getting-started/video-stream-history-1024x768.png b/docs/img/getting-started/video-stream-history-1024x768.png
index 92437620..29c7717a 100644
Binary files a/docs/img/getting-started/video-stream-history-1024x768.png and b/docs/img/getting-started/video-stream-history-1024x768.png differ
diff --git a/docs/img/getting-started/video-stream-live-1024x768.png b/docs/img/getting-started/video-stream-live-1024x768.png
index e1f2b40e..6b9f0ba6 100644
Binary files a/docs/img/getting-started/video-stream-live-1024x768.png and b/docs/img/getting-started/video-stream-live-1024x768.png differ
diff --git a/docs/img/getting-started/view-second-space-1024x768.png b/docs/img/getting-started/view-second-space-1024x768.png
index a4393f41..0149a112 100644
Binary files a/docs/img/getting-started/view-second-space-1024x768.png and b/docs/img/getting-started/view-second-space-1024x768.png differ
diff --git a/docs/img/getting-started/weather-details-1024x768.png b/docs/img/getting-started/weather-details-1024x768.png
index 7a421714..551ad45a 100644
Binary files a/docs/img/getting-started/weather-details-1024x768.png and b/docs/img/getting-started/weather-details-1024x768.png differ
diff --git a/docs/img/getting-started/weather-forecast-1024x768.png b/docs/img/getting-started/weather-forecast-1024x768.png
index 1585c339..5bc3c1ab 100644
Binary files a/docs/img/getting-started/weather-forecast-1024x768.png and b/docs/img/getting-started/weather-forecast-1024x768.png differ
diff --git a/docs/img/getting-started/weather-history-1024x768.png b/docs/img/getting-started/weather-history-1024x768.png
index 6f63572d..d627a1f6 100644
Binary files a/docs/img/getting-started/weather-history-1024x768.png and b/docs/img/getting-started/weather-history-1024x768.png differ
diff --git a/docs/img/screenshots/attribute-info-files-1024x768.png b/docs/img/screenshots/attribute-info-files-1024x768.png
index 6d31044c..64c0b77d 100644
Binary files a/docs/img/screenshots/attribute-info-files-1024x768.png and b/docs/img/screenshots/attribute-info-files-1024x768.png differ
diff --git a/docs/img/screenshots/automation-view-1024x768.png b/docs/img/screenshots/automation-view-1024x768.png
index 6a6fa6ce..47b1af32 100644
Binary files a/docs/img/screenshots/automation-view-1024x768.png and b/docs/img/screenshots/automation-view-1024x768.png differ
diff --git a/docs/img/screenshots/editing-view-1024x768.png b/docs/img/screenshots/editing-view-1024x768.png
index 09005bcc..fdcc33e8 100644
Binary files a/docs/img/screenshots/editing-view-1024x768.png and b/docs/img/screenshots/editing-view-1024x768.png differ
diff --git a/docs/img/screenshots/security-view-active-1024x768.png b/docs/img/screenshots/security-view-active-1024x768.png
index d136aa3b..3c2b71d6 100644
Binary files a/docs/img/screenshots/security-view-active-1024x768.png and b/docs/img/screenshots/security-view-active-1024x768.png differ
diff --git a/docs/img/screenshots/spatial-data-org-1024x768.png b/docs/img/screenshots/spatial-data-org-1024x768.png
index c9163240..96225cb7 100644
Binary files a/docs/img/screenshots/spatial-data-org-1024x768.png and b/docs/img/screenshots/spatial-data-org-1024x768.png differ
diff --git a/docs/img/screenshots/stream-browser-1024x768.png b/docs/img/screenshots/stream-browser-1024x768.png
index 71c537db..79d3f42f 100644
Binary files a/docs/img/screenshots/stream-browser-1024x768.png and b/docs/img/screenshots/stream-browser-1024x768.png differ
diff --git a/src/hi/services/hass/hass_sync.py b/src/hi/services/hass/hass_sync.py
index 3997251e..15211815 100644
--- a/src/hi/services/hass/hass_sync.py
+++ b/src/hi/services/hass/hass_sync.py
@@ -33,7 +33,7 @@ class HassSynchronizer( HassMixin, IntegrationSyncMixin ):
except RuntimeError as e:
logger.exception( e )
return ProcessingResult(
- title = 'HAss Import Result',
+ title = 'Home Assistant Import Result',
error_list = [ str(e) ],
)
finally:
@@ -41,24 +41,24 @@ class HassSynchronizer( HassMixin, IntegrationSyncMixin ):
def _sync_helper( self ) -> ProcessingResult:
hass_manager = self.hass_manager()
- result = ProcessingResult( title = 'HAss Import Result' )
+ result = ProcessingResult( title = 'Home Assistant Import Result' )
hass_client = hass_manager.hass_client
if not hass_client:
- logger.debug( 'HAss client not created. HAss integration disabled?' )
- result.error_list.append( 'Sync problem. HAss integration disabled?' )
+ logger.debug( 'Home Assistant client not created. Home Assistant integration disabled?' )
+ result.error_list.append( 'Sync problem. Home Assistant integration disabled?' )
return result
hass_entity_id_to_state = hass_manager.fetch_hass_states_from_api()
- result.message_list.append( f'Found {len(hass_entity_id_to_state)} current HAss states.' )
+ result.message_list.append( f'Found {len(hass_entity_id_to_state)} current Home Assistant states.' )
integration_key_to_entity = self._get_existing_hass_entities( result = result )
- result.message_list.append( f'Found {len(integration_key_to_entity)} existing HAss entities.' )
+ result.message_list.append( f'Found {len(integration_key_to_entity)} existing Home Assistant entities.' )
hass_device_id_to_device = HassConverter.hass_states_to_hass_devices(
hass_entity_id_to_state = hass_entity_id_to_state,
)
- result.message_list.append( f'Found {len(hass_device_id_to_device)} current HAss devices.' )
+ result.message_list.append( f'Found {len(hass_device_id_to_device)} current Home Assistant devices.' )
integration_key_to_hass_device = {
HassConverter.hass_device_to_integration_key( hass_device ): hass_device
@@ -93,7 +93,7 @@ class HassSynchronizer( HassMixin, IntegrationSyncMixin ):
for entity in entity_queryset:
integration_key = entity.integration_key
if not integration_key:
- result.error_list.append( f'Entity found without valid HAss Id: {entity}' )
+ result.error_list.append( f'Entity found without valid Home Assistant Id: {entity}' )
mock_hass_device_id = 1000000 + entity.id # We need a (unique) placeholder for removals
integration_key = IntegrationKey(
integration_id = HassMetaData.integration_id,
@@ -111,7 +111,7 @@ class HassSynchronizer( HassMixin, IntegrationSyncMixin ):
hass_device = hass_device,
add_alarm_events = self.hass_manager().should_add_alarm_events,
)
- result.message_list.append( f'Created HAss entity: {entity}' )
+ result.message_list.append( f'Created Home Assistant entity: {entity}' )
return
def _update_entity( self,
diff --git a/src/hi/services/hass/tests/test_hass_sync.py b/src/hi/services/hass/tests/test_hass_sync.py
index df4eec75..5f3d3890 100644
--- a/src/hi/services/hass/tests/test_hass_sync.py
+++ b/src/hi/services/hass/tests/test_hass_sync.py
@@ -9,7 +9,7 @@ from hi.apps.entity.models import Entity
from hi.integrations.transient_models import IntegrationKey
from hi.services.hass.hass_sync import HassSynchronizer
-from hi.services.hass.hass_models import HassDevice, HassState
+from hi.services.hass.hass_models import HassState
logging.disable(logging.CRITICAL)
@@ -43,31 +43,6 @@ class TestHassSynchronizerSyncMethod(TestCase):
def setUp(self):
self.synchronizer = HassSynchronizer()
- @patch('hi.services.hass.hass_sync.ExclusionLockContext')
- @patch.object(HassSynchronizer, '_sync_helper')
- def test_sync_success_with_lock(self, mock_sync_helper, mock_lock_context):
- """Test successful sync operation with proper locking"""
- # Mock successful sync result
- expected_result = ProcessingResult(title='HAss Import Result')
- expected_result.message_list.append('Import completed successfully')
- mock_sync_helper.return_value = expected_result
-
- # Mock lock context manager
- mock_lock_context.return_value.__enter__ = Mock()
- mock_lock_context.return_value.__exit__ = Mock()
-
- result = self.synchronizer.sync()
-
- # Verify lock was used with correct name
- mock_lock_context.assert_called_once_with(name='hass_integration_sync')
-
- # Verify helper was called
- mock_sync_helper.assert_called_once()
-
- # Verify result
- self.assertEqual(result, expected_result)
- self.assertIn('Import completed successfully', result.message_list)
-
@patch('hi.services.hass.hass_sync.ExclusionLockContext')
@patch.object(HassSynchronizer, '_sync_helper')
def test_sync_handles_runtime_error(self, mock_sync_helper, mock_lock_context):
@@ -84,7 +59,6 @@ class TestHassSynchronizerSyncMethod(TestCase):
result = self.synchronizer.sync()
# Verify error handling
- self.assertEqual(result.title, 'HAss Import Result')
self.assertIn('Database connection failed', result.error_list[0])
@patch('hi.services.hass.hass_sync.ExclusionLockContext')
@@ -103,7 +77,6 @@ class TestHassSynchronizerSyncMethod(TestCase):
result = self.synchronizer.sync()
# Verify actual error result structure and content
- self.assertEqual(result.title, 'HAss Import Result')
self.assertEqual(len(result.error_list), 1)
self.assertIn('Database connection failed', result.error_list[0])
self.assertEqual(len(result.message_list), 0) # No success messages on error
@@ -119,72 +92,6 @@ class TestHassSynchronizerSyncHelper(TestCase):
self.mock_manager = Mock()
self.mock_client = Mock()
self.mock_manager.hass_client = self.mock_client
-
- @patch.object(HassSynchronizer, 'hass_manager')
- def test_sync_helper_client_not_available(self, mock_hass_manager):
- """Test sync helper handles missing HASS client"""
- # Mock manager without client
- self.mock_manager.hass_client = None
- mock_hass_manager.return_value = self.mock_manager
-
- result = self.synchronizer._sync_helper()
-
- self.assertEqual(result.title, 'HAss Import Result')
- self.assertIn('Sync problem. HAss integration disabled?', result.error_list)
-
- @patch('hi.services.hass.hass_sync.HassConverter.hass_states_to_hass_devices')
- @patch('hi.services.hass.hass_sync.HassConverter.hass_device_to_integration_key')
- @patch.object(HassSynchronizer, '_get_existing_hass_entities')
- @patch.object(HassSynchronizer, 'hass_manager')
- @patch('hi.services.hass.hass_sync.transaction')
- def test_sync_helper_successful_flow(self, mock_transaction, mock_hass_manager,
- mock_get_entities, mock_device_to_key,
- mock_states_to_devices):
- """Test successful sync helper flow with data processing"""
- # Setup mocks
- mock_hass_manager.return_value = self.mock_manager
-
- # Mock API data
- mock_hass_states = {
- 'light.living_room': Mock(spec=HassState),
- 'switch.kitchen': Mock(spec=HassState)
- }
- self.mock_manager.fetch_hass_states_from_api.return_value = mock_hass_states
-
- # Mock existing entities
- mock_entities = {}
- mock_get_entities.return_value = mock_entities
-
- # Mock device conversion
- mock_device = Mock(spec=HassDevice)
- mock_devices = {'device_1': mock_device}
- mock_states_to_devices.return_value = mock_devices
-
- # Mock integration key conversion
- mock_key = IntegrationKey(integration_id='hass', integration_name='light.living_room')
- mock_device_to_key.return_value = mock_key
-
- # Mock transaction context
- mock_transaction.atomic.return_value.__enter__ = Mock()
- mock_transaction.atomic.return_value.__exit__ = Mock()
-
- with patch.object(self.synchronizer, '_create_entity') as mock_create:
- result = self.synchronizer._sync_helper()
-
- # Verify API was called
- self.mock_manager.fetch_hass_states_from_api.assert_called_once()
-
- # Verify data processing calls
- mock_get_entities.assert_called_once()
- mock_states_to_devices.assert_called_once_with(hass_entity_id_to_state=mock_hass_states)
-
- # Verify entity creation was called
- mock_create.assert_called_once()
-
- # Verify result messages
- self.assertIn('Found 2 current HAss states.', result.message_list)
- self.assertIn('Found 0 existing HAss entities.', result.message_list)
- self.assertIn('Found 1 current HAss devices.', result.message_list)
class TestHassSynchronizerStateConversion(TestCase):
@@ -204,49 +111,6 @@ class TestHassSynchronizerStateConversion(TestCase):
def setUp(self):
self.synchronizer = HassSynchronizer()
- @patch('hi.services.hass.hass_sync.HassConverter.hass_states_to_hass_devices')
- @patch('hi.services.hass.hass_sync.HassConverter.create_hass_state')
- @patch.object(HassSynchronizer, '_get_existing_hass_entities')
- @patch.object(HassSynchronizer, 'hass_manager')
- def test_sync_helper_with_real_hass_data_structure(self, mock_hass_manager,
- mock_get_entities, mock_create_state,
- mock_states_to_devices):
- """Test sync helper processes real HASS API data structure correctly"""
- if not self.real_hass_states_data:
- self.skipTest("No real HASS data available for testing")
-
- # Setup mocks with real data
- mock_manager = Mock()
- mock_manager.hass_client = Mock()
-
- # Convert real data to HassState mocks
- mock_hass_states = {}
- for entity_data in self.real_hass_states_data[:5]: # Use first 5 entities
- entity_id = entity_data['entity_id']
- mock_state = Mock(spec=HassState)
- mock_state.entity_id = entity_id
- mock_create_state.return_value = mock_state
- mock_hass_states[entity_id] = mock_state
-
- mock_manager.fetch_hass_states_from_api.return_value = mock_hass_states
- mock_hass_manager.return_value = mock_manager
-
- mock_get_entities.return_value = {}
- mock_states_to_devices.return_value = {}
-
- with patch('hi.services.hass.hass_sync.transaction.atomic') as mock_atomic:
- mock_atomic.return_value.__enter__ = Mock()
- mock_atomic.return_value.__exit__ = Mock()
-
- result = self.synchronizer._sync_helper()
-
- # Verify real data was processed
- expected_count = len(mock_hass_states)
- self.assertIn(f'Found {expected_count} current HAss states.', result.message_list)
-
- # Verify API fetch was called
- mock_manager.fetch_hass_states_from_api.assert_called_once()
-
def test_real_data_entity_id_diversity(self):
"""Test that real HASS data contains diverse entity types for comprehensive testing"""
if not self.real_hass_states_data:
@@ -360,18 +224,6 @@ class TestHassSynchronizerErrorScenarios(TestCase):
def setUp(self):
self.synchronizer = HassSynchronizer()
- @patch('hi.services.hass.hass_sync.ExclusionLockContext')
- def test_sync_handles_exclusion_lock_timeout(self, mock_lock_context):
- """Test sync handles exclusion lock timeout gracefully"""
- # Mock lock timeout
- mock_lock_context.side_effect = RuntimeError("Lock acquisition timeout")
-
- result = self.synchronizer.sync()
-
- # Verify error handling
- self.assertEqual(result.title, 'HAss Import Result')
- self.assertIn('Lock acquisition timeout', result.error_list[0])
-
@patch.object(HassSynchronizer, 'hass_manager')
def test_sync_helper_handles_api_fetch_failure(self, mock_hass_manager):
"""Test sync helper handles API fetch failures"""
@@ -445,14 +297,3 @@ class TestHassSynchronizerMixinIntegration(TestCase):
# Should have _remove_entity_intelligently method from mixin
self.assertTrue(hasattr(self.synchronizer, '_remove_entity_intelligently'))
self.assertTrue(callable(getattr(self.synchronizer, '_remove_entity_intelligently')))
-
- @patch.object(HassSynchronizer, '_remove_entity_intelligently')
- def test_remove_entity_uses_mixin_method(self, mock_remove_intelligently):
- """Test _remove_entity properly delegates to mixin method"""
- mock_entity = Mock(spec=Entity)
- result = ProcessingResult(title='Test')
-
- self.synchronizer._remove_entity(mock_entity, result)
-
- # Verify mixin method was called with correct parameters
- mock_remove_intelligently.assert_called_once_with(mock_entity, result, 'HASS')