Upgrade to 0.112 - Also add trigger condition for YouTube Posting.
This commit is contained in:
parent
da330c6be4
commit
fa19a82718
|
@ -1 +1 @@
|
||||||
0.111.4
|
0.112.0
|
|
@ -22,6 +22,10 @@ automation:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: sensor.vcloudinfo
|
entity_id: sensor.vcloudinfo
|
||||||
|
|
||||||
|
condition:
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ trigger.from_state.state != trigger.to_state.state }}"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.tweet_engine_no_image
|
- service: script.tweet_engine_no_image
|
||||||
data_template:
|
data_template:
|
||||||
|
|
|
@ -35,6 +35,8 @@ class SearchCard extends ct.LitElement {
|
||||||
|
|
||||||
this.active_actions = [];
|
this.active_actions = [];
|
||||||
this.max_results = this.config.max_results || 10;
|
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 || []);
|
this.actions = BUILTIN_ACTIONS.concat(this.config.actions || []);
|
||||||
}
|
}
|
||||||
|
@ -52,15 +54,15 @@ class SearchCard extends ct.LitElement {
|
||||||
<div id="searchContainer">
|
<div id="searchContainer">
|
||||||
<paper-input id="searchText"
|
<paper-input id="searchText"
|
||||||
@value-changed="${this._valueChanged}"
|
@value-changed="${this._valueChanged}"
|
||||||
no-label-float
|
no-label-float type="text" autocomplete="off"
|
||||||
label="Type to search...">
|
label="${this.search_text}">
|
||||||
<ha-icon icon="mdi:magnify" id="searchIcon"
|
<ha-icon icon="mdi:magnify" id="searchIcon"
|
||||||
slot="prefix"></ha-icon>
|
slot="prefix"></ha-icon>
|
||||||
<paper-icon-button slot="suffix"
|
<ha-icon-button slot="suffix"
|
||||||
@click="${this._clearInput}"
|
@click="${this._clearInput}"
|
||||||
icon="mdi:close"
|
icon="mdi:close"
|
||||||
alt="Clear"
|
alt="Clear"
|
||||||
title="Clear"></paper-icon-button>
|
title="Clear"></ha-icon-button>
|
||||||
</paper-input>
|
</paper-input>
|
||||||
${results.length > 0 ?
|
${results.length > 0 ?
|
||||||
ct.LitHtml `<div id="count">Showing ${results.length} of ${this.results.length} results</div>`
|
ct.LitHtml `<div id="count">Showing ${results.length} of ${this.results.length} results</div>`
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue