Skip to content

[BUG] Stat tile on page Today using custom data binding does not appear if the same observation does not exist in main data binding #258

@bidord

Description

@bidord

Describe the bug

A stat tile on page Today targetting an observation for a custom data binding does not appear if there is no data for the same observation on the main data binding.

To Reproduce

weewx.conf:

[StdArchive]
  data_binding = wx_binding
  # ...

[DataBindings]
  [[wx_binding]]
    # ...
  [[wx2_binding]]
    # ...
  • wx_binding has data for inTemp but no data for extraTemp1
  • wx2_binding has data for both inTemp and extraTemp1

skin.conf:

[ObservationBindings]
  [[wx2_inTemp]]
    data_binding = wx2_binding
    observation = inTemp
  [[wx2_extraTemp1]]
    data_binding = wx2_binding
    observation = extraTemp1

[DisplayOptions]
  stat_tile_observations = inTemp, wx2_inTemp, wx2_extraTemp1

Page "Today" has a stat tile for inTemp and wx2_inTemp, but the stat tile for wx2_extraTemp1 does not appear.

On other pages the three stat tiles appear as expected.

Expected behavior

The stat tile for wx2_extraTemp1 should appear on page "Today".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions