Skip to content

Commit

Permalink
make counter states number, was incorrectly string
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Apr 30, 2021
1 parent 3e554af commit 29e864c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hm-rega.js
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,7 @@ async function getDutyCycle() {
type: 'state',
common: {
name: `${adapter.namespace}.${id}.0.countChannels`,
type: 'string',
type: 'number',
read: true,
write: false,
role: 'indicator.count',
Expand All @@ -2013,7 +2013,7 @@ async function getDutyCycle() {
type: 'state',
common: {
name: `${adapter.namespace}.${id}.0.countDatapoints`,
type: 'string',
type: 'number',
read: true,
write: false,
role: 'indicator.count',
Expand All @@ -2031,7 +2031,7 @@ async function getDutyCycle() {
type: 'state',
common: {
name: `${adapter.namespace}.${id}.0.countSystemVariables`,
type: 'string',
type: 'number',
read: true,
write: false,
role: 'indicator.count',
Expand All @@ -2049,7 +2049,7 @@ async function getDutyCycle() {
type: 'state',
common: {
name: `${adapter.namespace}.${id}.0.countPrograms`,
type: 'string',
type: 'number',
read: true,
write: false,
role: 'indicator.count',
Expand Down

0 comments on commit 29e864c

Please sign in to comment.