• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zwave-js / zwave-js-ui / 39442394548
17%

Build:
DEFAULT BRANCH: master
Ran 20 Oct 2026 02:48PM UTC
Jobs 1
Files 46
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Oct 2026 02:46PM UTC coverage: 14.953%. Remained the same
39442394548

push

github

web-flow
fix: allow turning off boolean actuators on broadcast/multicast nodes (#4751)

## Problem

On **broadcast/multicast** (virtual) nodes, a **Binary Switch** could
only be turned **ON**. There was no way to send OFF. Reported in
discussion #4749.

## Root cause

Virtual nodes never expose readable values: zwave-js sets `readable:
false` on every virtual value. `ValueId.vue` renders every non-readable
boolean as a single button that only sends `true`. So Binary Switch
`targetValue` looked the same as a fire-once trigger, and OFF was
unreachable.

## Fix (UI only)

As suggested in review, this is handled in `ValueId.vue`, without new
backend fields. zwave-js already marks pure buttons in their metadata
with a single `true` state:

```js
states: { true: "Identify" } // Indicator CC
states: { true: "Reset" }    // Meter CC
```

On virtual nodes, a writeable boolean now renders as an On/Off toggle
**unless** it has exactly one `true` state:

| Value (virtual node) | `states` | Control |
| --- | --- | --- |
| Binary Switch `targetValue` | none | On/Off toggle (fixed) |
| Indicator Identify, Meter Reset, Restore previous, Shutoff | `{ true:
... }` | single button (unchanged) |
| Open/Close, level change Up/Down | `{ true: "Start", false: "Stop" }`
| toggle (unchanged) |

Physical nodes are not affected.

633 of 4566 branches covered (13.86%)

Branch coverage included in aggregate %.

1103 of 7044 relevant lines covered (15.66%)

2.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39442394548.1 20 Oct 2026 02:48PM UTC 46
14.95
GitHub Action Run
Source Files on build 39442394548
  • Tree
  • List 46
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39442394548
  • 118f6488 on github
  • Prev Build on master (#39441114164)
  • Next Build on master (#39453582082)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc