Skip to content

Commit 0afdac4

Browse files
committed
feat: add Noise Floor sensor
1 parent edebe4b commit 0afdac4

52 files changed

Lines changed: 11149 additions & 4498 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

custom_components/meshtastic/aiomeshtastic/protobuf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#
33
# SPDX-License-Identifier: MIT
44

5-
__version__ = "2.7.5"
5+
__version__ = "2.7.25"

custom_components/meshtastic/aiomeshtastic/protobuf/admin_pb2.py

Lines changed: 39 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

custom_components/meshtastic/aiomeshtastic/protobuf/admin_pb2.pyi

Lines changed: 817 additions & 305 deletions
Large diffs are not rendered by default.

custom_components/meshtastic/aiomeshtastic/protobuf/apponly_pb2.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

custom_components/meshtastic/aiomeshtastic/protobuf/apponly_pb2.pyi

Lines changed: 34 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,25 @@
33
isort:skip_file
44
"""
55

6-
import builtins
7-
import collections.abc
8-
import google.protobuf.descriptor
9-
import google.protobuf.internal.containers
10-
import google.protobuf.message
11-
from . import channel_pb2
12-
from . import config_pb2
13-
import typing
14-
15-
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
16-
17-
@typing.final
18-
class ChannelSet(google.protobuf.message.Message):
6+
from collections import abc as _abc
7+
from google.protobuf import descriptor as _descriptor
8+
from google.protobuf import message as _message
9+
from google.protobuf.internal import containers as _containers
10+
from meshtastic.aiomeshtastic.protobuf import channel_pb2 as _channel_pb2
11+
from meshtastic.aiomeshtastic.protobuf import config_pb2 as _config_pb2
12+
import builtins as _builtins
13+
import sys
14+
import typing as _typing
15+
16+
if sys.version_info >= (3, 11):
17+
from typing import TypeAlias as _TypeAlias, Never as _Never
18+
else:
19+
from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
20+
21+
DESCRIPTOR: _descriptor.FileDescriptor
22+
23+
@_typing.final
24+
class ChannelSet(_message.Message):
1925
"""
2026
This is the most compact possible representation for a set of channels.
2127
It includes only one PRIMARY channel (which must be first) and
@@ -24,29 +30,32 @@ class ChannelSet(google.protobuf.message.Message):
2430
This abstraction is used only on the the 'app side' of the world (ie python, javascript and android etc) to show a group of Channels as a (long) URL
2531
"""
2632

27-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
33+
DESCRIPTOR: _descriptor.Descriptor
2834

29-
SETTINGS_FIELD_NUMBER: builtins.int
30-
LORA_CONFIG_FIELD_NUMBER: builtins.int
31-
@property
32-
def settings(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[channel_pb2.ChannelSettings]:
35+
SETTINGS_FIELD_NUMBER: _builtins.int
36+
LORA_CONFIG_FIELD_NUMBER: _builtins.int
37+
@_builtins.property
38+
def settings(self) -> _containers.RepeatedCompositeFieldContainer[_channel_pb2.ChannelSettings]:
3339
"""
3440
Channel list with settings
3541
"""
3642

37-
@property
38-
def lora_config(self) -> config_pb2.Config.LoRaConfig:
43+
@_builtins.property
44+
def lora_config(self) -> _config_pb2.Config.LoRaConfig:
3945
"""
4046
LoRa config
4147
"""
4248

4349
def __init__(
4450
self,
4551
*,
46-
settings: collections.abc.Iterable[channel_pb2.ChannelSettings] | None = ...,
47-
lora_config: config_pb2.Config.LoRaConfig | None = ...,
52+
settings: _abc.Iterable[_channel_pb2.ChannelSettings] | None = ...,
53+
lora_config: _config_pb2.Config.LoRaConfig | None = ...,
4854
) -> None: ...
49-
def HasField(self, field_name: typing.Literal["lora_config", b"lora_config"]) -> builtins.bool: ...
50-
def ClearField(self, field_name: typing.Literal["lora_config", b"lora_config", "settings", b"settings"]) -> None: ...
55+
_HasFieldArgType: _TypeAlias = _typing.Literal["lora_config", b"lora_config"] # noqa: Y015
56+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
57+
_ClearFieldArgType: _TypeAlias = _typing.Literal["lora_config", b"lora_config", "settings", b"settings"] # noqa: Y015
58+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
59+
def WhichOneof(self, oneof_group: _Never) -> None: ...
5160

52-
global___ChannelSet = ChannelSet
61+
Global___ChannelSet: _TypeAlias = ChannelSet # noqa: Y015

custom_components/meshtastic/aiomeshtastic/protobuf/atak_pb2.py

Lines changed: 84 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)