Support incoming SMS messages via polling (#54237)
* Add support to incomming SMS via polling * Update dependencies * Only send notification for unread messages * Only inform if callback is not getting used * Update gateway.py * Apply PR feedback * Update homeassistant/components/sms/gateway.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Apply PR comments * Make black happy Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
a47532c69b
commit
1b0e014783
4 changed files with 50 additions and 26 deletions
|
@ -2,3 +2,4 @@
|
|||
|
||||
DOMAIN = "sms"
|
||||
SMS_GATEWAY = "SMS_GATEWAY"
|
||||
SMS_STATE_UNREAD = "UnRead"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue