         (let [sort-spec                   (:sort-spec cursor)
               {:keys [sort-key sort-asc]} sort-spec
               th-chan                     (om/get-state owner :th-chan)
-              ;; Don't show synthethic devices as they can't be edited by the user
-              devices                     (into [] (remove #(:synthetic %) (fetch-devices (-> properties :selected) properties)))
+              devices                     (into [] (fetch-devices (-> properties :selected) properties))
               table-id                    "sensors-table"]
           (html
            [:div.col-md-12 {:style {:overflow "auto"}}

                        :class (str "btn btn-danger")
                        :onClick (fn [_]
                                   (put! event-chan {:event :editing :value false}))} "Cancel"]
              [:button {:type "button"
                        :class "btn btn-danger pull-right"
                        :onClick (fn [_]
                                   (delete-device property_id device_id event-chan refresh-chan))}
               "Delete Device"]]]
            [:h3 "Device"]
            (bs/static-text cursor [:device :device_id] "Device ID")
            (bs/text-input-control cursor owner [:device :description] "Unique Description")
            (bs/text-input-control cursor owner [:device :name] "Further Description")
            (location-input cursor owner)
            (privacy-checkbox cursor owner [:device :privacy] "Private")
            [:h3 "Sensors"]
            (let [sensors (into [] (remove #(:synthetic %) (:readings (:device cursor))))]
              (if (seq sensors)
                [:ul.list-group
                 (for [sensor  sensors]
                   (sensor-edit-div property_id sensor owner event-chan refresh-chan))]
                [:p "No sensors found."]))]]])))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

            device_id    (-> cursor :device :device_id)
            refresh-chan (om/get-shared owner :refresh)
            event-chan   (om/get-state owner :event-chan)
            {:keys [status text]} state
            synthetic?   (-> cursor :device :synthetic)]
        (html
         [:div
          (alert "alert alert-danger" [:p text] status "edit-device-form-alert" owner)
