Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
空白の変更を非表示
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
テキストスタイル
外観を変更
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
Untitled Diff
作成日
5 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
17 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
70 行
すべてコピー
87 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
128 行
すべてコピー
コピー
コピー済み
コピー
コピー済み
tasmota_info
:
decl_test_david_4
:
card:
card:
type: 'custom:config-template-card'
type: 'custom:config-template-card'
variables:
variables:
コピー
コピー済み
コピー
コピー済み
varDEVICE: 'parseFloat(states[''sensor.[[
device
]]_rssi''].state)'
varDEVICE: 'parseFloat(states[''sensor.[[
DEVICE
]]_rssi''].state)'
entities:
entities:
コピー
コピー済み
コピー
コピー済み
- 'sensor.[[
device
]]_rssi'
- 'sensor.[[
DEVICE
]]_rssi'
- 'sensor.[[
device
]]_signal'
- 'sensor.[[
DEVICE
]]_signal'
- 'sensor.[[
device
]]_mqtt_connect_count'
- 'sensor.[[
DEVICE
]]_mqtt_connect_count'
- 'sensor.[[
device
]]_wifi_connect_count'
- 'sensor.[[
DEVICE
]]_wifi_connect_count'
card:
card:
type: 'custom:mod-card'
type: 'custom:mod-card'
style:
style:
multiple-entity-row:
multiple-entity-row:
$:
$:
hui-generic-entity-row: |
hui-generic-entity-row: |
.entities-row div.entity:nth-child(1) div::before {
.entities-row div.entity:nth-child(1) div::before {
コピー
コピー済み
コピー
コピー済み
{% if states('sensor.[[
device
]]_rssi')|int >= 100 %}
{% if states('sensor.[[
DEVICE
]]_rssi')|int >= 100 %}
color: green;
color: green;
content: "Excellent\A";
content: "Excellent\A";
コピー
コピー済み
コピー
コピー済み
{% elif states('sensor.[[
device
]]_rssi')|int >= 80 %}
{% elif states('sensor.[[
DEVICE
]]_rssi')|int >= 80 %}
color: orange;
color: orange;
content: "Good\A";
content: "Good\A";
コピー
コピー済み
コピー
コピー済み
{% elif states('sensor.[[
device
]]_rssi')|int >= 60 %}
{% elif states('sensor.[[
DEVICE
]]_rssi')|int >= 60 %}
color: red;
color: red;
content: "Fair\A";
content: "Fair\A";
コピー
コピー済み
コピー
コピー済み
{% elif states('sensor.[[DEVICE]]_rssi') in ['unavailable','unknown'] %}
color: brown;
content: "N/A\A";
{% else %}
{% else %}
color: magenta;
color: magenta;
content: "Weak\A";
content: "Weak\A";
{% endif %}
{% endif %}
line-height: var(--mdc-typography-body1-line-height, 1.5rem);
line-height: var(--mdc-typography-body1-line-height, 1.5rem);
text-align: center;
text-align: center;
white-space: pre;
white-space: pre;
}
}
.entities-row div.entity:nth-child(1) div {
.entities-row div.entity:nth-child(1) div {
color: transparent;
color: transparent;
line-height: 0px;
line-height: 0px;
}
}
コピー
コピー済み
コピー
コピー済み
.entities-row div.entity:nth-child(2) div::before {
{% if states('sensor.[[DEVICE]]_mqtt_connect_count') in ['unavailable','unknown'] %}
color: brown;
content: "N/A\A";
line-height: var(--mdc-typography-body1-line-height, 1.5rem);
{% endif %}
}
.entities-row div.entity:nth-child(2) div {
{% if states('sensor.[[DEVICE]]_mqtt_connect_count') in ['unavailable','unknown'] %}
color: transparent;
line-height: 0px;
{% endif %}
}
.entities-row div.entity:nth-child(3) div::before {
{% if states('sensor.[[DEVICE]]_wifi_connect_count') in ['unavailable','unknown'] %}
color: brown;
content: "N/A\A";
line-height: var(--mdc-typography-body1-line-height, 1.5rem);
{% endif %}
}
.entities-row div.entity:nth-child(3) div {
{% if states('sensor.[[DEVICE]]_wifi_connect_count') in ['unavailable','unknown'] %}
color: transparent;
line-height: 0px;
{% endif %}
}
.entities-row div.entity:nth-child(4) div::before {
{% if states('sensor.[[DEVICE]]_signal') in ['unavailable','unknown'] %}
color: brown;
content: "N/A\A";
line-height: var(--mdc-typography-body1-line-height, 1.5rem);
{% endif %}
}
.entities-row div.entity:nth-child(4) div {
{% if states('sensor.[[DEVICE]]_signal') in ['unavailable','unknown'] %}
color: transparent;
line-height: 0px;
{% endif %}
}
.entities-row div.entity:nth-child(5) div::before {
{% if states('sensor.[[DEVICE]]_rssi') in ['unavailable','unknown'] %}
color: brown;
content: "N/A\A";
line-height: var(--mdc-typography-body1-line-height, 1.5rem);
{% endif %}
}
.entities-row div.entity:nth-child(5) div {
{% if states('sensor.[[DEVICE]]_rssi') in ['unavailable','unknown'] %}
color: transparent;
line-height: 0px;
{% endif %}
}
.entities-row {
justify-content: flex-start;
align-items: unset;
}
card:
card:
type: 'custom:multiple-entity-row'
type: 'custom:multiple-entity-row'
コピー
コピー済み
コピー
コピー済み
entity:
sensor.[[
device
]]_rssi
entity:
'
sensor.[[
DEVICE
]]_rssi
'
show_state: false
show_state: false
コピー
コピー済み
コピー
コピー済み
name: '[[
device_name
]]'
name: '[[
DEVICE_NAME
]]'
icon: >-
icon: >-
${varDEVICE >= 100 ? "mdi:wifi-strength-4" : (varDEVICE >= 80 ?
${varDEVICE >= 100 ? "mdi:wifi-strength-4" : (varDEVICE >= 80 ?
"mdi:wifi-strength-3" : (varDEVICE >= 60 ? "mdi:wifi-strength-2" :
"mdi:wifi-strength-3" : (varDEVICE >= 60 ? "mdi:wifi-strength-2" :
"mdi:wifi-strength-1")) }
"mdi:wifi-strength-1")) }
コピー
コピー済み
コピー
コピー済み
secondary_info: last-changed
entities:
entities:
コピー
コピー済み
コピー
コピー済み
- entity:
sensor.[[
device
]]_rssi
- entity:
'
sensor.[[
DEVICE
]]_rssi
'
name: Quality
name: Quality
styles:
styles:
width: 55px
width: 55px
コピー
コピー済み
コピー
コピー済み
- entity:
sensor.[[
device
]]_mqtt_connect_count
- entity:
'
sensor.[[
DEVICE
]]_mqtt_connect_count
'
name: MQTT
name: MQTT
styles:
styles:
width: 23px
width: 23px
コピー
コピー済み
コピー
コピー済み
- entity:
sensor.[[
device
]]_wifi_connect_count
- entity:
'
sensor.[[
DEVICE
]]_wifi_connect_count
'
name: WiFi
name: WiFi
styles:
styles:
width: 23px
width: 23px
コピー
コピー済み
コピー
コピー済み
- entity:
sensor.[[
device
]]_signal
- entity:
'
sensor.[[
DEVICE
]]_signal
'
name: Signal
name: Signal
styles:
styles:
width: 48px
width: 48px
コピー
コピー済み
コピー
コピー済み
- entity:
sensor.[[
device
]]_rssi
- entity:
'
sensor.[[
DEVICE
]]_rssi
'
name: RSSI
name: RSSI
styles:
styles:
width: 38px
width: 38px
保存された差分
原文
ファイルを開く
tasmota_info: card: type: 'custom:config-template-card' variables: varDEVICE: 'parseFloat(states[''sensor.[[device]]_rssi''].state)' entities: - 'sensor.[[device]]_rssi' - 'sensor.[[device]]_signal' - 'sensor.[[device]]_mqtt_connect_count' - 'sensor.[[device]]_wifi_connect_count' card: type: 'custom:mod-card' style: multiple-entity-row: $: hui-generic-entity-row: | .entities-row div.entity:nth-child(1) div::before { {% if states('sensor.[[device]]_rssi')|int >= 100 %} color: green; content: "Excellent\A"; {% elif states('sensor.[[device]]_rssi')|int >= 80 %} color: orange; content: "Good\A"; {% elif states('sensor.[[device]]_rssi')|int >= 60 %} color: red; content: "Fair\A"; {% else %} color: magenta; content: "Weak\A"; {% endif %} line-height: var(--mdc-typography-body1-line-height, 1.5rem); text-align: center; white-space: pre; } .entities-row div.entity:nth-child(1) div { color: transparent; line-height: 0px; } card: type: 'custom:multiple-entity-row' entity: sensor.[[device]]_rssi show_state: false name: '[[device_name]]' icon: >- ${varDEVICE >= 100 ? "mdi:wifi-strength-4" : (varDEVICE >= 80 ? "mdi:wifi-strength-3" : (varDEVICE >= 60 ? "mdi:wifi-strength-2" : "mdi:wifi-strength-1")) } secondary_info: last-changed entities: - entity: sensor.[[device]]_rssi name: Quality styles: width: 55px - entity: sensor.[[device]]_mqtt_connect_count name: MQTT styles: width: 23px - entity: sensor.[[device]]_wifi_connect_count name: WiFi styles: width: 23px - entity: sensor.[[device]]_signal name: Signal styles: width: 48px - entity: sensor.[[device]]_rssi name: RSSI styles: width: 38px
変更されたテキスト
ファイルを開く
decl_test_david_4: card: type: 'custom:config-template-card' variables: varDEVICE: 'parseFloat(states[''sensor.[[DEVICE]]_rssi''].state)' entities: - 'sensor.[[DEVICE]]_rssi' - 'sensor.[[DEVICE]]_signal' - 'sensor.[[DEVICE]]_mqtt_connect_count' - 'sensor.[[DEVICE]]_wifi_connect_count' card: type: 'custom:mod-card' style: multiple-entity-row: $: hui-generic-entity-row: | .entities-row div.entity:nth-child(1) div::before { {% if states('sensor.[[DEVICE]]_rssi')|int >= 100 %} color: green; content: "Excellent\A"; {% elif states('sensor.[[DEVICE]]_rssi')|int >= 80 %} color: orange; content: "Good\A"; {% elif states('sensor.[[DEVICE]]_rssi')|int >= 60 %} color: red; content: "Fair\A"; {% elif states('sensor.[[DEVICE]]_rssi') in ['unavailable','unknown'] %} color: brown; content: "N/A\A"; {% else %} color: magenta; content: "Weak\A"; {% endif %} line-height: var(--mdc-typography-body1-line-height, 1.5rem); text-align: center; white-space: pre; } .entities-row div.entity:nth-child(1) div { color: transparent; line-height: 0px; } .entities-row div.entity:nth-child(2) div::before { {% if states('sensor.[[DEVICE]]_mqtt_connect_count') in ['unavailable','unknown'] %} color: brown; content: "N/A\A"; line-height: var(--mdc-typography-body1-line-height, 1.5rem); {% endif %} } .entities-row div.entity:nth-child(2) div { {% if states('sensor.[[DEVICE]]_mqtt_connect_count') in ['unavailable','unknown'] %} color: transparent; line-height: 0px; {% endif %} } .entities-row div.entity:nth-child(3) div::before { {% if states('sensor.[[DEVICE]]_wifi_connect_count') in ['unavailable','unknown'] %} color: brown; content: "N/A\A"; line-height: var(--mdc-typography-body1-line-height, 1.5rem); {% endif %} } .entities-row div.entity:nth-child(3) div { {% if states('sensor.[[DEVICE]]_wifi_connect_count') in ['unavailable','unknown'] %} color: transparent; line-height: 0px; {% endif %} } .entities-row div.entity:nth-child(4) div::before { {% if states('sensor.[[DEVICE]]_signal') in ['unavailable','unknown'] %} color: brown; content: "N/A\A"; line-height: var(--mdc-typography-body1-line-height, 1.5rem); {% endif %} } .entities-row div.entity:nth-child(4) div { {% if states('sensor.[[DEVICE]]_signal') in ['unavailable','unknown'] %} color: transparent; line-height: 0px; {% endif %} } .entities-row div.entity:nth-child(5) div::before { {% if states('sensor.[[DEVICE]]_rssi') in ['unavailable','unknown'] %} color: brown; content: "N/A\A"; line-height: var(--mdc-typography-body1-line-height, 1.5rem); {% endif %} } .entities-row div.entity:nth-child(5) div { {% if states('sensor.[[DEVICE]]_rssi') in ['unavailable','unknown'] %} color: transparent; line-height: 0px; {% endif %} } .entities-row { justify-content: flex-start; align-items: unset; } card: type: 'custom:multiple-entity-row' entity: 'sensor.[[DEVICE]]_rssi' show_state: false name: '[[DEVICE_NAME]]' icon: >- ${varDEVICE >= 100 ? "mdi:wifi-strength-4" : (varDEVICE >= 80 ? "mdi:wifi-strength-3" : (varDEVICE >= 60 ? "mdi:wifi-strength-2" : "mdi:wifi-strength-1")) } entities: - entity: 'sensor.[[DEVICE]]_rssi' name: Quality styles: width: 55px - entity: 'sensor.[[DEVICE]]_mqtt_connect_count' name: MQTT styles: width: 23px - entity: 'sensor.[[DEVICE]]_wifi_connect_count' name: WiFi styles: width: 23px - entity: 'sensor.[[DEVICE]]_signal' name: Signal styles: width: 48px - entity: 'sensor.[[DEVICE]]_rssi' name: RSSI styles: width: 38px
違いを見つける