Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
HomeAssistant
Core
Commits
671f1293
Unverified
Commit
671f1293
authored
2 years ago
by
donoghdb
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix met_eireann default wind speed unit (#77229)
Update default units
parent
de7fdedd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
homeassistant/components/met_eireann/weather.py
+2
-2
2 additions, 2 deletions
homeassistant/components/met_eireann/weather.py
with
2 additions
and
2 deletions
homeassistant/components/met_eireann/weather.py
+
2
−
2
View file @
671f1293
...
...
@@ -13,7 +13,7 @@ from homeassistant.const import (
CONF_NAME
,
LENGTH_MILLIMETERS
,
PRESSURE_HPA
,
SPEED_METERS_PER_
SECOND
,
SPEED_
KILO
METERS_PER_
HOUR
,
TEMP_CELSIUS
,
)
from
homeassistant.core
import
HomeAssistant
...
...
@@ -58,7 +58,7 @@ class MetEireannWeather(CoordinatorEntity, WeatherEntity):
_attr_native_precipitation_unit
=
LENGTH_MILLIMETERS
_attr_native_pressure_unit
=
PRESSURE_HPA
_attr_native_temperature_unit
=
TEMP_CELSIUS
_attr_native_wind_speed_unit
=
SPEED_METERS_PER_
SECOND
_attr_native_wind_speed_unit
=
SPEED_
KILO
METERS_PER_
HOUR
def
__init__
(
self
,
coordinator
,
config
,
hourly
):
"""
Initialise the platform with a data instance and site.
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment