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

home-assistant / home-assistant / 18814
94%

Build:
DEFAULT BRANCH: dev
Ran 27 Jan 2017 07:03AM UTC
Jobs 5
Files 199
Run time 7min
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

pending completion
18814

push

travis-ci

balloob
[switch.pilight] Implement echo config option (#5056)

* Implement echo config option for pilight

Pilight switches can get a receive code configured. If so they act on
received codes. In the current implementation "act on" means not only
to set the internal state, but also to send the code again. If the
receiver is directly parred with the switch, to act even if HA is not
running, this causes it to receive the signal twice because the HA
sends it again.

In my case this causes a dimmer to start dimming until I hit the switch
again.

This implements a "echo" argument for the receive codes that let the
user choose if a received signal should result in any sending or not.
If not, only the status of pilight will be updated.

The echo option defaults to True, as this was the default since now.
Simply set it to halse to disable this behaviour.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>

* Add documentation to set_state in switch/pilight.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>

16651 of 17811 relevant lines covered (93.49%)

2.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18814.1 (TOXENV=py34) 27 Jan 2017 07:05AM UTC 0
93.48
Travis Job 18814.1
2 18814.2 (TOXENV=requirements) 27 Jan 2017 07:03AM UTC 0
Travis Job 18814.2
3 18814.3 (TOXENV=lint) 27 Jan 2017 07:10AM UTC 0
Travis Job 18814.3
4 18814.4 (TOXENV=py35) 27 Jan 2017 07:10AM UTC 0
93.47
Travis Job 18814.4
5 18814.5 (TOXENV=py36) 27 Jan 2017 07:08AM UTC 0
93.46
Travis Job 18814.5
Source Files on build 18814
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #18814
  • 41218e5a on github
  • Prev Build on dev (#18812)
  • Next Build on dev (#18816)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc