|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "0.39: Configuration panel, state restoration and improved docs" |
| 4 | +description: "0.39 is by far our best release yet." |
| 5 | +date: 2017-02-25 08:04:05 +0000 |
| 6 | +date_formatted: "February 25, 2017" |
| 7 | +author: Paulus Schoutsen |
| 8 | +author_twitter: balloob |
| 9 | +comments: true |
| 10 | +categories: Release-Notes |
| 11 | +og_image: /images/blog/2017-02-0.39/social.png |
| 12 | +--- |
| 13 | + |
| 14 | +It's time for 0.39 and this release has some amazing new features! |
| 15 | + |
| 16 | +<a href='/components/#added_in_current_version'><img src='/images/blog/2017-02-0.39/social.png' style='border: 0;box-shadow: none;'></a> |
| 17 | + |
| 18 | +## T-Shirts |
| 19 | + |
| 20 | +First off, in case you haven't seen it yet: [we have t-shirts][t-shirt] now and they are beautiful. All proceeds from the shirts will be donated to the Electronic Frontier Foundation. The first three days all of you have already raised $400! Still waiting for Teespring to get back to me so stay tuned for the EU store. |
| 21 | + |
| 22 | +## Configuration panel |
| 23 | + |
| 24 | +Yep, you read that right. We have a configuration panel. It's just the first of many small steps. Putting in a foundation is important and gives us something to iterate on. |
| 25 | + |
| 26 | +To start, we have three simple configuration panels: |
| 27 | + |
| 28 | + - Core: allows you to validate config, reload core/group/automation config and restart/stop Home Assistant |
| 29 | + - Group: allows you to rename groups, change type between group/view and reorder entities. |
| 30 | + - Z-Wave: allows you to set device specific configuration settings |
| 31 | + |
| 32 | +<p class='img'> |
| 33 | + <img src='/images/blog/2017-02-0.39/config.png'> |
| 34 | + Screenshot of our new configuration panel. |
| 35 | +</p> |
| 36 | + |
| 37 | +As a security measure, the configuration panel will need to be activated in the config file to be activated. This can be done by adding the following to your `configuration.yaml`: |
| 38 | + |
| 39 | +```yaml |
| 40 | +config: |
| 41 | +``` |
| 42 | +
|
| 43 | +Using our configuration panels will require you to structure your groups and Z-Wave device config according to how the configuration panel expects it. This is on purpose as it we will not be aiming to build a system that supports both our extended set of configuration extend hooks and our configuration panels. It's one or the other. |
| 44 | +
|
| 45 | +To activate them in your config, create empty files `groups.yaml` and `zwave_device_config.yaml` in your config dir and add the following entries to your config: |
| 46 | + |
| 47 | +```yaml |
| 48 | +groups: !include groups.yaml |
| 49 | +
|
| 50 | +zwave: |
| 51 | + device_config: !include zwave_device_config.yaml |
| 52 | +``` |
| 53 | + |
| 54 | +_Note that this is the first release. Things will be missing, things might be broken._ |
| 55 | + |
| 56 | +## Reorganized documentation |
| 57 | + |
| 58 | +Thanks to [Fabian][@fabaff] we have a great re-organized documentation. Is it perfect yet? No. But we are getting close. We put a lot of focus on making sure the Raspberry Pi is the main focus of our getting started. The other instructions are still available, just not as part of the main getting started. |
| 59 | + |
| 60 | +## State restoration |
| 61 | + |
| 62 | +Ever have some input components or integrations and get annoyed with the fact that their state is lost after a restart? Don't worry any longer. [Johann][@kellerza] has added the foundation for state restoration to Home Assistant. For the initial release support has been added to to `input_select` and `input_boolean` components. We will be adding this to more integrations in the future. |
| 63 | + |
| 64 | +## Breaking changes to customize and Z-Wave "customize" |
| 65 | + |
| 66 | +A couple of releases ago we introduced a new way of doing `customize`. It became a list that allowed different ways of matching the config to the entity. |
| 67 | + |
| 68 | +We realized that this was leading into a rabbit hole that we had to get out off. Besides making it unnecessarily complicated it also blocked the road to config panels. And who doesn't like config panels? |
| 69 | + |
| 70 | +So starting this release, we had to make some breaking changes to right the wrong. We will be releasing an online tool to help you convert your config to the new format later today. |
| 71 | + |
| 72 | +#### Customize has been reverted to it's original config |
| 73 | + |
| 74 | +The old customize is back. The options to match by domain or using glob have been moved to it's own options. It will now look like this: |
| 75 | + |
| 76 | +```yaml |
| 77 | +homeassistant: |
| 78 | + customize: |
| 79 | + light.kitchen: |
| 80 | + hidden: true |
| 81 | + customize_domain: |
| 82 | + light: |
| 83 | + icon: mdi:home |
| 84 | + customize_glob: |
| 85 | + "light.kitchen_*": |
| 86 | + icon: mid:description |
| 87 | +``` |
| 88 | + |
| 89 | +#### Z-Wave customize is now device config |
| 90 | + |
| 91 | +Ever wondered why the Z-Wave customize was called customize? Yeah, so did we. So when migrating this to the new config format, we decided to upgrade the name too: |
| 92 | + |
| 93 | +```yaml |
| 94 | +zwave: |
| 95 | + device_config: |
| 96 | + light.kitchen: |
| 97 | + ignored: true |
| 98 | + device_config_domain: |
| 99 | + light: |
| 100 | + polling_intensity: 2 |
| 101 | + device_config_glob: |
| 102 | + "light.kitchen_*": |
| 103 | + polling_intensity: 0 |
| 104 | +``` |
| 105 | + |
| 106 | +## Speed improvements |
| 107 | + |
| 108 | +And a final shout out to [Pascal][@pvizeli]. He keeps improving the performance of components and platforms all over Home Assistant. |
| 109 | + |
| 110 | +<!--more--> |
| 111 | + |
| 112 | +## All changes |
| 113 | + |
| 114 | +#### New platforms/components |
| 115 | + |
| 116 | +- [Telegram] webhooks ([@scipioni]) |
| 117 | +- Added [Openhome][openhome] support ([@bazwilliams]) |
| 118 | +- [UPS][ups] sensor ([@happyleavesaoc]) |
| 119 | +- [FEDex][fedex] sensor ([@happyleavesaoc]) |
| 120 | +- [Gstreamer][gstreamer] media player ([@happyleavesaoc]) |
| 121 | +- [iTach Remote][itach] Platform ([@alanfischer]) |
| 122 | +- [myq] cover component ([@arraylabs]) |
| 123 | +- Support for the [Open Energy Monitor Thermostat][oemt] ([@Cadair]) |
| 124 | +- Added Fritzbox [Netmonitor][netmonitor] ([@PetePriority]) |
| 125 | +- Add platform for [Yeelight Sunflower lights][sunflowers] ([@lindsaymarkward]) |
| 126 | +- Support for [Pocket Casts][pocket] ([@molobrakos]) |
| 127 | +- [VolvoOnCall][volvo] component with support for sensors, heater and lock ([@molobrakos]) |
| 128 | +- Add [pushsafer.com][pushsafer] notification service ([@appzer]) |
| 129 | +- [Websocket push][kodi] notifications for Kodi ([@armills]) |
| 130 | +- New component 'insteon_plm' and related platforms ([@nugget]) |
| 131 | +- Add [aurora][aurora] sensor ([@walkerdb]) |
| 132 | +- Add [Ebox][ebox] sensor platform ([@titilambert]) |
| 133 | +- Mediaplayer [clementine][clementine] remote ([@jjmontesl]) |
| 134 | +- Add [Fido][fido] sensor ([@titilambert]) |
| 135 | + |
| 136 | +#### Improvements |
| 137 | + |
| 138 | +- Tellduslive: Don't thow exception if connection to server is lost ([@molobrakos]) |
| 139 | +- Core: Convert config.components to a set ([@balloob]) |
| 140 | +- Media Player - Apple TV: Handle connection errors when connecting to Apple TVs, re-use aiohttp session , add fake support for turn on/off ([@postlund]) |
| 141 | +- Zoneminder: Refactoring and JSON decode error handling ([@pschmitt]) |
| 142 | +- Recorder: Add tests for full schema migration, limit to session scope ([@armills]) |
| 143 | +- Tests: Add history_stats sensor ([@bokub]) |
| 144 | +- Device tracker - Tado: Add support for multiple devices to Tado device tracker ([@markoudev]) |
| 145 | +- Z-Wave: Fix zwave helper getter not to fail on some None results. ([@andrey-git]) |
| 146 | +- Core: `sensor_class` migrate to `device_class` ([@armills]) |
| 147 | +- Sensor - Amcrest: Avoid traceback for Amcrest cameras/firmware that does not have the software_information API call ([@tchellomello]) |
| 148 | +- Media Player - MPD: Adds play URL support to mpd ([@jjmontesl]) |
| 149 | +- Logbook: Component set add using OR ([@kellerza]) |
| 150 | +- Config: Add config component and hassbian example panel ([@balloob]) |
| 151 | +- Proximity: Fixed proximity zone incorrectly using name instead of zone setting ([@jjmontesl]) |
| 152 | +- Z-Wave: Add device_class support to cover component ([@armills]) |
| 153 | +- Config: Add check_config API ([@balloob]) |
| 154 | +- Media player: Add media_image to media_player component ([@postlund]) |
| 155 | +- Sensor- Vasttrafik.py: vasttrafik: update token on read error ([@persandstrom]) |
| 156 | +- Z-Wave.py: force_update zwave sensors ([@andrey-git]) |
| 157 | +- Core: Two stage shutdown ([@pvizeli]) |
| 158 | +- Z-Wave: Rename customize to device_config ([@balloob]) |
| 159 | +- Thingspeak: Use the correct API key ([@fabaff]) |
| 160 | +- Lock - Nuki: Reduce battery drain on Nuki Lock ([@pschmitt]) |
| 161 | +- Notify - Webostv: Only try to pair notify.webostv when not paired ([@andersonshatch]) |
| 162 | +- KNX: Fix slow status updates from the knx bus ([@keerts]) |
| 163 | +- HDMI CEC: HDMI_CEC customization [Breaking change] ([@balloob], [@andrey-git]) |
| 164 | +- Sensor - Moon: Remove unit of measurement ([@fabaff]) |
| 165 | +- Z-Wave: Add initial Z-Wave config panel ([@balloob]) |
| 166 | +- History: Allow printing the number of states returned by history and time it took to extract and add day ([@andrey-git]) |
| 167 | +- MQTT: Enable sensor for discovery ([@fabaff]) |
| 168 | +- Light - Limitlessled: Added limitlessled support for bridge v6 and RGBWW bulbs. ([@soldag]) |
| 169 | +- Config - Hassbian: Update hassbian component with real output ([@balloob]) |
| 170 | +- Media Player -Sonos: Bugfix sonos favorite_source after lost connection ([@pvizeli]) |
| 171 | +- Sensor - SenseHAT: Add flag to declare if SenseHAT is attached ([@nodinosaur]) |
| 172 | +- RFLink: Reconnect robustness, expose connection state. ([@aequitas]) |
| 173 | +- Media player - CMUS: Remove IO from properties ([@armills]) |
| 174 | +- Light - Litejet: Lights should have the option to dim in the UI. ([@joncar]) |
| 175 | +- Light - Hue: Add effect_list to hue light ([@armills]) |
| 176 | +- Meida player - Liveboxplaytv: Update liveboxplaytv and catch connection errors ([@pschmitt]) |
| 177 | +- Llight - Lifx: Fix colortemp conversion for lifx lights ([@kitcorey]) |
| 178 | +- Light - Flux_LED: Update FLUX_LED by adding Effects ([@dramamoose]) |
| 179 | +- Alarm control panel - Simplisafe: SimpliSafe updates ([@w1ll1am23]) |
| 180 | +- Cover Add supported_features to cover component ([@armills]) |
| 181 | +- Wink: Added tamper detection to Wink devices. ([@w1ll1am23]) |
| 182 | +- Sensor - onewire: Add support for aliased owfs sensors ([@normakm]) |
| 183 | +- Weather: Forecast ([@Tommatheussen]) |
| 184 | +- Device tracker - ASUSwrt: Added support for alternate SSH ports in AsusWRT ([@swbradshaw]) |
| 185 | +- Zoneminder: Add camera mjpeg stream support ([@mnoorenberghe]) |
| 186 | +- Restore: Restore_state helper to restore entity states from the DB on startup ([@kellerza]) |
| 187 | +- Sensor - Darksky: Add 'entity_picture' to Darksky component ([@aronsky]) |
| 188 | +- Media Player - Samsungtv: Add support for waking up Samsung TVs over the network ([@justin8]) |
| 189 | +- MQTT: Convert MQTT platforms to async ([@pvizeli]) |
| 190 | +- tests/components/device_tracker/test_init.py: Restore for device_tracker ([@kellerza]) |
| 191 | +- Discovery: Make it possible to ignore platforms in discovery ([@postlund]) |
| 192 | +- Image processing: Add `device_class` ([@pvizeli]) |
| 193 | + |
| 194 | +#### Breaking changes |
| 195 | + - VolvoOnCall has been extended with more features and had to be converted to a component |
| 196 | + - Limitlessled support for Bridge v6 and RGBWW bulbs require users to specify `version` and `port |
| 197 | + - hdmi_cec config now requires users to set the types in the hdmi_cec config instead of using `customize`: |
| 198 | + |
| 199 | +```yaml |
| 200 | +hdmi_cec: |
| 201 | + types: |
| 202 | + hdmi_cec.hdmi_5: media_player |
| 203 | +``` |
| 204 | + |
| 205 | +#### Bugfixes: |
| 206 | +[@pvizeli], [@LinuxChristian], [@molobrakos], [@balloob], [@rytilahti], [@fabaff], [@andrey-git], [@aequitas], [@konikvranik], [@Danielhiversen], [@colinodell], [@pschmitt], [@bachp], [@bachp],[@w1ll1am23], [@valentinalexeev], [@robbiet480], [@MartinHjelmare], [@happyleavesaoc], [@tdickman], [@arraylabs], [@lwis], [@titilambert] |
| 207 | + |
| 208 | +### If you need help... |
| 209 | +...don't hesitate to use our very active [forums][forum] or join us for a little [chat][gitter]. The release notes have comments enabled but it's preferred if you use the former communication channels. Thanks. |
| 210 | + |
| 211 | +### Reporting Issues |
| 212 | +Experiencing issues introduced by this release? Please report them in our [issue tracker][issue]. Make sure to fill in all fields of the issue template. |
| 213 | + |
| 214 | +[@turbokongen]: https://github.com/turbokongen |
| 215 | +[@w1ll1am23]: https://github.com/w1ll1am23 |
| 216 | +[@nugget]: https://github.com/nugget |
| 217 | +[@PetePriority]: https://github.com/PetePriority |
| 218 | +[@dramamoose]: https://github.com/dramamoose |
| 219 | +[@fabaff]: https://github.com/fabaff |
| 220 | +[@joncar]: https://github.com/joncar |
| 221 | +[@alanfischer]: https://github.com/alanfischer |
| 222 | +[@LinuxChristian]: https://github.com/LinuxChristian |
| 223 | +[@justin8]: https://github.com/justin8 |
| 224 | +[@jjmontesl]: https://github.com/jjmontesl |
| 225 | +[@tdickman]: https://github.com/tdickman |
| 226 | +[@Danielhiversen]: https://github.com/Danielhiversen |
| 227 | +[@pavoni]: https://github.com/pavoni |
| 228 | +[@Tommatheussen]: https://github.com/Tommatheussen |
| 229 | +[@pvizeli]: https://github.com/pvizeli |
| 230 | +[@keerts]: https://github.com/keerts |
| 231 | +[@arraylabs]: https://github.com/arraylabs |
| 232 | +[@soldag]: https://github.com/soldag |
| 233 | +[@walkerdb]: https://github.com/walkerdb |
| 234 | +[@kellerza]: https://github.com/kellerza |
| 235 | +[@MartinHjelmare]: https://github.com/MartinHjelmare |
| 236 | +[@bazwilliams]: https://github.com/bazwilliams |
| 237 | +[@appzer]: https://github.com/appzer |
| 238 | +[@tchellomello]: https://github.com/tchellomello |
| 239 | +[@aronsky]: https://github.com/aronsky |
| 240 | +[@swbradshaw]: https://github.com/swbradshaw |
| 241 | +[@colinodell]: https://github.com/colinodell |
| 242 | +[@nodinosaur]: https://github.com/nodinosaur |
| 243 | +[@happyleavesaoc]: https://github.com/happyleavesaoc |
| 244 | +[@bokub]: https://github.com/bokub |
| 245 | +[@markoudev]: https://github.com/markoudev |
| 246 | +[@titilambert]: https://github.com/titilambert |
| 247 | +[@aequitas]: https://github.com/aequitas |
| 248 | +[@mnoorenberghe]: https://github.com/mnoorenberghe |
| 249 | +[@Cadair]: https://github.com/Cadair |
| 250 | +[@postlund]: https://github.com/postlund |
| 251 | +[@konikvranik]: https://github.com/konikvranik |
| 252 | +[@scipioni]: https://github.com/scipioni |
| 253 | +[@andrey-git]: https://github.com/andrey-git |
| 254 | +[@persandstrom]: https://github.com/persandstrom |
| 255 | +[@lwis]: https://github.com/lwis |
| 256 | +[@balloob]: https://github.com/balloob |
| 257 | +[@bachp]: https://github.com/bachp |
| 258 | +[@robbiet480]: https://github.com/robbiet480 |
| 259 | +[@lindsaymarkward]: https://github.com/lindsaymarkward |
| 260 | +[@valentinalexeev]: https://github.com/valentinalexeev |
| 261 | +[@armills]: https://github.com/armills |
| 262 | +[@molobrakos]: https://github.com/molobrakos |
| 263 | +[@normakm]: https://github.com/normakm |
| 264 | +[@rytilahti]: https://github.com/rytilahti |
| 265 | +[@pschmitt]: https://github.com/pschmitt |
| 266 | +[@kitcorey]: https://github.com/kitcorey |
| 267 | +[@andersonshatch]: https://github.com/andersonshatch |
| 268 | + |
| 269 | +[telegram]: https://home-assistant.io/componet/telegram_webhook/ |
| 270 | +[pushsafer]: https://home-assistant.io/components/notify.pushsafer/ |
| 271 | +[openhome]: https://home-assistant.io/components/media_player.openhome/ |
| 272 | +[ups]: https://home-assistant.io/components/sensor.ups/ |
| 273 | +[fedex]: https://home-assistant.io/components/sensor.fedex/ |
| 274 | +[fido]: https://home-assistant.io/components/sensor.fido/ |
| 275 | +[gstreamer]: https://home-assistant.io/components/media_player.gstreamer/ |
| 276 | +[clementine]: https://home-assistant.io/components/media_player.clementine/ |
| 277 | +[ebox]: https://home-assistant.io/components/sensor.ebox/ |
| 278 | +[aurora]: https://home-assistant.io/components/binary_sensor.aurora/ |
| 279 | +[netmonitor]: https://home-assistant.io/components/sensor.fritzbox_netmonitor/ |
| 280 | +[itach]: https://home-assistant.io/components/remote.itach/ |
| 281 | +[sunflowers]: https://home-assistant.io/components/light.yeelight-sunflower |
| 282 | +[kodi]: https://home-assistant.io/components/media_player.kodi/ |
| 283 | +[myq]: https://home-assistant.io/components/cover.myq/ |
| 284 | +[oemt]: https://home-assistant.io/components/climate.oem/ |
| 285 | +[volvo]: https://home-assistant.io/components/volvooncall/ |
| 286 | +[pocket]: https://home-assistant.io/components/sensor.pocketcasts/ |
| 287 | +[config]: https://home-assistant.io/components/config/ |
| 288 | + |
| 289 | + |
| 290 | +[docs]: https://home-assistant.io/docs/ |
| 291 | +[getting-started]: https://home-assistant.io/getting-started/ |
| 292 | +[docs-issue]: https://github.com/home-assistant/home-assistant.github.io/issues/1603 |
| 293 | + |
| 294 | +[forum]: https://community.home-assistant.io/ |
| 295 | +[gitter]: https://gitter.im/home-assistant/home-assistant |
| 296 | +[issue]: https://github.com/home-assistant/home-assistant/issues |
| 297 | +[t-shirt]: https://home-assistant.io/blog/2017/02/22/home-assistant-tshirts-have-arrived/ |
0 commit comments