mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Convert kpH and mpH to kph and mph (#6316)
There is no reason for the H to be capitalized. Changing it to lowercase increases consistency with other components and allows for use of the min/max sensor, which throws an error if the units of measurement are not the same.
This commit is contained in:
parent
41f558b181
commit
7bc2e1238d
@ -68,10 +68,10 @@ SENSOR_TYPES = {
|
||||
'weather': ['Weather Summary', None],
|
||||
'wind_degrees': ['Wind Degrees', None],
|
||||
'wind_dir': ['Wind Direction', None],
|
||||
'wind_gust_kph': ['Wind Gust', 'kpH'],
|
||||
'wind_gust_mph': ['Wind Gust', 'mpH'],
|
||||
'wind_kph': ['Wind Speed', 'kpH'],
|
||||
'wind_mph': ['Wind Speed', 'mpH'],
|
||||
'wind_gust_kph': ['Wind Gust', 'kph'],
|
||||
'wind_gust_mph': ['Wind Gust', 'mph'],
|
||||
'wind_kph': ['Wind Speed', 'kph'],
|
||||
'wind_mph': ['Wind Speed', 'mph'],
|
||||
'wind_string': ['Wind Summary', None],
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user