Pyinels

Latest version: v0.6.12

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

0.5.5

Shutters
Support shutters to open and close with time interruption
States
- closing
- close
- opeing
- open
Tests
- tesing states with time interruption

0.5.4

Door entity

- create new pyBase class whitch is base class for all ended class like pyLight, pySwitch and new pyDoor
- door on/off implementation (pulse) with sleap 1 sec to be sure of triggering pulse
- test for door class

0.5.2

Data mining
- move observing from device to switch and light can not be in device, because device create instance inside the api.

0.5.1

Bugs fixing
- bad data loading when device initializing
- fix calling set value from light and switch

0.5.0

Breking changes
Challenging with light brightness bring me to refactore whole data mining and state setting functions
- ApiResources
-- remove some not important code from observe function
-- fix is_available function
-- new private prop __value
- Device
-- remove retyping the light when the brightness is available
-- Every device when intializet call observe function to get current value from entity
- PyLight
-- remove observe from initializer
-- remove observer from state
-- new func update (will be used when turn off and turn on is called and maybee in some custom ocasions)
-- fix the turn_on func when brigthness is available
- PySwitch
-- remove observe from initializer
-- new function update will get the current value from the device
-- change the state resolving. No more call the observer
- Test
-- whole refactoring all test

0.4.13

Light brightness
- light does not turn off when brightness set to 0.0
- change the condition when inside of set_brightness method

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.