J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Marc Mueller
16dcbf1467
Update pylint ( #47205 )
2021-02-28 22:09:01 -10:00
Olivér Falvai
6ffa3c18b2
Upgrade Telegram lib, refactor component for breaking changes ( #44147 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-17 21:09:58 +01:00
Tobias Perschon
266f82ac76
Add send animation service to telegram ( #41489 )
...
* added telegram sendAnimation api call
Signed-off-by: Tobias Perschon <tobias@perschon.at>
* more accurate service descriptions
Signed-off-by: Tobias Perschon <tobias@perschon.at>
* added 3rd parse_mode to description
2020-12-15 15:20:08 +01:00
Vladimir Dronnikov
a4b1990487
Add telegram_bot.send_voice service ( #43433 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-12-02 20:44:02 +01:00
Wictor
5fa00244da
Allow members of allowed groups to talk to telegram_bot ( #43241 )
2020-12-02 19:25:35 +01:00
Nikolai
a396f8f76f
Add telegram_sent event ( #41159 )
...
Co-authored-by: Heine Furubotten <hfurubotten@users.noreply.github.com>
2020-10-29 17:55:25 -05:00
Franck Nijhof
0e98bc5ea2
Skip template result parsing in several places ( #42408 )
...
* 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. Nick Koston
9c719beded
Update telegram_bot to use async_add_executor_job ( #41924 )
2020-10-16 13:29:28 +02:00
Nikolai
27c3ce16c3
Fix spelling in telegram_bot services ( #41235 )
2020-10-04 22:52:02 +02:00
Franck Nijhof
cc4ebc925c
Improve X-Forwarded-* request headers handling ( #38696 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-08-11 22:57:50 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Franck Nijhof
e3e3a113e9
async_get_url -> get_url ( #35382 )
2020-05-08 21:53:28 +02:00
Franck Nijhof
2223592486
Add get_url helper, deprecate base_url ( #35224 )
2020-05-08 02:29:47 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* Add prettier (in pre-commit and CI)
* Make all file prettier
* Change order
* Add to Azure Pipelines
* Fix a YAML file prettier caught as invalid
* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Konsts
114d48ed8b
Add timeout attribute for send files ( #31379 )
...
* Add timeout attribute for send files
* Remove dublicate
Remove attribute dublicate in BASE_SERVICE_SCHEMA
* Remove duplicate
return attribute to BASE_SERVICE_SCHEMA and remove from SERVICE_SCHEMA_SEND_FILE
* Add timeout parameter description
Add timeout parameter description for "send message" and "send location"
2020-02-03 21:23:58 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
Sérgio
5ad209c6fd
Handle telegram event commands with args ( #30254 )
...
* Handle telegram event commands with args
* Parse message regargless of command
* Lint
* Use multiple assignment
2020-01-03 08:22:14 -05:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Bas Nijholt
de915e1bf0
Sort imports according to PEP8 for components starting with "T" ( #29778 )
2019-12-09 14:41:48 +01:00
Paulus Schoutsen
a050d54847
Make hassfest stricter ( #29494 )
...
* Make hassfest stricter
* Update manifest.json
2019-12-05 10:15:28 +01:00
Luca Angemi
cae802f7ee
Include telegram_bot message id for all messages ( #29315 )
...
* Include telegram_bot message id for all messages
* Update __init__.py
2019-12-03 12:51:45 -08:00
Ville Skyttä
99c7608fb4
Lint config cleanups ( #28864 )
...
* Remove bunch of unneeded lint exclusions
* Use symbolic names instead of identifiers in pylint disables
* Tighten scope of some pylint disables
2019-11-25 22:40:08 -08:00
Nikolay Vasilchuk
abbf6595bb
Fix ( #28369 )
2019-10-31 12:07:07 -07:00
Quentame
bd0403c65e
Move imports in telegram_bot component ( #27785 )
2019-10-17 17:19:34 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
Franck Nijhof
ef0e9431b6
Use literal string interpolation in integrations T-W (f-strings) ( #26394 )
2019-09-03 21:12:51 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Tobias Perschon
3a91c8f285
updated telegram trusted IPs ( #25564 )
...
updated telegram trusted IPs (Source: https://core.telegram.org/bots/webhooks )
2019-07-29 14:51:05 -05:00
Max
7331eb1f71
Allow removing Telegram reply keyboard ( #23467 )
...
* Allow removing telegram reply keyboard by setting `keyboard` to an empty list
* Telegram keyboard: [] clearing in services.yaml
2019-05-02 15:14:40 -04:00
Andrey "Limych" Khrolenok
2e57d48191
Adding Telegram bot leave_chat() service ( #22259 )
...
* Adding leave_chat() service
* Fix indent
2019-04-17 10:15:33 -07:00
Nikolay Vasilchuk
7b1cbeaf80
Fix verify_ssl configuration ( #23146 )
...
Fix verify_ssl configuration
2019-04-16 11:55:12 -07:00
Diogo Gomes
51508d69ad
Bandage telegram bot ( #23022 )
...
* Bandage
* lint
* move everything into __init__.py
* fix lint
2019-04-12 14:28:59 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
e48ef7f441
Fix broken platform components ( #22943 )
...
* Fix broken platform components
* Lint
2019-04-09 15:42:44 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Nacho Barrientos
42265036ff
Telegram_bot: Allow fetching data from unverified SSL endpoints ( #22067 ) ( #22069 )
...
* Telegram_bot: Allow fetching data from unverified SSL endpoints (#22067 )
This patch adds an extra option to the payload that describes the
resource to send to disable the SSL server verification when polling
data from URLs.
* Use the boolean interpretation of the variable directly
Co-Authored-By: nbarrientos <nacho@criptonita.com>
2019-03-16 09:18:10 +08:00
Ben Randall
e14c8c788e
Add PLATFORM_SCHEMA_BASE to telegram_bot component ( #21155 )
2019-02-28 18:27:40 +01:00
Daniel Høyer Iversen
519315f9c8
pylint 2.3.0 ( #21485 )
...
* pylint 2.3.0
* remove const
* disable=syntax-error
2019-02-27 16:10:40 -05:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* 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
Luca Angemi
0f877711a0
Fixes Telegram webhooks ( #17554 )
2018-10-28 19:39:23 +01:00
Nikolay Vasilchuk
0c0c471447
Fix: Connection pool of Request object is smaller than optimal value (8) ( #17483 )
2018-10-16 10:22:57 +02:00
Fabian Affolter
5ac0469ef9
Upgrade python-telegram-bot to 11.1.0 ( #17441 )
2018-10-14 17:08:17 +02:00
cdce8p
3b5e5cbcd6
Async syntax 5, light & lock & remote & scene & telegram & helpers ( #17019 )
2018-10-01 08:56:50 +02:00
Nikolay Vasilchuk
917df1af00
Telegram_bot polling support proxy_url and proxy_params ( Fix #15746 ) ( #16740 )
...
* Telegram bot polling proxy support
* CI fix
* houndci-bot review fix
* houndci-bot review fix
* CI fix
* Review
* Update polling.py
2018-09-26 11:59:37 +02:00
Fabian Affolter
ac3700d1c4
Upgrade python-telegram-bot to 11.0.0 ( #16373 )
2018-09-02 19:01:25 +02:00
Ville Skyttä
b7c336a687
Pylint cleanups ( #15626 )
...
* Pylint 2 no-else-return fixes
* Remove unneeded abstract-class-not-used pylint disable
2018-07-23 10:16:05 +02:00
Fabian Affolter
a5bff4cd8d
Upgrade python-telegram-bot to 10.1.0 ( #14441 )
2018-05-13 17:59:25 +02:00
Fabian Affolter
9a9161477f
Upgrade python-telegram-bot to 10.0.2 ( #14144 )
2018-04-28 23:16:51 +02:00