Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rytilahti/python-miio
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.5.5.2
Choose a base ref
...
head repository: rytilahti/python-miio
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.5.6
Choose a head ref
  • 19 commits
  • 27 files changed
  • 9 contributors

Commits on Mar 25, 2021

  1. Reformat history data if returned as a dict/Roborock S7 Support (#989) (

    #990)
    
    * Reformat history data if returned as a dict/Roborock S7 Support (#989)
    
    * Added Roborock S7 to list of supported devices
    fettlaus authored Mar 25, 2021
    Configuration menu
    Copy the full SHA
    3244224 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. Configuration menu
    Copy the full SHA
    780a714 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca7f78e View commit details
    Browse the repository at this point in the history
  3. Added number of dust collections to CleaningSummary if available (#992)

    * added number of dust collections to CleaningSummary
    
    * added hint to documentation
    
    * Update miio/vacuumcontainers.py
    
    Co-authored-by: Teemu R. <[email protected]>
    
    Co-authored-by: Teemu R. <[email protected]>
    fettlaus and rytilahti authored Apr 8, 2021
    Configuration menu
    Copy the full SHA
    043bae6 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Revert PR#930 (#1007)

    bieniu authored Apr 9, 2021
    Configuration menu
    Copy the full SHA
    8b36cb3 View commit details
    Browse the repository at this point in the history
  2. Add support for Walkingpad A1 (ksmb.walkingpad.v3) (#975)

    * Initial integration walkingpad
    
    * Removed print statement
    
    * Implement PR review suggestions
    
    * Fix step_count bug
    
    * Update miio/walkingpad.py
    
    Co-authored-by: Teemu R. <[email protected]>
    
    * Fix step_count bug
    
    * Update based on PR feedback & add startup speed / sensitivity functions
    
    * Update docstring with class initialisation
    
    * Implement PR feedback
    
    * Rename time to walking_time and change to return timedelta
    
    * Rename time to walking_time and change to return timedelta
    
    * Correct the description for starting & stopping
    
    * Fix mode and sensitivity return types. Resolve more PR feedback
    
    * Change start function to power-on if treadmill is off when called. Also other minor PR feedback changes.
    
    Co-authored-by: Teemu R. <[email protected]>
    dewgenenny and rytilahti authored Apr 9, 2021
    Configuration menu
    Copy the full SHA
    a9072a2 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2021

  1. Configuration menu
    Copy the full SHA
    9bc8094 View commit details
    Browse the repository at this point in the history
  2. Roborock S7: Parse history details returned as dict (#1006)

    * fix problem with empty history
    
    * added some asserts to tests
    
    * move empty record check for improved readability
    fettlaus authored Apr 10, 2021
    Configuration menu
    Copy the full SHA
    88533e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fc57d1 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2021

  1. Configuration menu
    Copy the full SHA
    fac4d1b View commit details
    Browse the repository at this point in the history
  2. Add test_properties command to device class (#1014)

    * Add test_properties command to device class
    
    This allows simple testing of available properties, their values & the number of properties that can be requested at once.
    This is done in two steps:
    1. Testing all given properties one by one to see which return non-None values
    2. Testing all valid, non-None values at once and removing properties to request on failures to obtain the max_properties value
    
    Example output:
    
    ```
    $ miiocli device --ip <addr> --token <token> test_properties power on off usb_on temperature wifi_led foofoo x
    Running command test_properties
    Testing properties ('power', 'on', 'off', 'usb_on', 'temperature', 'wifi_led', 'foofoo', 'x') for zimi.powerstrip.v2
    Testing power.. on <class 'str'>
    Testing on.. None
    Testing off.. None
    Testing usb_on.. None
    Testing temperature.. 46.07 <class 'float'>
    Testing wifi_led.. off <class 'str'>
    Testing foofoo.. None
    Testing x.. None
    Found 8 valid properties, testing max_properties..
    Testing 8 properties at once.. OK for 8 properties
    
    Please copy the results below to your report
    Model: zimi.powerstrip.v2
    Total responsives: 8
    Total non-empty: 3
    All non-empty properties:
    {'power': 'on', 'temperature': 46.07, 'wifi_led': 'off'}
    Max properties: 8
    Done
    ```
    
    * Consider empty strings as non-existing properties
    
    * Move pformat import to top of the file
    rytilahti authored Apr 11, 2021
    Configuration menu
    Copy the full SHA
    d7507bb View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Configuration menu
    Copy the full SHA
    4e7c2df View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2021

  1. Fix start bug and improve error handling in walkingpad integration (#…

    …1017)
    
    * Fix start bug and improve error handling
    
    * Update test for set_start_speed
    
    * Correct intialisation pydoc content
    dewgenenny authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    56bfbda View commit details
    Browse the repository at this point in the history
  2. Add discover command to miiocli (#1013)

    * Add discover command to miiocli
    
    * update discovery docs
    rytilahti authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    3053562 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2021

  1. Configuration menu
    Copy the full SHA
    b228a74 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Configuration menu
    Copy the full SHA
    9ba6741 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    619f03a View commit details
    Browse the repository at this point in the history
  3. Improve test_properties output (#1024)

    * test_properties: show which property got removed, improve handling for empties
    
    * output which properties are being tested
    
    * pad the name of the property to test for easier reading
    
    * consider all but Nones as non-empties, use repr for printing the value
    
    * Assign only non-nones to the valid properties
    
    * handle empty lists as nones for validation
    rytilahti authored May 3, 2021
    Configuration menu
    Copy the full SHA
    88f6109 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Prepare 0.5.6 (#1031)

    [Full Changelog](0.5.5.2...0.5.6)
    
    **Implemented enhancements:**
    
    - RFC: Add a script to simplify finding supported properties for miio [\#919](#919)
    - Improve test\_properties output [\#1024](#1024) ([rytilahti](https://github.com/rytilahti))
    - Relax zeroconf version requirement [\#1023](#1023) ([rytilahti](https://github.com/rytilahti))
    - Add test\_properties command to device class [\#1014](#1014) ([rytilahti](https://github.com/rytilahti))
    - Add discover command to miiocli [\#1013](#1013) ([rytilahti](https://github.com/rytilahti))
    - Fix supported oscillation angles of the dmaker.fan.p9 [\#1011](#1011) ([syssi](https://github.com/syssi))
    - Add additional operation mode of the deerma.humidifier.jsq1 [\#1010](#1010) ([syssi](https://github.com/syssi))
    - Roborock S7: Parse history details returned as dict [\#1006](#1006) ([fettlaus](https://github.com/fettlaus))
    
    **Fixed bugs:**
    
    - zeroconf 0.29.0 which is incompatible [\#1022](#1022)
    - Remove superfluous decryption failure for handshake responses [\#1008](#1008)
    - Skip pausing on Roborock S50 [\#1005](#1005)
    - Roborock S7 after Firmware Update 4.1.2-0928 - KeyError [\#1004](#1004)
    - No air quality value when aqi is 1 [\#958](#958)
    - Fix exception on devices with removed lan\_ctrl [\#1028](#1028) ([Kirmas](https://github.com/Kirmas))
    - Fix start bug and improve error handling in walkingpad integration [\#1017](#1017) ([dewgenenny](https://github.com/dewgenenny))
    - gateway: fix zigbee lights [\#1016](#1016) ([starkillerOG](https://github.com/starkillerOG))
    - Silence unable to decrypt warning for handshake responses [\#1015](#1015) ([rytilahti](https://github.com/rytilahti))
    - Fix set\_mode\_and\_speed mode for airdog airpurifier [\#993](#993) ([alexeypetrenko](https://github.com/alexeypetrenko))
    
    **Closed issues:**
    
    - Add Dafang camera \(isa.camera.df3\) support [\#996](#996)
    - Roborock S7 [\#989](#989)
    - WalkingPad A1 Pro [\#797](#797)
    
    **Merged pull requests:**
    
    - Add basic dmaker.fan.1c support [\#1012](#1012) ([syssi](https://github.com/syssi))
    - Always return aqi value \[Revert PR\#930\] [\#1007](#1007) ([bieniu](https://github.com/bieniu))
    - Added S6 to skip pause on docking [\#1002](#1002) ([Sian-Lee-SA](https://github.com/Sian-Lee-SA))
    - Added number of dust collections to CleaningSummary if available [\#992](#992) ([fettlaus](https://github.com/fettlaus))
    - Reformat history data if returned as a dict/Roborock S7 Support \(\#989\) [\#990](#990) ([fettlaus](https://github.com/fettlaus))
    - Add support for Walkingpad A1 \(ksmb.walkingpad.v3\) [\#975](#975) ([dewgenenny](https://github.com/dewgenenny))
    rytilahti authored May 5, 2021
    Configuration menu
    Copy the full SHA
    8fa59e7 View commit details
    Browse the repository at this point in the history
Loading