Upgrade to 0.112 - Also add trigger condition for YouTube Posting.

This commit is contained in:
ccostan 2020-07-01 16:55:38 -04:00
parent da330c6be4
commit fa19a82718
4 changed files with 11 additions and 5 deletions

View File

@ -1 +1 @@
0.111.4
0.112.0

View File

@ -22,6 +22,10 @@ automation:
- platform: state
entity_id: sensor.vcloudinfo
condition:
- condition: template
value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
action:
- service: script.tweet_engine_no_image
data_template:

View File

@ -35,6 +35,8 @@ class SearchCard extends ct.LitElement {
this.active_actions = [];
this.max_results = this.config.max_results || 10;
this.search_text = this.config.search_text || "Type to search...";
this.actions = BUILTIN_ACTIONS.concat(this.config.actions || []);
}
@ -52,15 +54,15 @@ class SearchCard extends ct.LitElement {
<div id="searchContainer">
<paper-input id="searchText"
@value-changed="${this._valueChanged}"
no-label-float
label="Type to search...">
no-label-float type="text" autocomplete="off"
label="${this.search_text}">
<ha-icon icon="mdi:magnify" id="searchIcon"
slot="prefix"></ha-icon>
<paper-icon-button slot="suffix"
<ha-icon-button slot="suffix"
@click="${this._clearInput}"
icon="mdi:close"
alt="Clear"
title="Clear"></paper-icon-button>
title="Clear"></ha-icon-button>
</paper-input>
${results.length > 0 ?
ct.LitHtml `<div id="count">Showing ${results.length} of ${this.results.length} results</div>`