mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix Tasmota Wifi Signal Strength unit (#49263)
This commit is contained in:
parent
31c519b26d
commit
38f0c201c2
@ -3,7 +3,7 @@
|
|||||||
"name": "Tasmota",
|
"name": "Tasmota",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/tasmota",
|
"documentation": "https://www.home-assistant.io/integrations/tasmota",
|
||||||
"requirements": ["hatasmota==0.2.9"],
|
"requirements": ["hatasmota==0.2.10"],
|
||||||
"dependencies": ["mqtt"],
|
"dependencies": ["mqtt"],
|
||||||
"mqtt": ["tasmota/discovery/#"],
|
"mqtt": ["tasmota/discovery/#"],
|
||||||
"codeowners": ["@emontnemery"],
|
"codeowners": ["@emontnemery"],
|
||||||
|
@ -29,6 +29,7 @@ from homeassistant.const import (
|
|||||||
POWER_WATT,
|
POWER_WATT,
|
||||||
PRESSURE_HPA,
|
PRESSURE_HPA,
|
||||||
SIGNAL_STRENGTH_DECIBELS,
|
SIGNAL_STRENGTH_DECIBELS,
|
||||||
|
SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
|
||||||
SPEED_KILOMETERS_PER_HOUR,
|
SPEED_KILOMETERS_PER_HOUR,
|
||||||
SPEED_METERS_PER_SECOND,
|
SPEED_METERS_PER_SECOND,
|
||||||
SPEED_MILES_PER_HOUR,
|
SPEED_MILES_PER_HOUR,
|
||||||
@ -113,6 +114,7 @@ SENSOR_UNIT_MAP = {
|
|||||||
hc.POWER_WATT: POWER_WATT,
|
hc.POWER_WATT: POWER_WATT,
|
||||||
hc.PRESSURE_HPA: PRESSURE_HPA,
|
hc.PRESSURE_HPA: PRESSURE_HPA,
|
||||||
hc.SIGNAL_STRENGTH_DECIBELS: SIGNAL_STRENGTH_DECIBELS,
|
hc.SIGNAL_STRENGTH_DECIBELS: SIGNAL_STRENGTH_DECIBELS,
|
||||||
|
hc.SIGNAL_STRENGTH_DECIBELS_MILLIWATT: SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
|
||||||
hc.SPEED_KILOMETERS_PER_HOUR: SPEED_KILOMETERS_PER_HOUR,
|
hc.SPEED_KILOMETERS_PER_HOUR: SPEED_KILOMETERS_PER_HOUR,
|
||||||
hc.SPEED_METERS_PER_SECOND: SPEED_METERS_PER_SECOND,
|
hc.SPEED_METERS_PER_SECOND: SPEED_METERS_PER_SECOND,
|
||||||
hc.SPEED_MILES_PER_HOUR: SPEED_MILES_PER_HOUR,
|
hc.SPEED_MILES_PER_HOUR: SPEED_MILES_PER_HOUR,
|
||||||
|
@ -735,7 +735,7 @@ hass-nabucasa==0.43.0
|
|||||||
hass_splunk==0.1.1
|
hass_splunk==0.1.1
|
||||||
|
|
||||||
# homeassistant.components.tasmota
|
# homeassistant.components.tasmota
|
||||||
hatasmota==0.2.9
|
hatasmota==0.2.10
|
||||||
|
|
||||||
# homeassistant.components.jewish_calendar
|
# homeassistant.components.jewish_calendar
|
||||||
hdate==0.10.2
|
hdate==0.10.2
|
||||||
|
@ -405,7 +405,7 @@ hangups==0.4.11
|
|||||||
hass-nabucasa==0.43.0
|
hass-nabucasa==0.43.0
|
||||||
|
|
||||||
# homeassistant.components.tasmota
|
# homeassistant.components.tasmota
|
||||||
hatasmota==0.2.9
|
hatasmota==0.2.10
|
||||||
|
|
||||||
# homeassistant.components.jewish_calendar
|
# homeassistant.components.jewish_calendar
|
||||||
hdate==0.10.2
|
hdate==0.10.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user