Skip to content

Commit d32cbdf

Browse files
authored
Merge pull request #20 from Jubast/maintenance
repository maintenance
2 parents a5900fa + 9ab43bc commit d32cbdf

File tree

5 files changed

+35
-9
lines changed

5 files changed

+35
-9
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jubast/homeassistant-noaa-solar-system",
3-
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.10-bullseye",
3+
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bullseye",
44
"postCreateCommand": "scripts/setup",
55
"forwardPorts": [
66
8123
@@ -25,13 +25,9 @@
2525
"editor.tabSize": 4,
2626
"python.pythonPath": "/usr/bin/python3",
2727
"python.analysis.autoSearchPaths": false,
28-
"python.linting.pylintEnabled": true,
29-
"python.linting.enabled": true,
3028
"[python]": {
3129
"editor.defaultFormatter": "ms-python.black-formatter"
3230
},
33-
"python.formatting.provider": "black",
34-
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
3531
"editor.formatOnPaste": false,
3632
"editor.formatOnSave": true,
3733
"editor.formatOnType": true,

.vscode/cspell.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// cSpell Settings
2+
{
3+
// Version of the setting file. Always 0.2
4+
"version": "0.2",
5+
// language - current active spelling language
6+
"language": "en",
7+
"dictionaries": [
8+
"bash",
9+
"python",
10+
"en_US",
11+
"en-gb"
12+
],
13+
// words - list of words to be always considered correct
14+
"words": [
15+
// vscode
16+
"devcontainers",
17+
// python
18+
"pylance",
19+
// homeassistant
20+
"homeassistant",
21+
"hass",
22+
// homeassistant community store
23+
"hacs",
24+
// noaa solar repository
25+
"jubast",
26+
"noaa",
27+
"suvi",
28+
"lasco"
29+
]
30+
}

custom_components/noaa_solar/sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ async def async_setup_entry(
4646

4747

4848
class NOAASolarWindSpeedEntity(CoordinatorEntity):
49-
"""Representation of NOAA Solar windspeed data."""
49+
"""Representation of NOAA Solar wind speed data."""
5050

5151
def __init__(self, coordinator: NOAASolarWindSpeedUpdateCoordinator) -> None:
52-
"""Initialize the NOAA Solar windspeed entity."""
52+
"""Initialize the NOAA Solar wind speed entity."""
5353
super().__init__(coordinator)
5454

5555
@property

custom_components/noaa_solar/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"user": {
55
"title": "Define your NOAA Solar settings",
66
"data": {
7-
"host": "The NOAA host urla",
7+
"host": "The NOAA host url",
88
"data_scan_interval": "The poll interval (in seconds) for sensor update requests",
99
"image_scan_interval": "The poll interval (in seconds) for image update requests"
1010
}

custom_components/noaa_solar/translations/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"step": {
1010
"user": {
1111
"data": {
12-
"host": "The NOAA host urla",
12+
"host": "The NOAA host url",
1313
"data_scan_interval": "The poll interval (in seconds) for sensor update requests",
1414
"image_scan_interval": "The poll interval (in seconds) for image update requests"
1515
},

0 commit comments

Comments
 (0)