Skip to content

Commit

Permalink
0.0.9, bug fix ModuleNotFoundError not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
hakana committed Apr 20, 2019
1 parent 92bd277 commit e7cd330
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions components/shelly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![founder-wip](https://img.shields.io/badge/founder-StyraHem.se-green.svg?style=for-the-badge)](https://www.styrahem.se)

![stability-wip](https://img.shields.io/badge/stability-work_in_progress-lightgrey.svg?style=for-the-badge)
![version-wip](https://img.shields.io/badge/version-0.0.7-green.svg?style=for-the-badge)
![version-wip](https://img.shields.io/badge/version-0.0.9-green.svg?style=for-the-badge)

This platform adds components for Shelly smart home devices to Home Assistant. There is no configuration needed, it will find all devices on your LAN and add them to Home Assistant. All communication with Shelly devices are locally. You can use this plugin and continue to use Shelly Cloud and Shelly app in your mobile if you want.

Expand Down Expand Up @@ -37,13 +37,12 @@ This platform adds components for Shelly smart home devices to Home Assistant. T
- Shelly RGBWW
- Shelly RGBW2
- Shelly H&T
- Shelly 2.5
- Shelly 2LED (not tested)
- Shelly 2.5 (not tested)
- Shelly PLUG S (not tested)

## Installation

### Install with Custom Updater
### Install with Custom Updater

Do you you have [Custom updater](https://github.com/custom-components/custom_updater) installed? Then you can use the service [custom_updater.install](https://github.com/custom-components/custom_updater/wiki/Services#install-element-cardcomponentpython_script) with the parameter {"element":"shelly"} to install Shelly.
Expand Down
4 changes: 2 additions & 2 deletions components/shelly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
SHELLY_CONFIG = 'shelly_cfg'
SHELLY_DEVICE_ID = 'device_id'

__version__ = "0.0.8"
__version__ = "0.0.9"
VERSION = __version__

DEVICE_SCHEMA = vol.Schema({
Expand Down Expand Up @@ -103,7 +103,7 @@ def setup(hass, config):
try:
from .pyShelly import pyShelly
_LOGGER.info("Loading local pyShelly")
except ModuleNotFoundError:
except ImportError:
from pyShelly import pyShelly

devices = {}
Expand Down
2 changes: 1 addition & 1 deletion custom_updater.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"shelly": {
"version": "0.0.8",
"version": "0.0.9",
"local_location": "/custom_components/shelly/__init__.py",
"remote_location": "https://raw.githubusercontent.com/StyraHem/hass/master/components/shelly/__init__.py",
"visit_repo": "https://github.com/StyraHem/hass/tree/master/components/shelly",
Expand Down

0 comments on commit e7cd330

Please sign in to comment.