Skip to content

Commit 9d81669

Browse files
committed
Normalize line endings to LF
1 parent bd5fb79 commit 9d81669

47 files changed

Lines changed: 19591 additions & 19591 deletions

Some content is hidden

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

.devcontainer/devcontainer.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2-
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3-
{
4-
"name": "Python 3",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/python:2-3.14-trixie",
7-
8-
// Features to add to the dev container. More info: https://containers.dev/features.
9-
// "features": {},
10-
11-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12-
// "forwardPorts": [],
13-
14-
// Use 'postCreateCommand' to run commands after the container is created.
15-
"postCreateCommand": "pip3 install --user -r requirements.txt"
16-
17-
// Configure tool-specific properties.
18-
// "customizations": {},
19-
20-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21-
// "remoteUser": "root"
22-
}
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/python:2-3.14-trixie",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
"postCreateCommand": "pip3 install --user -r requirements.txt"
16+
17+
// Configure tool-specific properties.
18+
// "customizations": {},
19+
20+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21+
// "remoteUser": "root"
22+
}
Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
name: Bug Report
2-
description: File a bug report
3-
title: "[Bug]: "
4-
labels: ["bug"]
5-
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
Thanks for taking the time to fill out this bug report!
10-
- type: checkboxes
11-
id: docs-read
12-
attributes:
13-
label: I have read the documentation
14-
options:
15-
- label: I have read the [documentation](https://github.com/tomer-w/ha-victron-mqtt) and understand the setup process.
16-
required: true
17-
- type: textarea
18-
id: bug-description
19-
attributes:
20-
label: Describe the bug
21-
description: A clear and concise description of what the bug is.
22-
placeholder: Tell us what you see!
23-
validations:
24-
required: true
25-
- type: textarea
26-
id: reproduction-steps
27-
attributes:
28-
label: Steps to reproduce
29-
description: Steps to reproduce the behavior.
30-
placeholder: |
31-
1. Go to '...'
32-
2. Click on '....'
33-
3. Scroll down to '....'
34-
4. See error
35-
validations:
36-
required: true
37-
- type: textarea
38-
id: expected-behavior
39-
attributes:
40-
label: Expected behavior
41-
description: A clear and concise description of what you expected to happen.
42-
validations:
43-
required: false
44-
- type: textarea
45-
id: environment
46-
attributes:
47-
label: Environment
48-
description: Please provide details about your environment.
49-
placeholder: |
50-
- Home Assistant version:
51-
- Home Assistant hardware:
52-
- Venus OS hardware (Cerbo GX, Raspberry Pi, etc.):
53-
- Integration version:
54-
validations:
55-
required: false
56-
- type: textarea
57-
id: additional-context
58-
attributes:
59-
label: Additional context
60-
description: Add any other context about the problem here.
61-
validations:
62-
required: false
1+
name: Bug Report
2+
description: File a bug report
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
- type: checkboxes
11+
id: docs-read
12+
attributes:
13+
label: I have read the documentation
14+
options:
15+
- label: I have read the [documentation](https://github.com/tomer-w/ha-victron-mqtt) and understand the setup process.
16+
required: true
17+
- type: textarea
18+
id: bug-description
19+
attributes:
20+
label: Describe the bug
21+
description: A clear and concise description of what the bug is.
22+
placeholder: Tell us what you see!
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: reproduction-steps
27+
attributes:
28+
label: Steps to reproduce
29+
description: Steps to reproduce the behavior.
30+
placeholder: |
31+
1. Go to '...'
32+
2. Click on '....'
33+
3. Scroll down to '....'
34+
4. See error
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: expected-behavior
39+
attributes:
40+
label: Expected behavior
41+
description: A clear and concise description of what you expected to happen.
42+
validations:
43+
required: false
44+
- type: textarea
45+
id: environment
46+
attributes:
47+
label: Environment
48+
description: Please provide details about your environment.
49+
placeholder: |
50+
- Home Assistant version:
51+
- Home Assistant hardware:
52+
- Venus OS hardware (Cerbo GX, Raspberry Pi, etc.):
53+
- Integration version:
54+
validations:
55+
required: false
56+
- type: textarea
57+
id: additional-context
58+
attributes:
59+
label: Additional context
60+
description: Add any other context about the problem here.
61+
validations:
62+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: false
Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
1-
name: Feature Request
2-
description: Suggest a new feature
3-
title: "[Feature]: "
4-
labels: ["enhancement"]
5-
body:
6-
- type: markdown
7-
attributes:
8-
value: |
9-
Thanks for suggesting a new feature!
10-
- type: checkboxes
11-
id: docs-read
12-
attributes:
13-
label: I have read the documentation and contribution instructions
14-
options:
15-
- label: I have read the [documentation](https://github.com/tomer-w/victron_mqtt?tab=contributing-ov-file#finding-mqtt-topics-with-mqtt-explorer).
16-
required: true
17-
- label: I tried to use mqtt-explorer as described in the docs to extract the topics I care about.
18-
required: true
19-
- type: textarea
20-
id: feature-description
21-
attributes:
22-
label: Describe the feature
23-
description: A clear and concise description of the feature you'd like to see.
24-
placeholder: Tell us what you want!
25-
validations:
26-
required: true
27-
- type: textarea
28-
id: mqtt-topics
29-
attributes:
30-
label: Required MQTT topics
31-
description: Please provide the MQTT topics required for this feature. Remove the installation ID from the topic strings (it is confidential). For each topic, include its meaning and units, and paste an example payload or value you observed in mqtt-explorer.
32-
placeholder: |
33-
Provide each topic using the format below:
34-
35-
Example format and entries:
36-
37-
- topic: N/+/battery/+/Dc/0/Voltage
38-
meaning: Battery voltage
39-
units: V
40-
example_value: {"value":13.460000038146973}
41-
42-
- topic: N/+/battery/+/Dc/0/Current
43-
meaning: Battery current (positive = charging, negative = discharging)
44-
units: A
45-
example_value: {"value":5.12345}
46-
47-
- topic: N/+/tank/+/Remaining
48-
meaning: Remaining capacity of the tank
49-
units: %
50-
example_value: {"value":75}
51-
52-
If you have many topics, list them one per bullet using the same fields above (topic, meaning, units, example_value).
53-
validations:
54-
required: true
55-
- type: textarea
56-
id: additional-context
57-
attributes:
58-
label: Additional context
59-
description: Add any other context or screenshots about the feature request here.
60-
validations:
61-
required: false
1+
name: Feature Request
2+
description: Suggest a new feature
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a new feature!
10+
- type: checkboxes
11+
id: docs-read
12+
attributes:
13+
label: I have read the documentation and contribution instructions
14+
options:
15+
- label: I have read the [documentation](https://github.com/tomer-w/victron_mqtt?tab=contributing-ov-file#finding-mqtt-topics-with-mqtt-explorer).
16+
required: true
17+
- label: I tried to use mqtt-explorer as described in the docs to extract the topics I care about.
18+
required: true
19+
- type: textarea
20+
id: feature-description
21+
attributes:
22+
label: Describe the feature
23+
description: A clear and concise description of the feature you'd like to see.
24+
placeholder: Tell us what you want!
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: mqtt-topics
29+
attributes:
30+
label: Required MQTT topics
31+
description: Please provide the MQTT topics required for this feature. Remove the installation ID from the topic strings (it is confidential). For each topic, include its meaning and units, and paste an example payload or value you observed in mqtt-explorer.
32+
placeholder: |
33+
Provide each topic using the format below:
34+
35+
Example format and entries:
36+
37+
- topic: N/+/battery/+/Dc/0/Voltage
38+
meaning: Battery voltage
39+
units: V
40+
example_value: {"value":13.460000038146973}
41+
42+
- topic: N/+/battery/+/Dc/0/Current
43+
meaning: Battery current (positive = charging, negative = discharging)
44+
units: A
45+
example_value: {"value":5.12345}
46+
47+
- topic: N/+/tank/+/Remaining
48+
meaning: Remaining capacity of the tank
49+
units: %
50+
example_value: {"value":75}
51+
52+
If you have many topics, list them one per bullet using the same fields above (topic, meaning, units, example_value).
53+
validations:
54+
required: true
55+
- type: textarea
56+
id: additional-context
57+
attributes:
58+
label: Additional context
59+
description: Add any other context or screenshots about the feature request here.
60+
validations:
61+
required: false

.github/dependabot.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5-
6-
version: 2
7-
updates:
8-
- package-ecosystem: "github-actions"
9-
directory: "/"
10-
schedule:
11-
interval: daily
12-
open-pull-requests-limit: 10
13-
- package-ecosystem: "pip"
14-
directory: "/" # Location of package manifests
15-
schedule:
16-
interval: "weekly"
17-
open-pull-requests-limit: 10
18-
allow:
19-
- dependency-type: "direct"
20-
commit-message:
21-
prefix: "deps"
22-
# This allows widening the version range if required
23-
versioning-strategy: increase-if-necessary
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: daily
12+
open-pull-requests-limit: 10
13+
- package-ecosystem: "pip"
14+
directory: "/" # Location of package manifests
15+
schedule:
16+
interval: "weekly"
17+
open-pull-requests-limit: 10
18+
allow:
19+
- dependency-type: "direct"
20+
commit-message:
21+
prefix: "deps"
22+
# This allows widening the version range if required
23+
versioning-strategy: increase-if-necessary

.github/pull_request_template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
If you meant to add or improve the entities privided by this integration you should probably do it [here](https://github.com/tomer-w/victron_mqtt).
2-
Full documentation can be found [here](https://github.com/tomer-w/victron_mqtt/blob/main/extending-victron-support.md).
3-
if you wanted to improve the integration itself, all good, just delete this comment and submit the PR.
1+
If you meant to add or improve the entities privided by this integration you should probably do it [here](https://github.com/tomer-w/victron_mqtt).
2+
Full documentation can be found [here](https://github.com/tomer-w/victron_mqtt/blob/main/extending-victron-support.md).
3+
if you wanted to improve the integration itself, all good, just delete this comment and submit the PR.

0 commit comments

Comments
 (0)