mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Upgrade fuzzywuzzy to 0.16.0 (#11331)
This commit is contained in:
parent
b98e03b5bc
commit
391a8901c8
@ -12,20 +12,27 @@ import warnings
|
|||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant import core
|
from homeassistant import core
|
||||||
from homeassistant.loader import bind_hass
|
from homeassistant.components import http
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
ATTR_ENTITY_ID, SERVICE_TURN_OFF, SERVICE_TURN_ON)
|
ATTR_ENTITY_ID, SERVICE_TURN_OFF, SERVICE_TURN_ON)
|
||||||
from homeassistant.helpers import intent, config_validation as cv
|
from homeassistant.helpers import config_validation as cv
|
||||||
from homeassistant.components import http
|
from homeassistant.helpers import intent
|
||||||
|
from homeassistant.loader import bind_hass
|
||||||
|
|
||||||
|
REQUIREMENTS = ['fuzzywuzzy==0.16.0']
|
||||||
|
|
||||||
REQUIREMENTS = ['fuzzywuzzy==0.15.1']
|
_LOGGER = logging.getLogger(__name__)
|
||||||
DEPENDENCIES = ['http']
|
|
||||||
|
|
||||||
ATTR_TEXT = 'text'
|
ATTR_TEXT = 'text'
|
||||||
|
|
||||||
|
DEPENDENCIES = ['http']
|
||||||
DOMAIN = 'conversation'
|
DOMAIN = 'conversation'
|
||||||
|
|
||||||
|
INTENT_TURN_OFF = 'HassTurnOff'
|
||||||
|
INTENT_TURN_ON = 'HassTurnOn'
|
||||||
|
|
||||||
REGEX_TURN_COMMAND = re.compile(r'turn (?P<name>(?: |\w)+) (?P<command>\w+)')
|
REGEX_TURN_COMMAND = re.compile(r'turn (?P<name>(?: |\w)+) (?P<command>\w+)')
|
||||||
|
REGEX_TYPE = type(re.compile(''))
|
||||||
|
|
||||||
SERVICE_PROCESS = 'process'
|
SERVICE_PROCESS = 'process'
|
||||||
|
|
||||||
@ -39,12 +46,6 @@ CONFIG_SCHEMA = vol.Schema({DOMAIN: vol.Schema({
|
|||||||
})
|
})
|
||||||
})}, extra=vol.ALLOW_EXTRA)
|
})}, extra=vol.ALLOW_EXTRA)
|
||||||
|
|
||||||
INTENT_TURN_ON = 'HassTurnOn'
|
|
||||||
INTENT_TURN_OFF = 'HassTurnOff'
|
|
||||||
REGEX_TYPE = type(re.compile(''))
|
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
@core.callback
|
@core.callback
|
||||||
@bind_hass
|
@bind_hass
|
||||||
|
@ -289,7 +289,7 @@ fritzhome==1.0.3
|
|||||||
fsapi==0.0.7
|
fsapi==0.0.7
|
||||||
|
|
||||||
# homeassistant.components.conversation
|
# homeassistant.components.conversation
|
||||||
fuzzywuzzy==0.15.1
|
fuzzywuzzy==0.16.0
|
||||||
|
|
||||||
# homeassistant.components.tts.google
|
# homeassistant.components.tts.google
|
||||||
gTTS-token==1.1.1
|
gTTS-token==1.1.1
|
||||||
|
@ -59,7 +59,7 @@ evohomeclient==0.2.5
|
|||||||
feedparser==5.2.1
|
feedparser==5.2.1
|
||||||
|
|
||||||
# homeassistant.components.conversation
|
# homeassistant.components.conversation
|
||||||
fuzzywuzzy==0.15.1
|
fuzzywuzzy==0.16.0
|
||||||
|
|
||||||
# homeassistant.components.tts.google
|
# homeassistant.components.tts.google
|
||||||
gTTS-token==1.1.1
|
gTTS-token==1.1.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user