home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.78k stars 30.49k forks source link

The sms integration “SMS notifications via GSM-modem” doesn't work ob core 2021.7 (2021.7.0 - 2021.7.2) #53072

Closed scxs001 closed 3 years ago

scxs001 commented 3 years ago

The problem

The sms integration “SMS notifications via GSM-modem” doesn't work on core 2021.7 (2021.7.0 - 2021.7.3), but it works fine on 2021.6.6. Please check, thanks

What is version of Home Assistant Core has the issue?

2021.7.3

What was the last working version of Home Assistant Core?

2021.6.6

What type of installation are you running?

Home Assistant OS

Integration causing the issue

SMS notifications via GSM-modem

Link to integration documentation on our website

https://www.home-assistant.io/integrations/sms

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.sms.gateway
Source: components/sms/gateway.py:167
Integration: SMS notifications via GSM-modem (documentation, issues)
First occurred: 20:32:50 (1 occurrences)
Last logged: 20:32:50
Failed to initialize, error ERR_NOTSUPPORTED

Logger: homeassistant.components.sms.notify
Source: components/sms/notify.py:24
Integration: SMS notifications via GSM-modem (documentation, issues)
First occurred: 20:32:50 (1 occurrences)
Last logged: 20:32:50
SMS gateway not found, cannot initialize service

Logger: homeassistant.components.notify
Source: components/notify/init.py:311
Integration: notify (documentation, issues)
First occurred: 20:32:50 (1 occurrences)
Last logged: 20:32:50
Failed to initialize notification service sms

Additional information

No response

Jedrek2021 commented 3 years ago

I did the update to core-2021.8.3 and sending SMS works, Thank you, it's a good job to fix the problem. Receiving SMS is not working yet

dolenec commented 3 years ago

I can confirm that sending SMS is now working. Great job. In log files there is only warning that only sending SMS is working and that current platform do not support of receiving SMS - just to notify you..

ocalvo commented 3 years ago

I have created a draft PR for the work to support incoming SMS. It needs a new version of python-gammu that incorporates this bug fix.