diff --git a/EXAMPLES.md b/EXAMPLES.md index 6535552..da63e7e 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -532,8 +532,8 @@ Alternatively, you can use the ternary notation, which makes for neat and short - templates templates: icon: > - return (state === 'on') ? 'mdi:test-tube' : 'mdi:test-tube-off'; + return state === 'on' ? 'mdi:test-tube' : 'mdi:test-tube-off'; <<: &state_color icon_color: > - return (state === 'on') ? 'var(--primary-color)' : 'grey'; + return state === 'on' ? 'var(--primary-color)' : 'grey'; ```