Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Platypush
platypush
Commits
88846aa8
Commit
88846aa8
authored
Mar 27, 2022
by
Fabio Manganiello
Browse files
Updated CHANGELOG
parent
ffd23cf0
Pipeline
#170
passed with stages
in 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
88846aa8
...
...
@@ -3,11 +3,33 @@
All notable changes to this project will be documented in this file.
Given the high speed of development in the first phase, changes are being reported only starting from v0.20.2.
## [
Unreleased]
## [
0.23.2] - 2022-03-27
### Added
-
Simplified script API to interact with platform variables (https://git.platypush.tech/platypush/platypush/-/issues/206).
-
Support for asynchronous events over GPIO PINs. It is now possible to specify
a list of
`monitored_pins`
in the
[
`gpio`
plugin
](
https://git.platypush.tech/platypush/platypush/-/blob/master/platypush/plugins/gpio/__init__.py
)
configuration. A change in the value on those GPIO PINs (caused by e.g. a
button, a binary sensor or a probe) will trigger a
`platypush.message.event.gpio.GPIOEvent`
that you can use in your automation
scripts.
-
Simplified script API to interact with platform variables
(closes
[
#206
](
https://git.platypush.tech/platypush/platypush/-/issues/206
)
).
You can now read and write stored variables in your Platypush scripts through
a much more intuitive interface compared to explicitly using the
`variable`
plugin explicitly:
```
python
from
platypush.context
import
Variable
# ...
my_var
=
Variable
.
get
(
'my_var'
)
my_var
=
int
(
my_var
)
+
1
Variable
.
set
(
my_var
=
my_var
)
```
## [0.23.0] - 2022-03-01
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment