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
73.19k stars 30.57k forks source link

SimpliSafe not creating any entity #54308

Closed Unieveth closed 3 years ago

Unieveth commented 3 years ago

The problem

I have tested the SimpliSafe integration on multiple different core versions as listed below. I have attached a picture of the integration on the web page below. chrome_YOUw8akoyi

What is version of Home Assistant Core has the issue?

core-2021.7.4 - core-2021.8.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Simplisafe

Link to integration documentation on our website

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

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-08-09 02:31:25 DEBUG (MainThread) [simplipy] Data received from /api/token: {'access_token': 'REDACTED', 'refresh_token': 'REDACTED', 'expires_in': 3600, 'scopes': [4593802], 'token_type': 'Bearer'}
2021-08-09 02:31:25 INFO (MainThread) [homeassistant.components.light] Setting up light.hue
2021-08-09 02:31:25 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.hue
2021-08-09 02:31:25 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.hue
2021-08-09 02:31:25 DEBUG (MainThread) [simplipy] Data received from /api/authCheck: {'userId': REDACTED, 'isAdmin': False}
2021-08-09 02:31:25 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.ipp
2021-08-09 02:31:25 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.vizio
2021-08-09 02:31:25 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.vizio
2021-08-09 02:31:26 DEBUG (MainThread) [simplipy] Data received from /users/REDACTED/subscriptions: {'subscriptions': [{'uid': REDACTED, 'sid': REDACTED, 'sStatus': 7, 'activated': 0, 'planSku': 'SSSLFCAM', 'planName': 'Self Monitoring with Camera Recording', 'price': 9.99, 'currency': 'USD', 'country': 'US', 'expires': 1631094232, 'canceled': 0, 'extraTime': 0, 'creditCard': {'lastFour': '', 'type': '', 'ppid': 'REDACTED', 'backupPpid': None, 'uid': REDACTED}, 'time': 2628000, 'paymentProfileId': 'REDACTED', 'upgradeStatus': 0, 'features': {'monitoring': False, 'alerts': True, 'online': True, 'hazard': False, 'video': True, 'cameras': 10, 'dispatch': False, 'proInstall': False, 'discount': 0, 'vipCS': False, 'medical': False, 'careVisit': False, 'storageDays': 30}, 'status': {'hasBaseStation': True, 'isActive': True, 'monitoring': 'None'}, 'subscriptionFeatures': {'monitoredSensorsTypes': [], 'monitoredPanicConditions': [], 'dispatchTypes': [], 'remoteControl': ['ArmDisarm', 'LockUnlock', 'ViewSettings', 'ConfigureSettings'], 'cameraFeatures': {'liveView': True, 'maxRecordingCameras': 10, 'recordingStorageDays': 30, 'videoVerification': False}, 'support': {'level': 'Basic', 'annualVisit': False, 'professionalInstall': False}, 'cellCommunicationBackup': False, 'alertChannels': ['Push', 'SMS', 'Email'], 'alertTypes': ['Alarm', 'Error', 'Activity', 'Camera', 'ArmingReminder'], 'alarmModes': ['Alarm', 'SecretAlert', 'Disabled'], 'supportedIntegrations': ['GoogleAssistant', 'AmazonAlexa', 'AugustLock'], 'isProfessionallyMonitored': False}, 'dispatcher': 'cops', 'dcid': 0, 'activationCode': '', 'systemVersion': 20, 'orderProductId': 0, 'location': {'sid': REDACTED, 'uid': REDACTED, 'lStatus': 0, 'account': '0019B927', 'street1': 'REDACTED', 'street2': '', 'locationName': 'Home', 'city': 'REDACTED', 'county': 'REDACTED', 'state': 'REDACTED', 'zip': '55347', 'country': 'US', 'crossStreet': '', 'notes': '', 'residenceType': 2, 'numAdults': -1, 'numChildren': -1, 'locationOffset': -300, 'safeWord': '', 'signature': '', 'timeZone': 1, 'primaryContacts': [{'name': '', 'firstName': '', 'lastName': '', 'phone': ''}, {'name': '', 'firstName': '', 'lastName': '', 'phone': ''}], 'secondaryContacts': [{'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}, {'name': '', 'phone': ''}], 'copsOptIn': False, 'certificateUri': 'REDACTED', 'nestStructureId': '', 'system': {'serial': 'REDACTED', 'alarmState': 'OFF', 'alarmStateTimestamp': 1628482387, 'isAlarming': False, 'version': 3, 'capabilities': {'setWifiOverCell': True, 'setDoorbellChimeVolume': True, 'outdoorBattCamera': False}, 'temperature': None, 'exitDelayRemaining': 60, 'cameras': [], 'connType': 'wifi', 'stateUpdated': 1628493970, 'messages': [], 'powerOutage': False, 'lastSuccessfulWifiSSID': 'REDACTED', 'lastSuccessfulWifiTS': 1628493970, 'isOffline': False}}, 'pinUnlocked': True, 'billDate': 1631094232, 'billInterval': 2628000, 'pinUnlockedBy': 'pin', 'autoActivation': None}]}
2021-08-09 02:31:26 INFO (MainThread) [simplipy] Skipping deactivated system: REDACTED
2021-08-09 02:31:26 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.simplisafe
2021-08-09 02:31:26 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.simplisafe
2021-08-09 02:31:26 INFO (SyncWorker_5) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel
2021-08-09 02:31:26 INFO (SyncWorker_1) [homeassistant.loader] Loaded lock from homeassistant.components.lock
2021-08-09 02:31:26 INFO (MainThread) [homeassistant.setup] Setting up alarm_control_panel
2021-08-09 02:31:26 INFO (MainThread) [homeassistant.setup] Setup of domain alarm_control_panel took 0.0 seconds
2021-08-09 02:31:26 INFO (MainThread) [homeassistant.setup] Setting up lock
2021-08-09 02:31:26 INFO (MainThread) [homeassistant.setup] Setup of domain lock took 0.0 seconds
2021-08-09 02:31:26 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up alarm_control_panel.simplisafe
2021-08-09 02:31:26 INFO (MainThread) [homeassistant.components.lock] Setting up lock.simplisafe

Additional information

No response

probot-home-assistant[bot] commented 3 years ago

Hey there @bachya, mind taking a look at this issue as it has been labeled with an integration (simplisafe) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


simplisafe documentation simplisafe source (message by IssueLinks)

bachya commented 3 years ago

Unfortunately, I'm not clear in what the issue is. Your logs don't show any error. I just spun up a fresh instance and everything worked.

Do you get promoted to click the multi-factor auth email that gets emailed to you?

Unieveth commented 3 years ago

Yes, I did get the mult-factor email and verified it. From what I gather by digging into the API is I need to have a monitored plan to be able to use it from what I understood from the docs. I was on "Self Monitoring with Camera Recording"

Please note that only Interactive plans can access sensor values and set the system state; using the API with a Standard plan will be limited to retrieving the current system state.

I did not want to buy the interactive subscription so I have moved on to find another solution. It may be worth adding the subscription requirement to the home assistant page as I did not see one.