Skip to content

Commit

Permalink
versions
Browse files Browse the repository at this point in the history
  • Loading branch information
theknut committed Feb 1, 2024
1 parent 9499231 commit 8d5ac89
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 22 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ioBroker/testing-action-check@v1
- uses: ioBroker/testing-action-check@main
with:
node-version: '18.x'
# Uncomment the following line if your adapter cannot be installed using 'npm ci'
Expand All @@ -45,7 +45,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: ioBroker/testing-action-adapter@latest
- uses: ioBroker/testing-action-adapter@main
with:
node-version: ${{ matrix.node-version }}
os: ${{ matrix.os }}
Expand All @@ -63,9 +63,9 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@latest
- uses: actions/checkout@main
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@latest
uses: actions/setup-node@main
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand All @@ -77,9 +77,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@latest
- uses: actions/checkout@main
- name: Use Node.js 20.x
uses: actions/setup-node@latest
uses: actions/setup-node@main
with:
node-version: 20.x
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion build/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/main.js.map

Large diffs are not rendered by default.

22 changes: 20 additions & 2 deletions build/states.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/states.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion build/types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/types.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions build/waterkotte.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/waterkotte.js.map

Large diffs are not rendered by default.

24 changes: 22 additions & 2 deletions src/states.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,26 @@ export function getStates(pollStatesOf: string[]): CommonState[] {
states.push(new State('Heizen.Raumeinfluss', 'A102', dict.getTranslation('A102'), 'K'));
states.push(new State('Heizen.Raumeinfluss', 'A103', dict.getTranslation('A103'), 'K'));
states.push(new ReadOnlyState('Heizen.Raumeinfluss', 'A99', dict.getTranslation('A99'), 'K'));
states.push(new IndicatorState('Heizen.Status', 'I137', dict.getTranslation('I137')));
states.push(new State('Heizen.Status', 'I137', dict.getTranslation('I137')));

states.push(new State('Heizen.Status', 'A51', dict.getTranslation('A51')));
states.push(new State('Heizen.Status', 'A440', dict.getTranslation('A440')));
states.push(new State('Heizen.Status', 'A466', dict.getTranslation('A466')));
states.push(new State('Heizen.Status', 'A467', dict.getTranslation('A467')));
states.push(new State('Heizen.Status', 'A522', dict.getTranslation('A522')));
states.push(new State('Heizen.Status', 'A530', dict.getTranslation('A530')));
states.push(new State('Heizen.Status', 'A682', dict.getTranslation('A682')));
states.push(new IndicatorState('Heizen.Status', 'D23', dict.getTranslation('D23')));
states.push(new IndicatorState('Heizen.Status', 'D24', dict.getTranslation('D24')));
states.push(new IndicatorState('Heizen.Status', 'D25', dict.getTranslation('D25')));
states.push(new IndicatorState('Heizen.Status', 'D251', dict.getTranslation('D251')));
states.push(new IndicatorState('Heizen.Status', 'D117', dict.getTranslation('D117')));
states.push(new IndicatorState('Heizen.Status', 'D289', dict.getTranslation('D289')));
states.push(new IndicatorState('Heizen.Status', 'D577', dict.getTranslation('D577')));
states.push(new IndicatorState('Heizen.Status', 'D118', dict.getTranslation('D118')));
states.push(new State('Heizen.Status', 'I266', dict.getTranslation('I266')));
states.push(new State('Heizen.Status', 'I1270', dict.getTranslation('I1270')));
states.push(new State('Heizen.Status', 'I1753', dict.getTranslation('I1753')));
}

if (pollStatesOf.includes('Kühlen')) {
Expand Down Expand Up @@ -72,7 +90,9 @@ export function getStates(pollStatesOf: string[]): CommonState[] {
states.push(new State('Wasser.Solarunterstützung', 'I508', dict.getTranslation('I508'), '°C'));
states.push(new State('Wasser.Solarunterstützung', 'I517', dict.getTranslation('I517')));
states.push(new ReadOnlyState('Wasser.Solarunterstützung', 'I518', dict.getTranslation('I518')));
states.push(new IndicatorState('Wasser.Status', 'I139', dict.getTranslation('I139')));

states.push(new State('Wasser.Status', 'I139', dict.getTranslation('I139')));
states.push(new IndicatorState('Wasser.Status', 'D117', dict.getTranslation('D117')));
states.push(new IndicatorState('Wasser.Status', 'D118', dict.getTranslation('D118')));
}

Expand Down

0 comments on commit 8d5ac89

Please sign in to comment.