README.md in smart_energy_group-0.0.2 vs README.md in smart_energy_group-0.0.3
- old
+ new
@@ -45,9 +45,19 @@
:temperature => [20.5, 60.0],
:power => [1023.6, 500.9]
)
```
+If you don't have consecutive channels that you want to send you can pass an
+array like so
+
+``` ruby
+seg.send_data(
+ 'home',
+ :power => { 1 => 1023.6, 5 => 500.9 }
+)
+```
+
The send_data operation accepts the following options
| Option | Description |
| ----------- | ----------- |
| power | Power stream with the unit of watts |