Skip to content

Logs addRawPoint error #3307

Description

@flatsiedatsie

I just noticed this. It was on Candle, but I can't remember making any changes to the logs code. Almost certainly an error on my part, but thought I'd share anyway.

Image

Should properties always have a unit attribute in their description? I must admit I don't know which attributes are 'mandatory' and which are optional. I know from experience that 'type' is essential. Title and value (even is null) probably too.

Activity

  1. changed the title [-]Logs error[/-] [+]Logs addRawPoint error[/+] on Apr 24, 2026
  2. added theissue type on Apr 24, 2026
  3. benfrancis commented on Apr 24, 2026

    @benfrancis
    Member

    In the W3C WoT specification PropertyAffordance extends DataSchema, for which the unit member is optional.

    This may be a bug in WebThings Gateway, do you have steps to reproduce?

  4. removed theissue type on Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions