Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ELV PCA 301 smart emeter switch #23300

Merged
merged 10 commits into from Jun 19, 2019

fix style

  • Loading branch information...
majuss committed May 21, 2019
commit 1d2341bbb06463f869cba8146f116c7a782b235a
@@ -32,8 +32,8 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
try:
pca = pypca.PCA(usb_device)
pca.open()
entities = [SmartPlugSwitch(pca, device, name) \
for device in pca.get_devices()]
entities = [SmartPlugSwitch(pca, device, name)
for device in pca.get_devices()]
add_entities(entities, True)

except SerialException as exc:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.