Skip to content

Withing Plugin - Issue on mashup quadrant view #125

Description

@Glecun

Hello 👋

Thank you for maintaining this plugin.

I noticed that the Withings plugin does not work correctly when used in a Mashup Quadrant layout on the TRMNL X. It shows an error message.

Image

I also found an error in the logs that seems related.
Source: mashup

[
  {
    "plugin": "withings",
    "message": "Mashup render failed: ActionView::Template::Error: undefined method 'to_i' for an instance of Symbol",
    "template": "plugins/withings/quadrant",
    "backtrace": [
      "/home/deploy/trmnl-worker/releases/20260624223634/app/views/plugins/withings/quadrant.html.erb:38:in '_app_views_plugins_withings_quadrant_html_erb___1745999483062391594_8093656'",
      "/home/deploy/trmnl-worker/shared/bundle/ruby/4.0.0/gems/actionview-8.1.3/lib/action_view/base.rb:281:in 'Kernel#public_send'",
      "/home/deploy/trmnl-worker/shared/bundle/ruby/4.0.0/gems/actionview-8.1.3/lib/action_view/base.rb:281:in 'ActionView::Base#_run'",
      "/home/deploy/trmnl-worker/shared/bundle/ruby/4.0.0/gems/actionview-8.1.3/lib/action_view/template.rb:284:in 'block in ActionView::Template#render'",
      "/home/deploy/trmnl-worker/shared/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications.rb:210:in 'block in ActiveSupport::Notifications.instrument'"
    ],
    "plugin_setting_id": 350864
  }
]

Please let me know if I can provide any additional information or testing.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions