Current section
8 Versions
Jump to
Current section
8 Versions
Compare versions
3
files changed
+3
additions
-3
deletions
| @@ -21,4 +21,4 @@ | |
| 21 21 | {<<"name">>,<<"httpoison">>}, |
| 22 22 | {<<"optional">>,false}, |
| 23 23 | {<<"requirement">>,<<"~> 0.11.1">>}]]}. |
| 24 | - {<<"version">>,<<"0.1.4">>}. |
| 24 | + {<<"version">>,<<"0.1.5">>}. |
| @@ -37,7 +37,7 @@ defmodule Exhue.Lights do | |
| 37 37 | def turn_on(ip, token, id, level, transition \\ 4) do |
| 38 38 | headers = [{"Content-type", "application/json"}] |
| 39 39 | |
| 40 | - body = '{"on":true, "bri":#{level}, transitiontime":#{transition}}' |
| 40 | + body = '{"on":true, "bri":#{level}, "transitiontime":#{transition}}' |
| 41 41 | |
| 42 42 | {:ok, response} = |
| 43 43 | Exhue.put("http://" <> ip <> @url <> "/" <> token <> "/lights/#{id}/state", body, headers, []) |
| @@ -3,7 +3,7 @@ defmodule Exhue.Mixfile do | |
| 3 3 | |
| 4 4 | def project do |
| 5 5 | [app: :exhue, |
| 6 | - version: "0.1.4", |
| 6 | + version: "0.1.5", |
| 7 7 | elixir: "~> 1.4", |
| 8 8 | build_embedded: Mix.env == :prod, |
| 9 9 | start_permanent: Mix.env == :prod, |