replace " in the device Name

also fix a problem in the service where __settings__ was not defined