{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4205","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4205/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4205/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4205/events","html_url":"https://github.com/home-assistant/home-assistant/issues/4205","id":187211450,"number":4205,"title":"HASS adds 16 decimal places to displayed values","user":{"login":"KmanOz","id":1904926,"avatar_url":"https://avatars.githubusercontent.com/u/1904926?v=3","gravatar_id":"","url":"https://api.github.com/users/KmanOz","html_url":"https://github.com/KmanOz","followers_url":"https://api.github.com/users/KmanOz/followers","following_url":"https://api.github.com/users/KmanOz/following{/other_user}","gists_url":"https://api.github.com/users/KmanOz/gists{/gist_id}","starred_url":"https://api.github.com/users/KmanOz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KmanOz/subscriptions","organizations_url":"https://api.github.com/users/KmanOz/orgs","repos_url":"https://api.github.com/users/KmanOz/repos","events_url":"https://api.github.com/users/KmanOz/events{/privacy}","received_events_url":"https://api.github.com/users/KmanOz/received_events","type":"User","site_admin":false},"labels":[{"id":56754859,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-03T22:50:49Z","updated_at":"2016-11-22T07:26:48Z","closed_at":null,"body":"Hi\r\n\r\nI have an mqtt sensor that receives Temperature and Humidity data periodically. This is the mqtt message received by HASS.\r\n\r\n`16-11-03 11:02:43 homeassistant.components.mqtt: received message on home/sonoff/IT_closet/1/temp: {\"Temp\": 22.10, \"Humidity\": 42.20}`\r\n\r\nThis is the value template I am using\r\n\r\n`value_template: \"{{ value_json.Temp | round(1) }}\"`\r\n`value_template: \"{{ value_json.Humidity | round(1) }}\" `\r\n\r\nThis is what HASS is displaying on screen.\r\n\r\n![screen shot 2016-11-03 at 11 02 43 pm](https://cloud.githubusercontent.com/assets/1904926/19988018/1d6fd1fe-a272-11e6-946b-bd00df554f62.png)\r\n\r\nIt seems that if the value is whole (22 & 42) it displays normal. Also if the fraction is .5 it also displays normal.\r\n\r\n![screen shot 2016-11-03 at 11 10 23 pm](https://cloud.githubusercontent.com/assets/1904926/19988154/dc6356ee-a272-11e6-9d28-d5ead1a7d676.png)\r\n![screen shot 2016-11-03 at 11 46 24 pm](https://cloud.githubusercontent.com/assets/1904926/19988160/e38fb552-a272-11e6-9583-4d2a200ac62e.png)\r\n\r\nThe version of HASS is 0.31.1 running on a Synology NAS with Python 3.5.1-0104. I have tried different versions of HASS from 0.26.0 onwards and it makes no difference.\r\n\r\nThis is my test environment. I also have it running on a Deb Jessie server and on that environment it displays normally and I don't have to pipe to round().\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/262166896","html_url":"https://github.com/home-assistant/home-assistant/issues/4205#issuecomment-262166896","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4205","id":262166896,"user":{"login":"KmanOz","id":1904926,"avatar_url":"https://avatars.githubusercontent.com/u/1904926?v=3","gravatar_id":"","url":"https://api.github.com/users/KmanOz","html_url":"https://github.com/KmanOz","followers_url":"https://api.github.com/users/KmanOz/followers","following_url":"https://api.github.com/users/KmanOz/following{/other_user}","gists_url":"https://api.github.com/users/KmanOz/gists{/gist_id}","starred_url":"https://api.github.com/users/KmanOz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KmanOz/subscriptions","organizations_url":"https://api.github.com/users/KmanOz/orgs","repos_url":"https://api.github.com/users/KmanOz/repos","events_url":"https://api.github.com/users/KmanOz/events{/privacy}","received_events_url":"https://api.github.com/users/KmanOz/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T07:26:48Z","updated_at":"2016-11-22T07:26:48Z","body":"@balloob Thanks Paulus. Both systems run current version of HASS. System that works is installed on Deb Jessie. System that doesn't work is on Synology NAS. Both are Celcius and in fact the sensor component is just copied over verbatim from system that works to system that doesn't."}}
{"actor":{"display_login":"KmanOz"}}