{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/homebridge-homeassistant/issues/71","repository_url":"https://api.github.com/repos/home-assistant/homebridge-homeassistant","labels_url":"https://api.github.com/repos/home-assistant/homebridge-homeassistant/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/homebridge-homeassistant/issues/71/comments","events_url":"https://api.github.com/repos/home-assistant/homebridge-homeassistant/issues/71/events","html_url":"https://github.com/home-assistant/homebridge-homeassistant/issues/71","id":188930531,"number":71,"title":"Negative temperature not reported","user":{"login":"TWilb","id":1786559,"avatar_url":"https://avatars.githubusercontent.com/u/1786559?v=3","gravatar_id":"","url":"https://api.github.com/users/TWilb","html_url":"https://github.com/TWilb","followers_url":"https://api.github.com/users/TWilb/followers","following_url":"https://api.github.com/users/TWilb/following{/other_user}","gists_url":"https://api.github.com/users/TWilb/gists{/gist_id}","starred_url":"https://api.github.com/users/TWilb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TWilb/subscriptions","organizations_url":"https://api.github.com/users/TWilb/orgs","repos_url":"https://api.github.com/users/TWilb/repos","events_url":"https://api.github.com/users/TWilb/events{/privacy}","received_events_url":"https://api.github.com/users/TWilb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-12T19:41:00Z","updated_at":"2017-01-13T08:20:56Z","closed_at":null,"body":"I have a temperature sensor reporting °C values. During the last night I got a value below 0°C and it was correctly handled in HA. Unfortunately this did not work with homebridge.\r\n\r\nI could fix this by adding the following lines to sensors.js getServices():\r\n\r\n```\r\nthis.sensorService\r\n      .getCharacteristic(this.characteristic)\r\n      .setProps({minValue: -50});\r\n```\r\n\r\nWith -50°C I should be on the save side.\r\n\r\nI am not sure if this is a good fix but for me it is working."},"comment":{"url":"https://api.github.com/repos/home-assistant/homebridge-homeassistant/issues/comments/272386537","html_url":"https://github.com/home-assistant/homebridge-homeassistant/issues/71#issuecomment-272386537","issue_url":"https://api.github.com/repos/home-assistant/homebridge-homeassistant/issues/71","id":272386537,"user":{"login":"jamieshaw","id":16481433,"avatar_url":"https://avatars.githubusercontent.com/u/16481433?v=3","gravatar_id":"","url":"https://api.github.com/users/jamieshaw","html_url":"https://github.com/jamieshaw","followers_url":"https://api.github.com/users/jamieshaw/followers","following_url":"https://api.github.com/users/jamieshaw/following{/other_user}","gists_url":"https://api.github.com/users/jamieshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/jamieshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamieshaw/subscriptions","organizations_url":"https://api.github.com/users/jamieshaw/orgs","repos_url":"https://api.github.com/users/jamieshaw/repos","events_url":"https://api.github.com/users/jamieshaw/events{/privacy}","received_events_url":"https://api.github.com/users/jamieshaw/received_events","type":"User","site_admin":false},"created_at":"2017-01-13T08:20:56Z","updated_at":"2017-01-13T08:20:56Z","body":"@nodomain It's an entirely new line.  Your final code should look like the following:\r\n```\r\nthis.sensorService\r\n      .getCharacteristic(this.characteristic)\r\n      .setProps({minValue: -50})\r\n      .on('get', this.getState.bind(this));\r\n```\r\n\r\nIf I can get the hang of git, merge requests and such, I'll put forward as a fix."}}
{"actor":{"display_login":"jamieshaw"}}