Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digits in target temperature for thermostat #741

Closed
mbierman opened this issue Jun 10, 2020 · 3 comments
Closed

Digits in target temperature for thermostat #741

mbierman opened this issue Jun 10, 2020 · 3 comments
Labels

Comments

@mbierman
Copy link

mbierman commented Jun 10, 2020

Describe The Bug:
The digits for Target temperature are too many decimal places. “60.980000000000004°”

To Reproduce:

  1. Go to accessories.
  2. Look at a thermostat.

Expected behavior:
Show 1 decimal place for the target temperature.

Logs:

Show the Homebridge / Homebridge Config UI X logs here.

Homebridge Config:

{
    "bridge": {
        "name": "Homebridge Synology",
        "username": "",
        "port": 53036,
        "pin": ""
    },
    "accessories": [
        {
            "accessory": "PowerlossIFTTTNotifier",
            "name": "PowerlossIFTTTNotifier",
            "IFTTTkey": "",
            "IFTTTservice": "",
            "IFTTTvalue2": "Homebridge started at",
            "IFTTTvalue3": false
        },
        {
            "accessory": "Synology",
            "name": "Pigpen",
            "ip": "",
            "mac": "",
            "port": "5001",
            "secure": true,
            "account": "",
            "password": "",
            "version": 6,
            "timeout": 15000,
            "disabled": [
                ""
            ],
            "doPolling": true,
            "pollingInterval": 120
        },
        {
            "accessory": "neurio",
            "name": "neurio",
            "location": "",
            "username": "",
            "password": "",
            "options": {
                "ttl": 30,
                "verboseP": false
            }
        },
        {
            "name": "Garage Door",
            "username": "",
            "password": "",
            "accessory": "Chamberlain"
        },
        {
            "accessory": "HTTP-SWITCH",
            "name": "Flo",
            "switchType": "stateful",
            "pullInterval": 5000,
            "debug": false,
            "statusPattern": "true",
            "onUrl": {
                "url": "",
                "method": "GET"
            },
            "offUrl": {
                "url": "",
                "method": "GET"
            },
            "statusUrl": {
                "url": "",
                "method": "GET",
                "headers": {
                    "Accept": "application/json",
                    "Authorization": "Basic"
                }
            }
        },
        {
            "accessory": "AutomationCalendar",
            "name": "AutomationCalendar",
            "latitude": ,
            "longitude": 
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "blue",
            "tempUnits": "f",
            "lang": "auto",
            "sessionTimeout": 28800,
            "log": {
                "method": "null"
            },
            "accessoryControl": {
                "debug": true
            },
            "platform": "config"
        },
        {
            "platform": "Nest",
            "name": "Nest",
            "access_token": ""
        },
        {
            "platform": "TuyaWebPlatform",
            "name": "Smart Life",
            "options": {
                "username": "",
                "password": "",
                "countryCode": "1",
                "platform": "smart_life",
                "pollingInterval": 120
            }
        },
        {
            "platform": "WeatherPlus",
            "units": "us",
            "interval": 5,
            "stations": [
                {
                    "nameNow": "Now",
                    "service": "openweathermap",
                    "key": "",
                    "locationGeo": [
                        37.35,
                        -121.96
                    ],
                    "locationCity": "",
                    "language": "en",
                    "compatibility": "both",
                    "forecast": [
                        0
                    ],
                    "conditionCategory": "detailed",
                    "now": true,
                    "extraHumidity": false,
                    "hidden": [
                        "Air Pressure",
                        "Observation Station",
                        "Observation Time",
                        "Snow"
                    ],
                    "tresholdCloudCover": 30,
                    "tresholdUvIndex": 4,
                    "tresholdWindSpeed": 10
                }
            ]
        }
    ]
}

Screenshots:
B410D1F8-1688-4BA1-A752-DD1DBFB46137

Environment:

  • Node.js Version: v12.180
  • NPM Version: v6.14.5
  • Homebridge Version: V1.1.0
  • Homebridge Config UI X Version: v4.22.0
  • Operating System: Docker
  • Process Supervisor: Docker
@mbierman mbierman added the bug label Jun 10, 2020
@mbierman mbierman changed the title Digits in thermostat Digits in target temperature for thermostat Jun 10, 2020
@oznu
Copy link
Member

oznu commented Jun 11, 2020

I'll fix this.

If you swap to normal units (Celsius) this wouldn't be an issue 😆

@mbierman
Copy link
Author

LoL Thanks Oznu!

@oznu oznu closed this as completed Jun 18, 2020
@oznu
Copy link
Member

oznu commented Jun 18, 2020

Fixed in 4.23.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants