Closed gdeuss closed 2 years ago
Hey there @mdz, mind taking a look at this feedback as it has been labeled with an integration (smarttub
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
Forgot to show the "Controls" part of the integration, see below
These are the current error logs:
Error while setting up smarttub platform for binary_sensor
Logger: homeassistant.components.binary_sensor Source: components/smarttub/binary_sensor.py:52 Integration: Binary sensor (documentation, issues) First occurred: 10:51:14 AM (1 occurrences) Last logged: 10:51:14 AM
Error while setting up smarttub platform for binary_sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform await asyncio.shield(task) File "/usr/src/homeassistant/homeassistant/components/smarttub/binary_sensor.py", line 52, in async_setup_entry for reminder in controller.coordinator.data[spa.id][ATTR_REMINDERS].values() TypeError: 'NoneType' object is not subscriptable
Error while setting up smarttub platform for light
Logger: homeassistant.components.light
Source: components/smarttub/light.py:32
Integration: Light (documentation, issues)
First occurred: 10:51:14 AM (1 occurrences)
Last logged: 10:51:14 AM
Error while setting up smarttub platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/smarttub/light.py", line 29, in async_setup_entry
entities = [
File "/usr/src/homeassistant/homeassistant/components/smarttub/light.py", line 32, in
*Error while setting up smarttub platform for switch Logger: homeassistant.components.switch Source: components/smarttub/switch.py:20 Integration: Switch (documentation, issues) First occurred: 10:51:14 AM (1 occurrences) Last logged: 10:51:14 AM
Error while setting up smarttub platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/smarttub/switch.py", line 17, in async_setup_entry
entities = [
File "/usr/src/homeassistant/homeassistant/components/smarttub/switch.py", line 20, in
*Unexpected error fetching smarttub data: object of type 'NoneType' has no len() Logger: homeassistant.components.smarttub.controller Source: components/smarttub/controller.py:98 Integration: SmartTub (documentation, issues) First occurred: 10:51:14 AM (123 occurrences) Last logged: 12:56:35 PM
Unexpected error fetching smarttub data: object of type 'NoneType' has no len()
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 147, in _async_update_data
return await self.update_method()
File "/usr/src/homeassistant/homeassistant/components/smarttub/controller.py", line 90, in async_update_data
data[spa.id] = await self._get_spa_data(spa)
File "/usr/src/homeassistant/homeassistant/components/smarttub/controller.py", line 98, in _get_spa_data
full_status, reminders, errors = await asyncio.gather(
File "/usr/local/lib/python3.9/site-packages/smarttub/api.py", line 206, in get_reminders
return [
File "/usr/local/lib/python3.9/site-packages/smarttub/api.py", line 207, in
Thanks for your report and the logs. This looks like a bug in the underlying library, https://github.com/mdz/python-smarttub, so I've opened an issue about this there. Please follow up in https://github.com/mdz/python-smarttub/issues/22
Thanks Matt, your prompt fix corrected the mapping and it is now connecting to the tub with the appropriate points. There are still some minor issues with it and I will follow up with those in detail once I have time to look into them some more in the New Year. The most important integration, the temperature thermostat, works now great and is reliably providing setpoint and temperature values. Thank you for looking into this and my best wishes to you in the New Year. Btw, I enjoyed reading your personal web blog, I wish your thinking would be more common in this world
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Sorry about not responding earlier, the issue was resolved by the author and it should be closed
Gustav Deuss GRD Energy, Inc. 1 Avenue of the Palms, Suite 10C San Francisco, CA 94130 O 415 891 8824 M 650 291 2569
From: github-actions[bot] @.> Sent: Monday, February 28, 2022 10:01 AM To: home-assistant/home-assistant.io @.> Cc: Gustav Deuss @.>; Author @.> Subject: Re: [home-assistant/home-assistant.io] Smart Tub integration with a D1 Triad 36 Hot Tub (Issue #20896)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/home-assistant.io/issues/20896#issuecomment-1054518368, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWV5XYNJHDFJXZ525EN3TS3U5OZ5HANCNFSM5K3EM7ZA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.**@.>>
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved. If this issue is still relevant, please let us know by leaving a comment 👍 This issue has now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Feedback
see in additional info. In general, it appears that may not be a documentation issue, rather the integration si not working as intended for the specific tub but I do not know how to get support for that if support is even available.
URL
https://www.home-assistant.io/integrations/smarttub/
Version
2021.12.6
Additional information
The integration provides the correct tub, in my case "Triad™ 36 by D1" but none of the services listed in this documentation were available. All points register as "Unavailable". Since it is returning some correct info, actually just the correct tub model, I have to assume login into the Web Account is not the issue. The following screenshot is what I get after HA links it
The hot tub has two jets, and two LED light circuits and the thermostat that can all be operated via the smart tub app. At least some of the integrations shown in the screenshot are not available on the Smart Tub App.