-
Notifications
You must be signed in to change notification settings - Fork 2
feat: Add noise level to NoiseSensorDeviceDetails
#632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
return `${Number(value).toFixed(0)} ${t.decibel}` | ||
} | ||
|
||
function getNoiseLevel(device: NoiseSensorDevice) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function taken from Console
return t.unknown | ||
} | ||
|
||
function getNoiseLevel(device: NoiseSensorDevice): string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a property device.properties.noise_level_decibles
?
Ok to merge this now and replace the logic in a followup when the API property is ready. |
Uh oh!
There was an error while loading. Please reload this page.