consistent naming of to_cs_value, fix sensor#clone_from