# Abfall
***
Papier: **in {{ states.sensor.abfallpapier.state}} Tagen** am {{ states.sensor.abfallpapier.attributes|first
|as_timestamp|timestamp_custom("%d.%m.%Y")}}
Restmüll: **in {{ states.sensor.abfallrestmuell.state}} Tagen** am {{ states.sensor.abfallrestmuell.attributes|first
|as_timestamp|timestamp_custom("%d.%m.%Y")}}
Biomüll: **in {{ states.sensor.abfallbiomuell.state}} Tagen** am {{ states.sensor.abfallbiomuell.attributes|first
|as_timestamp|timestamp_custom("%d.%m.%Y")}}
Problemmüll: **in {{ states.sensor.abfallproblemmuell.state}} Tagen** am {{ states.sensor.abfallproblemmuell.attributes|first
|as_timestamp|timestamp_custom("%d.%m.%Y")}}
I want to add two additional things:
I want to change the color of the whole line to red if the “states.sensor.abfallproblemmuell.state” has the value <2 (like on the screenshot with “Restmüll”)
at the same time replace the words “In 1 Tagen” with “morgen” (I tried |replace (“In 1 Tagen”; “morgen”) but because of the existing sensor values in this text thats too difficult for me)
Can someone with a deeper understanding of Markdown Cards please help me out with this one?