Skip to content

Conversation

@jvtcl
Copy link

@jvtcl jvtcl commented Jan 26, 2026

  • Tested in Home Assistant
  • Wind direction is not directly available as a data point and must be fetched from the device status (DP 113) instead

name: Weather Station
products:
- id: 1roznvzhxv5kqyg1
- manufacturer: Vevor
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a single list item.

- model: YT60307
entities:
- entity: sensor
name: Outdoor temperature
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a weather station, outdoor temperature should be the default (unnamed so the HA default class translations are used). Same for humidity below.

mapping:
- scale: 10
- entity: sensor
name: Atmospheric pressure
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name the same as class should be left out so the class translation is used.

mapping:
- scale: 100
- entity: sensor
name: Wind speed
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likewise

mapping:
- scale: 10
- entity: sensor
name: Wind gust
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leave out the name here too, the difference between gust and speed is less important than having translations.

mapping:
- scale: 10
- entity: sensor
name: Light intensity
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leave out the name, but the proper class to use is illuminance. It only supports lx as units, so you need to scale in the other direction (scale: 0.1)

- scale: 100
- entity: sensor
name: UV index
class: uv_index
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no uv_index class.

name: sensor
unit: uvi
class: measurement
mapping:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scale of 1 is the default, so this mapping can be removed

type: base64
optional: true
name: sensor
mask: "000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mask can be split across lines by using \ at the
end of the line without closing the quotes. Try to split on an even boundary to make following the hex digits easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

2 participants