Skip to content

Commit 20cb580

Browse files
committed
Fix rain tactics not being set to an int
1 parent 2d4d95c commit 20cb580

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

custom_components/mammotion/lawn_mower.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
vol.Optional("channel_width", default=25): vol.All(
5050
vol.Coerce(int), vol.Range(min=5, max=35)
5151
),
52-
vol.Optional("rain_tactics", default=1): vol.In([0, 1]),
52+
vol.Optional("rain_tactics", default=1): vol.All(vol.Coerce(int), vol.In([0, 1])),
5353
vol.Optional("blade_height", default=25): vol.All(
5454
vol.Coerce(int), vol.Range(min=15, max=100)
5555
),

custom_components/mammotion/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "mammotion",
33
"name": "Mammotion",
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"issue_tracker": "https://github.com/mikey0000/Mammotion-HA/issues",
66
"integration_type": "device",
77
"bluetooth": [

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "Mammotion-HA"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "Mammotion lawn mower integration for HACS"
55
authors = ["Michael Arthur <michael@jumblesoft.co.nz>", "jLynx <@jlynx>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)