home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.96k stars 30.52k forks source link

WUnderground relative humidity shows 2 "%" symbols #3047

Closed sgauche closed 8 years ago

sgauche commented 8 years ago

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version): 0.27

Python release (python3 --version): 3.4.2

Component/platform: sensor: platform: wunderground

Description of problem: The relative humidity state is "63%" with the unit of measurement also set to "%" so it seems that HA puts 2 % symbols in the view.

image

Expected: I would expect the state of the relative humidity to be "63" and then unit of measurement to be "%" and only see 1 % symbol in the view.

Problem-relevant configuration.yaml entries and steps to reproduce:

sensor:
  platform: wunderground
  api_key: <redacted>
  monitored_conditions:
    - weather
    - temp_f
    - station_id
    - relative_humidity
customize:
  sensor.pws_relative_humidity:
    icon: mdi:water-percent
    friendly_name: 'Outdoor Humidity'

Traceback (if applicable):

Additional info:

arsaboo commented 8 years ago

This should be fixed in the upcoming release (https://github.com/home-assistant/home-assistant/pull/3018)

sgauche commented 8 years ago

@arsaboo Alright, I should start to search closed issues.