Skip to content

Commit

Permalink
Version 2.2.1
Browse files Browse the repository at this point in the history
Fix #142
  • Loading branch information
arthurdent75 committed Dec 12, 2023
1 parent c4ea5b5 commit 66f9f7a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
**Version 2.2.1**
- Fix "Simple Scheduler no longer switching on lamps with brightness" (#142)

**Version 2.2**
- New feature: add parameters for RGB/CT lights (#138)
- New feature: support humidifiers (#135)
Expand Down
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: "2.2"
version: "2.2.1"
name: Simple Scheduler
description: Simple timer on weekly base
slug: simplescheduler
Expand Down
5 changes: 4 additions & 1 deletion rootfs/simplescheduler/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,10 @@ def call_ha(eid_list, action, passedvalue, friendly_name):
if domain[0] == "light" and value != "":
pieces = value.split("|")
part_one = pieces[0]
part_two = pieces[1]
if len(pieces) > 1:
part_two = pieces[1]
else:
part_two = ''

if part_one[0] == "A":
v = int(part_one[1:])
Expand Down

0 comments on commit 66f9f7a

Please sign in to comment.