]> pilppa.org Git - lib1wire.git/blobdiff - src/W1Device.cc
Support for seting and changing values from device specific config
[lib1wire.git] / src / W1Device.cc
index 467a3359685eb7a432ee606259684fe4d79e687b..46e5b7046e7e173e0ddc54a64ac319c304de31fa 100644 (file)
@@ -84,7 +84,7 @@ string W1Device::get_formatted_value() {
 string W1Device::get_formatted_value(string value) {
        string ret_val;
 
-       ret_val = get_time() + "|" + get_device_type() + "|" + id + "|" + value + " " + get_unit();
+       ret_val = get_time() + "|" + value + " " + get_unit();
        add_to_memory_cache(ret_val);
        return ret_val;
 }