Commit graph

22 commits

Author SHA1 Message Date
Franck Nijhof
ca1a12898c
Enable Ruff D212 () 2023-02-03 23:08:48 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 () 2023-02-02 18:35:24 +01:00
w35l3y
beab6e2e5f
Fix ended session when there isn't any response from the user ()
* Fix end session when there isn't any response

This PR fixes 

* Added test case as requested

https://github.com/home-assistant/core/pull/72218#discussion_r881584812
2022-06-03 15:32:22 +02:00
Marc Mueller
ec980a574b
Improve typing [util.decorator] () 2022-02-23 20:58:42 +01:00
w35l3y
076faaa4a4
Add support to reprompt user () 2022-01-31 10:23:26 -08:00
Marc Mueller
2b72b7b7b9
Use assignment expressions 09 () 2021-10-17 20:19:56 +02:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ()
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Marc Mueller
16dcbf1467
Update pylint () 2021-02-28 22:09:01 -10:00
Franck Nijhof
0e98bc5ea2
Skip template result parsing in several places ()
* Skip template result parsing in several places

* Adjust alert integration

* Adjust Alexa integration

* Adjust apns integration

* Adjust arest integration

* Adjust dialogflow integration

* Adjust generic camera integration

* Adjust imap email content  integration

* Adjust InfluxDB integration

* Adjust intent integration

* Adjust logbook integration

* Adjust HP ILO integration

* Adjust manual alarm control panel integration

* Adjust manual mqtt alarm control panel integration

* Adjust minio integration

* Adjust mqtt integration

* Adjust notify integration

* Adjust persistent notification integration

* Adjust rest integration

* Adjust rss feed template integration

* Adjust slack integration

* Adjust Xiaomi integration

* Adjust TCP integration

* Adjust Telegram Bot integration

* Bump CI cache version

* Revert "Bump CI cache version"

This reverts commit 875efe58cf.

* Adjust demo tests
2020-10-26 19:29:10 +01:00
Jörg Thalheim
fbbc681ad4
Fix intent component initialisation ()
The intent component expect this method from every module that is called intent.
Fixes 
2020-06-07 20:45:34 -07:00
Franck Nijhof
feed139ae7
Small code style improvements to Alexa integration () 2020-04-04 14:20:48 -07:00
Franck Nijhof
ad51615718 Use literal string interpolation in integrations A (f-strings) ()
* Use literal string interpolation in integrations A (f-strings)

* Black
2019-09-03 09:11:36 -05:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Fabian Affolter
127c55e0c1
Update file header ()
* Update file header

* Update file header

* Update file header

* Update file header

* Update file header

* Fix lint issues
2019-02-13 21:21:14 +01:00
cdce8p
9aaf11de8c Async syntax 8/8 ()
* Async syntax 8

* Pylint fixes
2018-10-01 08:52:42 +02:00
Ville Skyttä
2f7b79764a More pylint 2 fixes ()
## Description:

More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).

## Checklist:
  - [ ] The code change is tested and works locally.
  - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
2018-07-20 11:45:20 +03:00
Fabian Affolter
47e31dc9ee Fixes for PEP257 ()
* Fixes for PEP257

* More updates
2018-01-20 22:35:38 -08:00
Paulus Schoutsen
5c2cecde70 Clean up Alexa.intent and DialogFlow.intent ()
* Clean up Alexa.intent

* Restructure dialogflow too

* Lint

* Lint
2018-01-07 01:39:32 +01:00
Corey Pauley
6cf2e758a8 Alexa slot synonym fix ()
* Added logic to the alexa component for handling slot synonyms

* Moved note with long url to the top of the file

* Just made a tiny url instead of messing with Flake8

* Refactored to be more Pythonic

* Put trailing comma back
2017-11-16 21:09:00 -08:00
Kenny Millington
7c24d77031 Don't use the 'id' field since it can be autogenerated (fixes ). () 2017-11-13 22:46:26 -08:00
Kenny Millington
16dd90ac78 Add support for Alexa intent slot synonyms. () 2017-11-10 09:35:57 -08:00
Paulus Schoutsen
05192e678e Break up Alexa per functionality ()
* Break up Alexa per functionality

* Lint

* Lint
2017-09-12 21:24:44 +02:00
Renamed from homeassistant/components/alexa.py (Browse further)